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 14

Question 130

Before changing a Linux system, an engineer observes: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the service owner's privilege and confirm the desired new nice value is lower than 15.
  2. Check the PID, owner, and current NI value of the existing process.
  3. Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority.
  4. Inspect the default nice value and confirm the process is appropriate for a reduced priority.

Explanation

Correct Answer

A:

Check the service owner's privilege and confirm the desired new nice value is lower than 15. This isolates the relevant condition before applying a change. The appropriate corrective response is: Apply renice to reduce the running process's nice value when permission allows.

Incorrect Answers

B:

Check the PID, owner, and current NI value of the existing process. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. The relevant distinction in this case is: Check the service owner's privilege and confirm the desired new nice value is lower than 15.

C:

Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. It does not address this case's requirement: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range.

D:

Inspect the default nice value and confirm the process is appropriate for a reduced priority. That would matter when a CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 131

A Linux operator claims the following problem is resolved: A maintenance script should treat a directory name containing spaces as one command argument. Which result best demonstrates an effective repair?

  1. type identifies the desired executable first and the command runs the approved version.
  2. The recorded release matches the kernel active on that host at investigation time.
  3. A test directory containing spaces is processed as one path and no unintended files are touched.
  4. The intended local program starts without globally adding a potentially unsafe directory to PATH.

Explanation

Correct Answer

C:

A test directory containing spaces is processed as one path and no unintended files are touched. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Quote the path expansion as "$directory" when passing it to commands.

Incorrect Answers

A:

type identifies the desired executable first and the command runs the approved version. 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: A test directory containing spaces is processed as one path and no unintended files are touched.

B:

The recorded release matches the kernel active on that host at investigation time. That would matter when a troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. It does not address this case's requirement: A maintenance script should treat a directory name containing spaces as one command argument.

D:

The intended local program starts without globally adding a potentially unsafe directory to PATH. 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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 132

A Linux administrator faces this situation: A support technician needs to review and reuse recent commands without transcribing them manually. Which action best resolves the specific issue while preserving correct system behavior?

  1. Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.
  2. Quote the path expansion as "$directory" when passing it to commands.
  3. Run the executable as ./program after verifying its permissions and origin.
  4. Inspect the appropriate man page or invoke the intended external program explicitly.

Explanation

Correct Answer

A:

Recall or search an appropriate prior command using Bash history expansion or interactive reverse search. This corrects the case-specific failure. First verify: Inspect Bash history settings and run history in the active interactive session. Then demonstrate success: The selected command can be reviewed and re-executed without retyping its arguments.

Incorrect Answers

B:

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. The relevant distinction in this case is: Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.

C:

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. It does not address this case's requirement: A support technician needs to review and reuse recent commands without transcribing them manually.

D:

Inspect the appropriate man page or invoke the intended external program explicitly. That would matter when a shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 133

A Linux administrator faces this situation: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use top and inspect per-process CPU usage, state, and identifiers.
  2. Use ps -ef or an equivalent process listing with owner and PID fields.
  3. Use fg with the appropriate job specification to resume it in the foreground.
  4. Identify the exact target PID and send a normal SIGTERM using kill before escalation.

Explanation

Correct Answer

B:

Use ps -ef or an equivalent process listing with owner and PID fields. This corrects the case-specific failure. First verify: Check whether the chosen ps options include processes across users and terminals. Then demonstrate success: The output includes system daemons and other users' processes with their PIDs.

Incorrect Answers

A:

Use top and inspect per-process CPU usage, state, and identifiers. 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: Use ps -ef or an equivalent process listing with owner and PID fields.

C:

Use fg with the appropriate job specification to resume it in the foreground. 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:

Identify the exact target PID and send a normal SIGTERM using kill before escalation. That would matter when a runaway process must be located by command name before sending any termination signal. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 134

A Linux operator claims the following problem is resolved: An operator needs to find files ending in .log beneath /var/log without searching other filesystems. Which result best demonstrates an effective repair?

  1. tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree.
  2. Image size and an independent comparison show the intended device bytes were captured.
  3. Results contain matching regular .log files under the intended filesystem only.
  4. Expected files appear under the approved restore directory with validated contents.

Explanation

Correct Answer

C:

Results contain matching regular .log files under the intended filesystem only. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use find /var/log -xdev -type f -name '*.log' to select regular log files in that filesystem.

Incorrect Answers

A:

tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. The relevant distinction in this case is: Results contain matching regular .log files under the intended filesystem only.

B:

Image size and an independent comparison show the intended device bytes were captured. That would matter when an operator must produce a byte-for-byte image of an offline removable device before analysis. It does not address this case's requirement: An operator needs to find files ending in .log beneath /var/log without searching other filesystems.

D:

Expected files appear under the approved restore directory with validated contents. That would matter when an archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 135

A Linux operator claims the following problem is resolved: A small host has inadequate RAM for occasional memory spikes but no configured swap area. Which result best demonstrates an effective repair?

  1. A controlled virtual disk expansion increases the desired filesystem without moving unrelated mount points.
  2. swapon --show reports active swap and controlled memory pressure does not fail solely because swap was absent.
  3. UEFI firmware can load the installed EFI bootloader and the system boots normally.
  4. Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met.

Explanation

Correct Answer

B:

swapon --show reports active swap and controlled memory pressure does not fail solely because swap was absent. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed.

Incorrect Answers

A:

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. The relevant distinction in this case is: swapon --show reports active swap and controlled memory pressure does not fail solely because swap was absent.

C:

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. It does not address this case's requirement: A small host has inadequate RAM for occasional memory spikes but no configured swap area.

D:

Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met. That would matter when a log-heavy Linux server uses a single root filesystem and application logs can fill all available space. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 136

