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 47

Question 460

A Linux administrator faces this situation: A user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences. Which action best resolves the specific issue while preserving correct system behavior?

  1. In normal mode use :wq to write the file and quit the editor.
  2. Use :q! in normal mode to quit and discard the current buffer changes.
  3. Press i to enter insert mode and Escape to return to normal mode after editing.
  4. Use h, j, k, and l to move left, down, up, and right respectively.

Explanation

Correct Answer

D:

Use h, j, k, and l to move left, down, up, and right respectively. This corrects the case-specific failure. First verify: Identify current vi normal mode and recall its portable movement keys. Then demonstrate success: The cursor moves in the requested directions without relying on terminal arrow keys.

Incorrect Answers

A:

In normal mode use :wq to write the file and quit the editor. That would matter when an administrator changed a vi buffer and needs to save the edits and exit cleanly. The relevant distinction in this case is: Use h, j, k, and l to move left, down, up, and right respectively.

B:

Use :q! in normal mode to quit and discard the current buffer changes. That would matter when a mistaken edit in vi must be abandoned without writing a damaged configuration. It does not address this case's requirement: A user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences.

C:

Press i to enter insert mode and Escape to return to normal mode after editing. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 461

A Linux operator claims the following problem is resolved: An administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. Which result best demonstrates an effective repair?

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

Explanation

Correct Answer

B:

A deliberately failed first command prevents the dependent second action from executing. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use && when the second command must run only after a successful first command.

Incorrect Answers

A:

type and the command's help output identify the requested implementation unambiguously. That would matter when a shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. The relevant distinction in this case is: A deliberately failed first command prevents the dependent second action from executing.

C:

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. It does not address this case's requirement: An administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds.

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 462

A Linux administrator faces this situation: A team needs to broadcast an urgent warning to users already logged into terminal sessions. Which action best resolves the specific issue while preserving correct system behavior?

  1. Send the approved notice with wall before performing the disruptive action.
  2. Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling.
  3. Boot with the supported rescue option or isolate rescue.target through authorized local access.
  4. Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved.

Explanation

Correct Answer

A:

Send the approved notice with wall before performing the disruptive action. This corrects the case-specific failure. First verify: Confirm active local sessions and decide what message should be distributed. Then demonstrate success: Active terminal sessions receive the broadcast and the subsequent maintenance follows the announced procedure.

Incorrect Answers

B:

Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. The relevant distinction in this case is: Send the approved notice with wall before performing the disruptive action.

C:

Boot with the supported rescue option or isolate rescue.target through authorized local access. That would matter when a database host must boot into recovery mode to repair a local configuration before normal services start. It does not address this case's requirement: A team needs to broadcast an urgent warning to users already logged into terminal sessions.

D:

Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 463

A Linux administrator faces this situation: An operator expects a literal dollar sign and asterisk inside a message but Bash expands them. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use appropriate single quoting for fully literal text or escape specific metacharacters.
  2. Run the executable as ./program after verifying its permissions and origin.
  3. Use unset VARIABLE in that shell before starting programs that should not inherit it.
  4. Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.

Explanation

Correct Answer

A:

Use appropriate single quoting for fully literal text or escape specific metacharacters. This corrects the case-specific failure. First verify: Inspect the use of single versus double quotes and the variables in the command line. Then demonstrate success: The output contains the intended literal characters without variable or glob expansion.

Incorrect Answers

B:

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: Use appropriate single quoting for fully literal text or escape specific metacharacters.

C:

Use unset VARIABLE in that shell before starting programs that should not inherit it. That would matter when a command-line support task must remove one exported environment variable for a single Bash session. It does not address this case's requirement: An operator expects a literal dollar sign and asterisk inside a message but Bash expands them.

D:

Recall or search an appropriate prior command using Bash history expansion or interactive reverse search. 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 464

A Linux administrator faces this situation: A new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. Which action best resolves the specific issue while preserving correct system behavior?

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

Explanation

Correct Answer

D:

Use sysfs device metadata to identify the real hardware and configure the corresponding supported driver or rule. This corrects the case-specific failure. First verify: Inspect the device link under /sys/class/net and read its associated hardware and driver details. Then demonstrate success: The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot.

Incorrect Answers

A:

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. The relevant distinction in this case is: Use sysfs device metadata to identify the real hardware and configure the corresponding supported driver or rule.

B:

Load the appropriate dependency-aware module using modprobe and correct any reported mismatch. 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 new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes.

C:

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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 465

A Linux administrator faces this situation: An x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. Which action best resolves the specific issue while preserving correct system behavior?

  1. Allocate /var to a separately sized filesystem or logical volume to contain log growth.
  2. Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed.
  3. Create a dedicated /home filesystem and keep it separate from the operating-system root partition.
  4. Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location.

Explanation

Correct Answer

D:

Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location. This corrects the case-specific failure. First verify: Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point. Then demonstrate success: UEFI firmware can load the installed EFI bootloader and the system boots normally.

Incorrect Answers

A:

Allocate /var to a separately sized filesystem or logical volume to contain log growth. That would matter when a log-heavy Linux server uses a single root filesystem and application logs can fill all available space. The relevant distinction in this case is: Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location.

B:

Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed. That would matter when a small host has inadequate RAM for occasional memory spikes but no configured swap area. It does not address this case's requirement: An x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition.

C:

