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 23

Question 220

Before changing a Linux system, an engineer observes: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect udev properties and symlinks generated for the device rather than relying on the current minor number.
  2. Check whether the device is presented to the guest and inspect lspci output and the corresponding /sys/bus/pci entries.
  3. Inspect lsmod, modinfo for the module, and recent kernel messages for device probing failures.
  4. Inspect the device link under /sys/class/net and read its associated hardware and driver details.

Explanation

Correct Answer

B:

Check whether the device is presented to the guest and inspect lspci output and the corresponding /sys/bus/pci entries. This isolates the relevant condition before applying a change. The appropriate corrective response is: Expose the intended PCI device and load its supported kernel driver after verifying guest compatibility.

Incorrect Answers

A:

Inspect udev properties and symlinks generated for the device rather than relying on the current minor number. 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: Check whether the device is presented to the guest and inspect lspci output and the corresponding /sys/bus/pci entries.

C:

Inspect lsmod, modinfo for the module, and recent kernel messages for device probing failures. That would matter when a device driver is present on disk but its kernel module has not been loaded for a supported peripheral. 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:

Inspect the device link under /sys/class/net and read its associated hardware and driver details. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 221

Before changing a Linux system, an engineer observes: A user can list the name of a protected directory but receives permission denied when entering it. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect directory write permissions and the current sticky-bit state.
  2. Inspect uid, gid, parent directory access, and expected service identity.
  3. Inspect the parent-directory permissions, especially execute or search permission on each path component.
  4. Check the group's membership and the directory's setgid bit and write permissions.

Explanation

Correct Answer

C:

Inspect the parent-directory permissions, especially execute or search permission on each path component. This isolates the relevant condition before applying a change. The appropriate corrective response is: Grant the minimum required directory execute permission to the authorized principal or group.

Incorrect Answers

A:

Inspect directory write permissions and the current sticky-bit state. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. The relevant distinction in this case is: Inspect the parent-directory permissions, especially execute or search permission on each path component.

B:

Inspect uid, gid, parent directory access, and expected service identity. That would matter when a service process cannot read a data directory because files are owned by the wrong account. It does not address this case's requirement: A user can list the name of a protected directory but receives permission denied when entering it.

D:

Check the group's membership and the directory's setgid bit and write permissions. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 222

Before changing a Linux system, an engineer observes: A foreground command must continue executing while the operator performs other work in the same shell. Which check most directly isolates the relevant cause or prerequisite?

  1. Check whether the chosen ps options include processes across users and terminals.
  2. Check whether the command can be safely placed into job control and has no terminal-input dependency.
  3. Inspect whether the task depends on an interactive controlling terminal or input.
  4. Check running process names and PIDs using pgrep -a or a suitable ps filter.

Explanation

Correct Answer

B:

Check whether the command can be safely placed into job control and has no terminal-input dependency. This isolates the relevant condition before applying a change. The appropriate corrective response is: Suspend it with Ctrl-Z if necessary and resume as a background job using bg.

Incorrect Answers

A:

Check whether the chosen ps options include processes across users and terminals. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. The relevant distinction in this case is: Check whether the command can be safely placed into job control and has no terminal-input dependency.

C:

Inspect whether the task depends on an interactive controlling terminal or input. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. It does not address this case's requirement: A foreground command must continue executing while the operator performs other work in the same shell.

D:

Check running process names and PIDs using pgrep -a or a suitable ps filter. 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 223

A Linux operator claims the following problem is resolved: An interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. Which result best demonstrates an effective repair?

  1. The intended local program starts without globally adding a potentially unsafe directory to PATH.
  2. A deliberately failed first command prevents the dependent second action from executing.
  3. A test directory containing spaces is processed as one path and no unintended files are touched.
  4. type identifies the desired executable first and the command runs the approved version.

Explanation

Correct Answer

D:

type identifies the desired executable first and the command runs the approved version. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Correct PATH order for the intended session or invoke the approved binary by absolute path.

