mcAfee Secure Website
23

LPI 101-500 Bundle

Exam Code: 101-500

Exam Name LPIC-1 Exam 101

Certification Provider: LPI

Corresponding Certification: LPIC-1

101-500 Training Materials $44.99

Reliable & Actual Study Materials for 101-500 Exam Success

The Latest 101-500 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    101-500 Questions & Answers

    120 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    101-500 Video Course

    101-500 Training Course

    126 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    101-500 Study Guide

    442 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

LPIC-1 Exam 101 (101-500) Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable LPI Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    120 Questions

    $124.99
    exam =35
  • exam =37
    101-500 Video Course

    Training Course

    126 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    442 PDF Pages

    $29.99

LPI 101-500 Practice Test 43

Question 420

A quick workaround is proposed for this Linux problem: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. Which assumption creates the most relevant technical risk?

  1. Free memory output alone does not identify which process is consuming CPU.
  2. jobs reports jobs controlled by the current shell, not all processes on the system.
  3. fg cannot attach to an arbitrary process outside the invoking shell's job control.
  4. A single ps command provides one snapshot rather than a recurring view.

Explanation

Correct Answer

B:

jobs reports jobs controlled by the current shell, not all processes on the system. This is the scenario's misleading assumption. An engineer should investigate: Check whether the chosen ps options include processes across users and terminals. Appropriate evidence afterward is: The output includes system daemons and other users' processes with their PIDs.

Incorrect Answers

A:

Free memory output alone does not identify which process is consuming CPU. That would matter when the support team needs a live ranking of CPU-intensive processes during a short performance incident. The relevant distinction in this case is: jobs reports jobs controlled by the current shell, not all processes on the system.

C:

fg cannot attach to an arbitrary process outside the invoking shell's job control. That would matter when a long-running batch task should be suspended and resumed in the foreground of the same shell. It does not address this case's requirement: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs.

D:

A single ps command provides one snapshot rather than a recurring view. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 421

A quick workaround is proposed for this Linux problem: A user opens a configuration in vi and cannot type text because keystrokes move the cursor. Which assumption creates the most relevant technical risk?

  1. Using dd would remove the original line rather than copy it.
  2. The O command opens a line above, so confusing the keys changes placement.
  3. Using the movement letters in insert mode writes characters instead of navigating.
  4. Typing commands in normal mode can alter text or trigger operations unexpectedly.

Explanation

Correct Answer

D:

Typing commands in normal mode can alter text or trigger operations unexpectedly. This is the scenario's misleading assumption. An engineer should investigate: Inspect the current vi mode and distinguish command-mode navigation from insertion. Appropriate evidence afterward is: Typed characters appear in the document and subsequent normal-mode keys navigate again.

Incorrect Answers

A:

Using dd would remove the original line rather than copy it. That would matter when a configuration line must be copied and pasted below another location without retyping it. The relevant distinction in this case is: Typing commands in normal mode can alter text or trigger operations unexpectedly.

B:

The O command opens a line above, so confusing the keys changes placement. That would matter when an editor wants to open a blank line below the current vi line and start entering text. It does not address this case's requirement: A user opens a configuration in vi and cannot type text because keystrokes move the cursor.

C:

Using the movement letters in insert mode writes characters instead of navigating. That would matter when a user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 422

A quick workaround is proposed for this Linux problem: A system file has changed and an operator wants to identify its owning installed Debian package. Which assumption creates the most relevant technical risk?

  1. apt-get update refreshes package metadata; it does not itself install newer packages.
  2. dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files.
  3. Assuming a package name alone proves its content can lead to installing the wrong tool.
  4. Searching repository descriptions is not equivalent to finding the installed package that owns a file.

Explanation

Correct Answer

D:

Searching repository descriptions is not equivalent to finding the installed package that owns a file. This is the scenario's misleading assumption. An engineer should investigate: Check the exact installed filesystem path and whether it is tracked by dpkg. Appropriate evidence afterward is: The package database returns the package owning the requested tracked path.

Incorrect Answers

A:

apt-get update refreshes package metadata; it does not itself install newer packages. That would matter when an administrator needs to install a Debian package by name but the local repository index is stale. The relevant distinction in this case is: Searching repository descriptions is not equivalent to finding the installed package that owns a file.

B:

dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. It does not address this case's requirement: A system file has changed and an operator wants to identify its owning installed Debian package.

C:

Assuming a package name alone proves its content can lead to installing the wrong tool. That would matter when a technician needs package description and dependencies before installing a Debian repository package. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 423