Create a dedicated /home filesystem and keep it separate from the operating-system root partition. That would matter when a workstation must preserve user data when its system filesystem is reinstalled. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 466

Before changing a Linux system, an engineer observes: Two filenames on the same filesystem must reference exactly the same file data and inode. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect filesystem restrictions and whether the desired link target is a directory.
  2. Check the source path and whether the alias may need to cross filesystem boundaries.
  3. Inspect their filesystem boundaries and whether the target is a regular file.
  4. Inspect the symlink target and confirm whether its referenced pathname still exists.

Explanation

Correct Answer

C:

Inspect their filesystem boundaries and whether the target is a regular file. This isolates the relevant condition before applying a change. The appropriate corrective response is: Create a hard link with ln original second_name on the same filesystem.

Incorrect Answers

A:

Inspect filesystem restrictions and whether the desired link target is a directory. That would matter when an operator attempts to hard-link a directory as a shortcut to reuse it from another location. The relevant distinction in this case is: Inspect their filesystem boundaries and whether the target is a regular file.

B:

Check the source path and whether the alias may need to cross filesystem boundaries. That would matter when a configuration file must be referenced through an alias on a different filesystem. It does not address this case's requirement: Two filenames on the same filesystem must reference exactly the same file data and inode.

D:

Inspect the symlink target and confirm whether its referenced pathname still exists. That would matter when an administrator deletes the original file but expects its symbolic link to keep working as a stored copy. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 467

Before changing a Linux system, an engineer observes: A service depends on a removable USB device whose node name changes after every reboot. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

C:

Inspect udev properties and symlinks generated for the device rather than relying on the current minor number. This isolates the relevant condition before applying a change. The appropriate corrective response is: Define a persistent match using supported udev properties and access the stable device symlink.

Incorrect Answers

A:

Check whether the device is presented to the guest and inspect lspci output and the corresponding /sys/bus/pci entries. That would matter when a storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. The relevant distinction in this case is: Inspect udev properties and symlinks generated for the device rather than relying on the current minor number.

B:

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. It does not address this case's requirement: A service depends on a removable USB device whose node name changes after every reboot.

D:

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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 468

Before changing a Linux system, an engineer observes: A removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect current mount options and ensure filesystem integrity and policy permit writes.
  2. Inspect the device's filesystem type, contents, and the destination mount point.
  3. Check the source directory and destination path before defining the mount.
  4. Inspect the desired mount point, device ownership, and applicable fstab options.

Explanation

Correct Answer

B:

Inspect the device's filesystem type, contents, and the destination mount point. This isolates the relevant condition before applying a change. The appropriate corrective response is: Mount the identified device at /mnt/backup using mount with appropriate permissions.

Incorrect Answers

A:

Inspect current mount options and ensure filesystem integrity and policy permit writes. That would matter when an already mounted filesystem needs to change from read-only to read-write after a controlled recovery. The relevant distinction in this case is: Inspect the device's filesystem type, contents, and the destination mount point.

C:

Check the source directory and destination path before defining the mount. That would matter when a secondary directory tree must appear at another mount point without creating a second copy of the files. It does not address this case's requirement: A removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore.

D:

Inspect the desired mount point, device ownership, and applicable fstab options. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 469

A Linux operator claims the following problem is resolved: A runaway process must be located by command name before sending any termination signal. Which result best demonstrates an effective repair?

  1. The display refreshes at the chosen cadence without requiring repeated manual invocation.
  2. The output includes system daemons and other users' processes with their PIDs.
  3. The intended process exits gracefully and unrelated processes remain active.
  4. The exact unresponsive process stops and collateral state is assessed afterward.

Explanation

Correct Answer

C:

The intended process exits gracefully and unrelated processes remain active. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Identify the exact target PID and send a normal SIGTERM using kill before escalation.

Incorrect Answers

A:

The display refreshes at the chosen cadence without requiring repeated manual invocation. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. The relevant distinction in this case is: The intended process exits gracefully and unrelated processes remain active.

B:

The output includes system daemons and other users' processes with their PIDs. 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 runaway process must be located by command name before sending any termination signal.

D:

The exact unresponsive process stops and collateral state is assessed afterward. That would matter when a suspected process is unresponsive to a normal termination request but its temporary files must be considered. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 470

A Linux administrator faces this situation: A local .deb archive must be installed on an isolated Debian host that may lack dependencies. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use dpkg -S /path/to/file to search installed package ownership records.
  2. Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources.
  3. Run apt-get update before the planned apt-get install from configured repositories.
  4. Use dpkg -L package-name to enumerate the installed package's file list.

Explanation

Correct Answer

B:

Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources. This corrects the case-specific failure. First verify: Inspect the archive metadata and currently installed dependency versions. Then demonstrate success: dpkg records the package configured and the required dependencies are satisfied.

Incorrect Answers

A:

Use dpkg -S /path/to/file to search installed package ownership records. That would matter when a system file has changed and an operator wants to identify its owning installed Debian package. The relevant distinction in this case is: Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources.

C:

Run apt-get update before the planned apt-get install from configured repositories. That would matter when an administrator needs to install a Debian package by name but the local repository index is stale. It does not address this case's requirement: A local .deb archive must be installed on an isolated Debian host that may lack dependencies.

D:

Use dpkg -L package-name to enumerate the installed package's file list. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. That separate mechanism does not verify the needed Linux administration outcome in this case.