Incorrect Answers

A:

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. The relevant distinction in this case is: type identifies the desired executable first and the command runs the approved version.

B:

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: An interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH.

C:

A test directory containing spaces is processed as one path and no unintended files are touched. 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 224

A quick workaround is proposed for this Linux problem: A long-running batch task should be suspended and resumed in the foreground of the same shell. Which assumption creates the most relevant technical risk?

  1. fg cannot attach to an arbitrary process outside the invoking shell's job control.
  2. A background job attached to a terminal may still stop when it tries to read from that terminal.
  3. jobs reports jobs controlled by the current shell, not all processes on the system.
  4. Linux page cache may be reclaimed; low immediately free memory alone is not proof of exhaustion.

Explanation

Correct Answer

A:

fg cannot attach to an arbitrary process outside the invoking shell's job control. This is the scenario's misleading assumption. An engineer should investigate: Inspect the shell's jobs table and the task's current stopped or background state. Appropriate evidence afterward is: The chosen job resumes and receives terminal interaction in the current shell.

Incorrect Answers

B:

A background job attached to a terminal may still stop when it tries to read from that terminal. That would matter when a foreground command must continue executing while the operator performs other work in the same shell. The relevant distinction in this case is: fg cannot attach to an arbitrary process outside the invoking shell's job control.

C:

jobs reports jobs controlled by the current shell, not all processes on the system. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. It does not address this case's requirement: A long-running batch task should be suspended and resumed in the foreground of the same shell.

D:

Linux page cache may be reclaimed; low immediately free memory alone is not proof of exhaustion. That would matter when a memory alert reports a small free column and an operator assumes the Linux host has no reclaimable memory. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 225

Before changing a Linux system, an engineer observes: A terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible.
  2. Inspect whether the task depends on an interactive controlling terminal or input.
  3. Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow.
  4. Check whether the chosen ps options include processes across users and terminals.

Explanation

Correct Answer

C:

Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow. This isolates the relevant condition before applying a change. The appropriate corrective response is: Start the task inside a tmux or screen session and detach before disconnecting.

Incorrect Answers

A:

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. The relevant distinction in this case is: Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow.

B:

Inspect whether the task depends on an interactive controlling terminal or input. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. It does not address this case's requirement: A terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later.

D:

Check whether the chosen ps options include processes across users and terminals. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 226

A Linux administrator faces this situation: A device driver is present on disk but its kernel module has not been loaded for a supported peripheral. Which action best resolves the specific issue while preserving correct system behavior?

  1. Define a persistent match using supported udev properties and access the stable device symlink.
  2. Expose the intended PCI device and load its supported kernel driver after verifying guest compatibility.
  3. Load the appropriate dependency-aware module using modprobe and correct any reported mismatch.
  4. Use sysfs device metadata to identify the real hardware and configure the corresponding supported driver or rule.

Explanation

Correct Answer

C:

Load the appropriate dependency-aware module using modprobe and correct any reported mismatch. This corrects the case-specific failure. First verify: Inspect lsmod, modinfo for the module, and recent kernel messages for device probing failures. Then demonstrate success: lsmod lists the loaded driver and the peripheral exposes its expected functionality.

Incorrect Answers

A:

Define a persistent match using supported udev properties and access the stable device symlink. 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: Load the appropriate dependency-aware module using modprobe and correct any reported mismatch.

B:

Expose the intended PCI device and load its supported kernel driver after verifying guest compatibility. That would matter when a storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. It does not address this case's requirement: A device driver is present on disk but its kernel module has not been loaded for a supported peripheral.

D:

Use sysfs device metadata to identify the real hardware and configure the corresponding supported driver or rule. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 227

Before changing a Linux system, an engineer observes: A workstation must preserve user data when its system filesystem is reinstalled. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect existing physical volumes, volume groups, logical volumes, and filesystem support.
  2. Inspect user-data size, boot requirements, and whether /home can be mounted separately.
  3. Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point.
  4. Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning.

