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 16

Question 150

A Linux administrator faces this situation: A suspected process is unresponsive to a normal termination request but its temporary files must be considered. Which action best resolves the specific issue while preserving correct system behavior?

  1. Start the task inside a tmux or screen session and detach before disconnecting.
  2. Identify the exact target PID and send a normal SIGTERM using kill before escalation.
  3. Launch it with nohup and appropriate output redirection or use a persistent session manager.
  4. Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.

Explanation

Correct Answer

D:

Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure. This corrects the case-specific failure. First verify: Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. Then demonstrate success: The exact unresponsive process stops and collateral state is assessed afterward.

Incorrect Answers

A:

Start the task inside a tmux or screen session and detach before disconnecting. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. The relevant distinction in this case is: Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.

B:

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. It does not address this case's requirement: A suspected process is unresponsive to a normal termination request but its temporary files must be considered.

C:

Launch it with nohup and appropriate output redirection or use a persistent session manager. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 151

Before changing a Linux system, an engineer observes: A cleanup job treats /tmp and /var/tmp as having identical data-retention expectations across reboots. Which check most directly isolates the relevant cause or prerequisite?

  1. Check whether the command is installed and distinguish runtime PATH from standard file locations.
  2. Check the intended data's role against Filesystem Hierarchy Standard directory purposes.
  3. Inspect whether the files are mutable runtime data or read-only architecture-independent resources.
  4. Review the distribution's temporary-file cleanup policy and FHS roles for both locations.

Explanation

Correct Answer

D:

Review the distribution's temporary-file cleanup policy and FHS roles for both locations. This isolates the relevant condition before applying a change. The appropriate corrective response is: Choose /tmp for short-lived temporary content and /var/tmp when longer persistence is needed by policy.

Incorrect Answers

A:

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. The relevant distinction in this case is: Review the distribution's temporary-file cleanup policy and FHS roles for both locations.

B:

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. It does not address this case's requirement: A cleanup job treats /tmp and /var/tmp as having identical data-retention expectations across reboots.

C:

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

Question 152

A Linux operator claims the following problem is resolved: A line of a text file should be deleted in vi without selecting individual characters. Which result best demonstrates an effective repair?

  1. The cursor visits subsequent matches of the intended pattern.
  2. A complete identical line appears at the intended location and the original remains.
  3. The file on disk retains its pre-edit content after reopening it.
  4. The intended full line disappears and no adjacent lines are deleted.

Explanation

Correct Answer

D:

The intended full line disappears and no adjacent lines are deleted. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Press dd to delete the current line and verify the surrounding lines.

Incorrect Answers

A:

The cursor visits subsequent matches of the intended pattern. That would matter when a large file must be searched in vi for the next occurrence of a distinctive setting. The relevant distinction in this case is: The intended full line disappears and no adjacent lines are deleted.

B:

A complete identical line appears at the intended location and the original remains. That would matter when a configuration line must be copied and pasted below another location without retyping it. It does not address this case's requirement: A line of a text file should be deleted in vi without selecting individual characters.

C:

The file on disk retains its pre-edit content after reopening it. That would matter when a mistaken edit in vi must be abandoned without writing a damaged configuration. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 153

A Linux administrator faces this situation: A removable drive should be mountable by an authorized unprivileged user through an fstab entry. Which action best resolves the specific issue while preserving correct system behavior?

  1. Specify appropriate user or users mount options in the verified fstab entry.
  2. Mount the identified device at /mnt/backup using mount with appropriate permissions.
  3. Configure the fstab entry using UUID=... rather than a volatile device name.
  4. Use mount --bind source_directory target_directory for the required bind mount.

Explanation

Correct Answer

A:

Specify appropriate user or users mount options in the verified fstab entry. This corrects the case-specific failure. First verify: Inspect the desired mount point, device ownership, and applicable fstab options. Then demonstrate success: An authorized regular user can mount and unmount the designated removable filesystem.

Incorrect Answers

B:

Mount the identified device at /mnt/backup using mount with appropriate permissions. That would matter when a removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. The relevant distinction in this case is: Specify appropriate user or users mount options in the verified fstab entry.

C:

Configure the fstab entry using UUID=. rather than a volatile device name. That would matter when a storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it. It does not address this case's requirement: A removable drive should be mountable by an authorized unprivileged user through an fstab entry.