A Linux operator claims the following problem is resolved: A shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. Which result best demonstrates an effective repair?

  1. type identifies the desired executable first and the command runs the approved version.
  2. type and the command's help output identify the requested implementation unambiguously.
  3. A deliberately failed first command prevents the dependent second action from executing.
  4. The selected command can be reviewed and re-executed without retyping its arguments.

Explanation

Correct Answer

B:

type and the command's help output identify the requested implementation unambiguously. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Inspect the appropriate man page or invoke the intended external program explicitly.

Incorrect Answers

A:

type identifies the desired executable first and the command runs the approved version. 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: type and the command's help output identify the requested implementation unambiguously.

C:

A deliberately failed first command prevents the dependent second action from executing. 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: A shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable.

D:

The selected command can be reviewed and re-executed without retyping its arguments. That would matter when a support technician needs to review and reuse recent commands without transcribing them manually. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 137

A quick workaround is proposed for this Linux problem: A local RPM package is a newer version and should replace its installed predecessor. Which assumption creates the most relevant technical risk?

  1. rpm -i may install alongside the old version or fail where an upgrade operation is intended.
  2. A file hash alone does not establish that a package was signed by the intended publisher.
  3. rpm -ql lists files from a named package; it is not the path-to-package ownership query.
  4. Direct rpm installation does not provide the same automatic repository dependency resolution.

Explanation

Correct Answer

A:

rpm -i may install alongside the old version or fail where an upgrade operation is intended. This is the scenario's misleading assumption. An engineer should investigate: Check target package name, architecture, installed version, and dependency constraints. Appropriate evidence afterward is: The new version is installed without duplicate superseded versions and the service passes a check.

Incorrect Answers

B:

A file hash alone does not establish that a package was signed by the intended publisher. That would matter when a package file is downloaded from a mirror and must be checked for authenticity before installation. The relevant distinction in this case is: rpm -i may install alongside the old version or fail where an upgrade operation is intended.

C:

rpm -ql lists files from a named package; it is not the path-to-package ownership query. That would matter when a Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. It does not address this case's requirement: A local RPM package is a newer version and should replace its installed predecessor.

D:

Direct rpm installation does not provide the same automatic repository dependency resolution. That would matter when a package must be installed from a configured RPM repository along with required dependencies. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 138

A quick workaround is proposed for this Linux problem: A maintenance script should append standard output to a cumulative log while retaining earlier runs. Which assumption creates the most relevant technical risk?

  1. Using > instead of >> silently truncates the previous log content.
  2. The > redirection truncates a file rather than appending when used without the append operator.
  3. Using 2> report.txt captures diagnostic messages instead of normal stdout.
  4. Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal.

Explanation

Correct Answer

A:

Using > instead of >> silently truncates the previous log content. This is the scenario's misleading assumption. An engineer should investigate: Inspect the target file's current contents and which descriptor needs to be saved. Appropriate evidence afterward is: Old entries remain and the new run's stdout appears after the previous content.

Incorrect Answers

B:

The > redirection truncates a file rather than appending when used without the append operator. That would matter when a noisy command must append diagnostic errors to an existing audit file without replacing its contents. The relevant distinction in this case is: Using > instead of >> silently truncates the previous log content.

C:

Using 2> report.txt captures diagnostic messages instead of normal stdout. That would matter when a command writes reports to standard output and warnings to standard error but only reports should enter a data file. It does not address this case's requirement: A maintenance script should append standard output to a cumulative log while retaining earlier runs.

D:

Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal. That would matter when a script needs to record both standard output and error output in a single file for one command. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 139

Before changing a Linux system, an engineer observes: A runaway process must be located by command name before sending any termination signal. Which check most directly isolates the relevant cause or prerequisite?

  1. Check process CPU consumption and current resource use with a continuously updating monitor.
  2. Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible.
  3. Check running process names and PIDs using pgrep -a or a suitable ps filter.
  4. Verify the diagnostic command is safe for periodic repetition and set an appropriate interval.

Explanation

Correct Answer

C:

Check running process names and PIDs using pgrep -a or a suitable ps filter. This isolates the relevant condition before applying a change. The appropriate corrective response is: Identify the exact target PID and send a normal SIGTERM using kill before escalation.

Incorrect Answers

A:

Check process CPU consumption and current resource use with a continuously updating monitor. 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: Check running process names and PIDs using pgrep -a or a suitable ps filter.

B:

Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. That would matter when a suspected process is unresponsive to a normal termination request but its temporary files must be considered. It does not address this case's requirement: A runaway process must be located by command name before sending any termination signal.

D:

Verify the diagnostic command is safe for periodic repetition and set an appropriate interval. 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 140

A Linux operator claims the following problem is resolved: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. Which result best demonstrates an effective repair?

  1. The same physical device resolves through the stable link across detach and reattach cycles.
  2. The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot.
  3. lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.
  4. lsmod lists the loaded driver and the peripheral exposes its expected functionality.

Explanation

Correct Answer

C:

lspci and the driver's sysfs binding identify the controller and the associated block device becomes available. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Expose the intended PCI device and load its supported kernel driver after verifying guest compatibility.

Incorrect Answers

A:

The same physical device resolves through the stable link across detach and reattach cycles. That would matter when a service depends on a removable USB device whose node name changes after every reboot. The relevant distinction in this case is: lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.

B:

The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. It does not address this case's requirement: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory.

D:

lsmod lists the loaded driver and the peripheral exposes its expected functionality. That would matter when a device driver is present on disk but its kernel module has not been loaded for a supported peripheral. That separate mechanism does not verify the needed Linux administration outcome in this case.