Before changing a Linux system, an engineer observes: A temporary build directory must be deleted recursively while the adjacent production tree remains untouched. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the target path and confirm no existing path component is unexpectedly a file.
  2. Inspect ownership and permissions of the source and identify whether archive-style preservation is required.
  3. Check the fully expanded absolute target path and the contents to be removed.
  4. Check the source parent directory and exclude secrets or temporary mounts as required.

Explanation

Correct Answer

C:

Check the fully expanded absolute target path and the contents to be removed. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use rm -r only against the verified temporary directory with appropriate safety checks.

Incorrect Answers

A:

Inspect the target path and confirm no existing path component is unexpectedly a file. That would matter when a directory must be created under several missing parent components in one command. The relevant distinction in this case is: Check the fully expanded absolute target path and the contents to be removed.

B:

Inspect ownership and permissions of the source and identify whether archive-style preservation is required. That would matter when an administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. It does not address this case's requirement: A temporary build directory must be deleted recursively while the adjacent production tree remains untouched.

D:

Check the source parent directory and exclude secrets or temporary mounts as required. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 424

Before changing a Linux system, an engineer observes: A command-line support task must remove one exported environment variable for a single Bash session. Which check most directly isolates the relevant cause or prerequisite?

  1. Check current shell variable definition and whether child processes receive it.
  2. Inspect echo "$PATH" and type -a for the command to see every candidate in search order.
  3. Inspect Bash history settings and run history in the active interactive session.
  4. Check whether the shell variable has been exported and inspect env in a child process.

Explanation

Correct Answer

A:

Check current shell variable definition and whether child processes receive it. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use unset VARIABLE in that shell before starting programs that should not inherit it.

Incorrect Answers

B:

Inspect echo "$PATH" and type -a for the command to see every candidate in search order. That would matter when an interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. The relevant distinction in this case is: Check current shell variable definition and whether child processes receive it.

C:

Inspect Bash history settings and run history in the active interactive session. That would matter when a support technician needs to review and reuse recent commands without transcribing them manually. It does not address this case's requirement: A command-line support task must remove one exported environment variable for a single Bash session.

D:

Check whether the shell variable has been exported and inspect env in a child process. That would matter when a child process cannot see a variable that works when echoed in its parent Bash shell. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 425

A Linux administrator faces this situation: An ordinary user attempts to give a compute job a negative nice value and receives a permission error. Which action best resolves the specific issue while preserving correct system behavior?

  1. Display the relevant process priority fields using ps -o pid,ni,comm.
  2. Use renice -n 10 -p PID with adequate privileges to adjust the running process.
  3. Use a permissible nice value or obtain authorized privilege for a negative niceness adjustment.
  4. Apply renice to reduce the running process's nice value when permission allows.

Explanation

Correct Answer

C:

Use a permissible nice value or obtain authorized privilege for a negative niceness adjustment. This corrects the case-specific failure. First verify: Inspect the current UID and applicable privilege limits for raising process priority. Then demonstrate success: The permitted priority change succeeds without bypassing policy constraints.

Incorrect Answers

A:

Display the relevant process priority fields using ps -o pid,ni,comm. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. The relevant distinction in this case is: Use a permissible nice value or obtain authorized privilege for a negative niceness adjustment.

B:

Use renice -n 10 -p PID with adequate privileges to adjust the running process. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. It does not address this case's requirement: An ordinary user attempts to give a compute job a negative nice value and receives a permission error.

D:

Apply renice to reduce the running process's nice value when permission allows. That would matter when a service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 426

A Linux operator claims the following problem is resolved: A log-heavy Linux server uses a single root filesystem and application logs can fill all available space. Which result best demonstrates an effective repair?

  1. A test reinstall changes the root filesystem while the intended user data remains available under /home.
  2. A controlled virtual disk expansion increases the desired filesystem without moving unrelated mount points.
  3. Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met.
  4. UEFI firmware can load the installed EFI bootloader and the system boots normally.

Explanation

Correct Answer

C:

Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Allocate /var to a separately sized filesystem or logical volume to contain log growth.

Incorrect Answers

A:

A test reinstall changes the root filesystem while the intended user data remains available under /home. That would matter when a workstation must preserve user data when its system filesystem is reinstalled. The relevant distinction in this case is: Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met.

B:

A controlled virtual disk expansion increases the desired filesystem without moving unrelated mount points. That would matter when an organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. It does not address this case's requirement: A log-heavy Linux server uses a single root filesystem and application logs can fill all available space.

D:

UEFI firmware can load the installed EFI bootloader and the system boots normally. That would matter when an x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 427

A Linux administrator faces this situation: A data filesystem uses XFS and an operator proposes e2fsck because the mount failed. Which action best resolves the specific issue while preserving correct system behavior?

  1. Unmount the filesystem and use e2fsck or fsck with appropriate approved options.
  2. Use tune2fs -l on the ext filesystem to display its current metadata and settings.
  3. Use df for filesystem totals and du for directory consumption to locate the actual source of growth.
  4. Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks.