D:

Use mount --bind source_directory target_directory for the required bind mount. That would matter when a secondary directory tree must appear at another mount point without creating a second copy of the files. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 154

Before changing a Linux system, an engineer observes: An administrator edits /etc/default/grub but the kernel command line is unchanged after reboot. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the active generated GRUB configuration and how the distribution constructs it.
  2. Inspect firmware mode and the intended target disk or EFI location before installing GRUB.
  3. Inspect source configuration scripts and generated output rather than editing the generated file blindly.
  4. Inspect GRUB's visible devices and kernel and initramfs paths before changing partitions.

Explanation

Correct Answer

A:

Inspect the active generated GRUB configuration and how the distribution constructs it. This isolates the relevant condition before applying a change. The appropriate corrective response is: Regenerate the correct grub.cfg using grub-mkconfig with the supported destination path.

Incorrect Answers

B:

Inspect firmware mode and the intended target disk or EFI location before installing GRUB. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. The relevant distinction in this case is: Inspect the active generated GRUB configuration and how the distribution constructs it.

C:

Inspect source configuration scripts and generated output rather than editing the generated file blindly. That would matter when a GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. It does not address this case's requirement: An administrator edits /etc/default/grub but the kernel command line is unchanged after reboot.

D:

Inspect GRUB's visible devices and kernel and initramfs paths before changing partitions. That would matter when a host is stranded at the GRUB prompt after a disk change but the Linux partitions remain intact. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 155

A quick workaround is proposed for this Linux problem: A UEFI Linux host stops at firmware selection and never starts the installed boot manager. Which assumption creates the most relevant technical risk?

  1. Installing a driver into the final root filesystem does not guarantee it exists in the early-boot image.
  2. Assuming every boot failure is a systemd unit problem ignores failures before PID 1.
  3. Confusing SysV runlevels with systemd units can cause incorrect boot diagnosis even when compatibility commands exist.
  4. Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff.

Explanation

Correct Answer

D:

Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff. This is the scenario's misleading assumption. An engineer should investigate: Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem. Appropriate evidence afterward is: Firmware selects the Linux boot entry and transfers control to GRUB before the kernel starts.

Incorrect Answers

A:

Installing a driver into the final root filesystem does not guarantee it exists in the early-boot image. That would matter when a new storage driver is required early in boot to access an encrypted root volume. The relevant distinction in this case is: Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff.

B:

Assuming every boot failure is a systemd unit problem ignores failures before PID 1. That would matter when a rescue engineer cannot tell whether the firmware, bootloader, kernel, or init system is responsible for a failed boot. It does not address this case's requirement: A UEFI Linux host stops at firmware selection and never starts the installed boot manager.

C:

Confusing SysV runlevels with systemd units can cause incorrect boot diagnosis even when compatibility commands exist. That would matter when a Linux host uses systemd as PID 1 but a maintenance guide assumes SysV init scripts are the sole startup mechanism. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 156

A quick workaround is proposed for this Linux problem: An administrator needs to locate both a command's executable and its manual page in standard locations. Which assumption creates the most relevant technical risk?

  1. Mixing local configuration into executable directories complicates upgrades and violates normal FHS roles.
  2. which reports the executable found on PATH and does not search all manual-page locations.
  3. /usr/share is intended for shareable static data, not continuous host-specific log growth.
  4. locate searches an indexed snapshot and can be stale or omit excluded paths.

Explanation

Correct Answer

B:

which reports the executable found on PATH and does not search all manual-page locations. This is the scenario's misleading assumption. An engineer should investigate: Check whether the command is installed and distinguish runtime PATH from standard file locations. Appropriate evidence afterward is: The output identifies the installed executable and the associated man page when available.

Incorrect Answers

A:

Mixing local configuration into executable directories complicates upgrades and violates normal FHS roles. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. The relevant distinction in this case is: which reports the executable found on PATH and does not search all manual-page locations.

C:

/usr/share is intended for shareable static data, not continuous host-specific log growth. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. It does not address this case's requirement: An administrator needs to locate both a command's executable and its manual page in standard locations.

D:

locate searches an indexed snapshot and can be stale or omit excluded paths. That would matter when a file was recently installed but locate cannot find it even though find does. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 157