Explanation

Correct Answer

B:

Inspect user-data size, boot requirements, and whether /home can be mounted separately. This isolates the relevant condition before applying a change. The appropriate corrective response is: Create a dedicated /home filesystem and keep it separate from the operating-system root partition.

Incorrect Answers

A:

Inspect existing physical volumes, volume groups, logical volumes, and filesystem support. 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: Inspect user-data size, boot requirements, and whether /home can be mounted separately.

C:

Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point. 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 workstation must preserve user data when its system filesystem is reinstalled.

D:

Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning. 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 228

A quick workaround is proposed for this Linux problem: A configuration line must be copied and pasted below another location without retyping it. Which assumption creates the most relevant technical risk?

  1. The O command opens a line above, so confusing the keys changes placement.
  2. Using dd would remove the original line rather than copy it.
  3. Typing commands in normal mode can alter text or trigger operations unexpectedly.
  4. The x command deletes a character, not the entire current line.

Explanation

Correct Answer

B:

Using dd would remove the original line rather than copy it. This is the scenario's misleading assumption. An engineer should investigate: Identify the line to duplicate and the destination cursor position in normal mode. Appropriate evidence afterward is: A complete identical line appears at the intended location and the original remains.

Incorrect Answers

A:

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. The relevant distinction in this case is: Using dd would remove the original line rather than copy it.

C:

Typing commands in normal mode can alter text or trigger operations unexpectedly. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. It does not address this case's requirement: A configuration line must be copied and pasted below another location without retyping it.

D:

The x command deletes a character, not the entire current line. That would matter when a line of a text file should be deleted in vi without selecting individual characters. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 229

A Linux operator claims the following problem is resolved: A script needs to record both standard output and error output in a single file for one command. Which result best demonstrates an effective repair?

  1. The report contains normal output while diagnostic errors remain visible on stderr.
  2. A controlled test includes both normal and error lines in the tee output file.
  3. The terminal displays each line and the file contains the same captured output.
  4. The resulting file contains both normal lines and error messages from the command.

Explanation

Correct Answer

D:

The resulting file contains both normal lines and error messages from the command. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use command > combined.log 2>&1 with the intended shell redirection order.

Incorrect Answers

A:

The report contains normal output while diagnostic errors remain visible on stderr. That would matter when a command writes reports to standard output and warnings to standard error but only reports should enter a data file. The relevant distinction in this case is: The resulting file contains both normal lines and error messages from the command.

B:

A controlled test includes both normal and error lines in the tee output file. 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: A script needs to record both standard output and error output in a single file for one command.

C:

The terminal displays each line and the file contains the same captured output. That would matter when an operator needs to view command output on screen and retain the same stream in a file. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 230

Before changing a Linux system, an engineer observes: A file was recently installed but locate cannot find it even though find does. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect whether the files are mutable runtime data or read-only architecture-independent resources.
  2. Check whether the command is installed and distinguish runtime PATH from standard file locations.
  3. Check whether the locate database is present and when it was last refreshed.
  4. Check the intended data's role against Filesystem Hierarchy Standard directory purposes.

Explanation

Correct Answer

C:

Check whether the locate database is present and when it was last refreshed. This isolates the relevant condition before applying a change. The appropriate corrective response is: Refresh the locate index with updatedb under the supported policy, then query locate.

Incorrect Answers

A:

Inspect whether the files are mutable runtime data or read-only architecture-independent resources. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. The relevant distinction in this case is: Check whether the locate database is present and when it was last refreshed.

B:

Check whether the command is installed and distinguish runtime PATH from standard file locations. That would matter when an administrator needs to locate both a command's executable and its manual page in standard locations. It does not address this case's requirement: A file was recently installed but locate cannot find it even though find does.

D:

Check the intended data's role against Filesystem Hierarchy Standard directory purposes. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. That separate mechanism does not verify the needed Linux administration outcome in this case.