Explanation

Correct Answer

D:

Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks. This corrects the case-specific failure. First verify: Identify filesystem type with blkid and confirm the XFS partition is unmounted for offline repair. Then demonstrate success: The XFS check completes and the volume remounts with expected files accessible.

Incorrect Answers

A:

Unmount the filesystem and use e2fsck or fsck with appropriate approved options. That would matter when a damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting. The relevant distinction in this case is: Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks.

B:

Use tune2fs -l on the ext filesystem to display its current metadata and settings. That would matter when an engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. It does not address this case's requirement: A data filesystem uses XFS and an operator proposes e2fsck because the mount failed.

C:

Use df for filesystem totals and du for directory consumption to locate the actual source of growth. That would matter when a filesystem reports full capacity but a team needs to distinguish total filesystem use from one directory's size. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 428

A Linux operator claims the following problem is resolved: A database host must boot into recovery mode to repair a local configuration before normal services start. Which result best demonstrates an effective repair?

  1. The system enters the requested runlevel and the associated init scripts start or stop as expected.
  2. The host cleanly stops services, reboots, and runs the intended updated kernel.
  3. The machine presents a maintenance environment and returns to normal boot after the repair.
  4. After reboot, the default target is multi-user.target and the server reaches its text-mode services.

Explanation

Correct Answer

C:

The machine presents a maintenance environment and returns to normal boot after the repair. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Boot with the supported rescue option or isolate rescue.target through authorized local access.

Incorrect Answers

A:

The system enters the requested runlevel and the associated init scripts start or stop as expected. That would matter when a legacy SysVinit machine must transition from multi-user operation to a defined runlevel. The relevant distinction in this case is: The machine presents a maintenance environment and returns to normal boot after the repair.

B:

The host cleanly stops services, reboots, and runs the intended updated kernel. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. It does not address this case's requirement: A database host must boot into recovery mode to repair a local configuration before normal services start.

D:

After reboot, the default target is multi-user.target and the server reaches its text-mode services. That would matter when a headless server boots into a graphical target despite the organization's text-console requirement. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 429

A Linux administrator faces this situation: An interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. Which action best resolves the specific issue while preserving correct system behavior?

  1. Run the executable as ./program after verifying its permissions and origin.
  2. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  3. Use && when the second command must run only after a successful first command.
  4. Quote the path expansion as "$directory" when passing it to commands.

Explanation

Correct Answer

B:

Correct PATH order for the intended session or invoke the approved binary by absolute path. This corrects the case-specific failure. First verify: Inspect echo "$PATH" and type -a for the command to see every candidate in search order. Then demonstrate success: type identifies the desired executable first and the command runs the approved version.

Incorrect Answers

A:

Run the executable as ./program after verifying its permissions and origin. That would matter when a technician invokes a local executable by name but Bash reports command not found although the file is in the current directory. The relevant distinction in this case is: Correct PATH order for the intended session or invoke the approved binary by absolute path.

C:

Use && when the second command must run only after a successful first command. That would matter when an administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. It does not address this case's requirement: An interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH.

D:

Quote the path expansion as "$directory" when passing it to commands. That would matter when a maintenance script should treat a directory name containing spaces as one command argument. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 430

Before changing a Linux system, an engineer observes: File names containing spaces must be passed from find to a command that accepts file arguments. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect whether names may contain whitespace or newlines before choosing a delimiter.
  2. Inspect whether the program accepts data from stdin rather than requiring a file pathname.
  3. Inspect whether upstream errors are on stderr and whether tee receives only stdout.
  4. Inspect the stream containing errors and the existing contents of the target audit log.

Explanation

Correct Answer

A:

Inspect whether names may contain whitespace or newlines before choosing a delimiter. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use find ... -print0 with xargs -0 or the safe find -exec form.

Incorrect Answers

B:

Inspect whether the program accepts data from stdin rather than requiring a file pathname. That would matter when a program reads input from standard input but the data already exists in a local file. The relevant distinction in this case is: Inspect whether names may contain whitespace or newlines before choosing a delimiter.

C:

Inspect whether upstream errors are on stderr and whether tee receives only stdout. That would matter when a script uses a pipeline into tee but needs the file to collect both output and diagnostics. It does not address this case's requirement: File names containing spaces must be passed from find to a command that accepts file arguments.

D:

Inspect the stream containing errors and the existing contents of the target audit log. That would matter when a noisy command must append diagnostic errors to an existing audit file without replacing its contents. That separate mechanism does not verify the needed Linux administration outcome in this case.