A Linux administrator faces this situation: A GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use supported interactive GRUB commands to locate and boot the valid kernel, then repair persistent configuration.
  2. Run the distribution-appropriate grub-install step against the correct boot destination.
  3. Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg.
  4. Regenerate the correct grub.cfg using grub-mkconfig with the supported destination path.

Explanation

Correct Answer

C:

Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg. This corrects the case-specific failure. First verify: Inspect source configuration scripts and generated output rather than editing the generated file blindly. Then demonstrate success: A subsequent grub-mkconfig run retains the intended menu entries and boot parameters.

Incorrect Answers

A:

Use supported interactive GRUB commands to locate and boot the valid kernel, then repair persistent configuration. That would matter when a host is stranded at the GRUB prompt after a disk change but the Linux partitions remain intact. The relevant distinction in this case is: Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg.

B:

Run the distribution-appropriate grub-install step against the correct boot destination. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. It does not address this case's requirement: A GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates.

D:

Regenerate the correct grub.cfg using grub-mkconfig with the supported destination path. That would matter when an administrator edits /etc/default/grub but the kernel command line is unchanged after reboot. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 158

Before changing a Linux system, an engineer observes: A configuration line must be copied and pasted below another location without retyping it. Which check most directly isolates the relevant cause or prerequisite?

  1. Confirm vi is in normal mode and choose the correct search direction.
  2. Locate the exact target line in normal mode before editing.
  3. Inspect the current vi mode and distinguish command-mode navigation from insertion.
  4. Identify the line to duplicate and the destination cursor position in normal mode.

Explanation

Correct Answer

D:

Identify the line to duplicate and the destination cursor position in normal mode. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use yy to yank the line, navigate to the destination, and press p to paste below.

Incorrect Answers

A:

Confirm vi is in normal mode and choose the correct search direction. That would matter when a large file must be searched in vi for the next occurrence of a distinctive setting. The relevant distinction in this case is: Identify the line to duplicate and the destination cursor position in normal mode.

B:

Locate the exact target line in normal mode before editing. That would matter when a line of a text file should be deleted in vi without selecting individual characters. It does not address this case's requirement: A configuration line must be copied and pasted below another location without retyping it.

C:

Inspect the current vi mode and distinguish command-mode navigation from insertion. 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 159

A Linux operator claims the following problem is resolved: A damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting. Which result best demonstrates an effective repair?

  1. The XFS check completes and the volume remounts with expected files accessible.
  2. The ext4 check completes, repair is recorded, and a subsequent mount and file validation pass.
  3. The output provides the expected feature and check settings without changing data.
  4. The reported total and directory-level usage explain the capacity alert without confusing the two measures.

Explanation

Correct Answer

B:

The ext4 check completes, repair is recorded, and a subsequent mount and file validation pass. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Unmount the filesystem and use e2fsck or fsck with appropriate approved options.

Incorrect Answers

A:

The XFS check completes and the volume remounts with expected files accessible. That would matter when a data filesystem uses XFS and an operator proposes e2fsck because the mount failed. The relevant distinction in this case is: The ext4 check completes, repair is recorded, and a subsequent mount and file validation pass.

C:

The output provides the expected feature and check settings without changing data. 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 damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting.

D:

The reported total and directory-level usage explain the capacity alert without confusing the two measures. 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 160

A Linux administrator faces this situation: A foreground command must continue executing while the operator performs other work in the same shell. Which action best resolves the specific issue while preserving correct system behavior?

  1. Suspend it with Ctrl-Z if necessary and resume as a background job using bg.
  2. Identify the exact target PID and send a normal SIGTERM using kill before escalation.
  3. Use fg with the appropriate job specification to resume it in the foreground.
  4. Launch it with nohup and appropriate output redirection or use a persistent session manager.

Explanation

Correct Answer

A:

Suspend it with Ctrl-Z if necessary and resume as a background job using bg. This corrects the case-specific failure. First verify: Check whether the command can be safely placed into job control and has no terminal-input dependency. Then demonstrate success: The job continues and the shell prompt is available for other commands.

Incorrect Answers

B:

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. The relevant distinction in this case is: Suspend it with Ctrl-Z if necessary and resume as a background job using bg.

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: A foreground command must continue executing while the operator performs other work in the same shell.

D:

Launch it with nohup and appropriate output redirection or use a persistent session manager. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. That separate mechanism does not verify the needed Linux administration outcome in this case.