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 57

Question 560

Before changing a Linux system, an engineer observes: A GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

A:

Inspect source configuration scripts and generated output rather than editing the generated file blindly. This isolates the relevant condition before applying a change. The appropriate corrective response is: Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg.

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 source configuration scripts and generated output rather than editing the generated file blindly.

C:

Inspect the active generated GRUB configuration and how the distribution constructs it. That would matter when an administrator edits /etc/default/grub but the kernel command line is unchanged after reboot. 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:

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 561

Before changing a Linux system, an engineer observes: A service fails only during startup and the engineer needs logs from the current boot. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the current kernel ring buffer using dmesg and compare device errors with early boot stages.
  2. Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem.
  3. Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs.
  4. Query journalctl -b and filter by the affected unit or priority to isolate the boot-specific failure.

Explanation

Correct Answer

D:

Query journalctl -b and filter by the affected unit or priority to isolate the boot-specific failure. This isolates the relevant condition before applying a change. The appropriate corrective response is: Correct the unit's dependency, environment, or startup configuration revealed by the journal.

Incorrect Answers

A:

Inspect the current kernel ring buffer using dmesg and compare device errors with early boot stages. That would matter when a server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages. The relevant distinction in this case is: Query journalctl -b and filter by the affected unit or priority to isolate the boot-specific failure.

B:

Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem. That would matter when a UEFI Linux host stops at firmware selection and never starts the installed boot manager. It does not address this case's requirement: A service fails only during startup and the engineer needs logs from the current boot.

C:

Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs. That would matter when a rescue engineer cannot tell whether the firmware, bootloader, kernel, or init system is responsible for a failed boot. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 562

Before changing a Linux system, an engineer observes: A user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences. Which check most directly isolates the relevant cause or prerequisite?

  1. Identify current vi normal mode and recall its portable movement keys.
  2. Identify the line to duplicate and the destination cursor position in normal mode.
  3. Locate the exact target line in normal mode before editing.
  4. Inspect the current vi mode and distinguish command-mode navigation from insertion.

Explanation

Correct Answer

A:

Identify current vi normal mode and recall its portable movement keys. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use h, j, k, and l to move left, down, up, and right respectively.

Incorrect Answers

B:

Identify the line to duplicate and the destination cursor position in normal mode. That would matter when a configuration line must be copied and pasted below another location without retyping it. The relevant distinction in this case is: Identify current vi normal mode and recall its portable movement keys.

C:

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 user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences.

D:

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 563

A quick workaround is proposed for this Linux problem: Two filenames on the same filesystem must reference exactly the same file data and inode. Which assumption creates the most relevant technical risk?

  1. A symbolic link stores a target path and can become dangling when that path disappears.
  2. A hard link is another directory entry for the inode, not a separate byte-for-byte copy.
  3. Arbitrary hard links to directories are normally prohibited to protect filesystem tree integrity.
  4. Ordinary hard links cannot span separate filesystems, while symlinks can store path references.

Explanation

Correct Answer

B:

A hard link is another directory entry for the inode, not a separate byte-for-byte copy. This is the scenario's misleading assumption. An engineer should investigate: Inspect their filesystem boundaries and whether the target is a regular file. Appropriate evidence afterward is: ls -i shows the same inode for both names and edits through either name are shared.

Incorrect Answers

A:

A symbolic link stores a target path and can become dangling when that path disappears. That would matter when an administrator deletes the original file but expects its symbolic link to keep working as a stored copy. The relevant distinction in this case is: A hard link is another directory entry for the inode, not a separate byte-for-byte copy.

C:

Arbitrary hard links to directories are normally prohibited to protect filesystem tree integrity. That would matter when an operator attempts to hard-link a directory as a shortcut to reuse it from another location. It does not address this case's requirement: Two filenames on the same filesystem must reference exactly the same file data and inode.

D:

Ordinary hard links cannot span separate filesystems, while symlinks can store path references. That would matter when a configuration file must be referenced through an alias on a different filesystem. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 564

A Linux administrator faces this situation: A terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use fg with the appropriate job specification to resume it in the foreground.
  2. Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.
  3. Use ps -ef or an equivalent process listing with owner and PID fields.
  4. Start the task inside a tmux or screen session and detach before disconnecting.

Explanation

Correct Answer

D:

Start the task inside a tmux or screen session and detach before disconnecting. This corrects the case-specific failure. First verify: Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow. Then demonstrate success: The session remains available and the operator can reattach to its running programs.

Incorrect Answers

A:

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. The relevant distinction in this case is: Start the task inside a tmux or screen session and detach before disconnecting.

B:

Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure. 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 terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later.

C:

Use ps -ef or an equivalent process listing with owner and PID fields. 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 565

A Linux operator claims the following problem is resolved: A memory alert reports a small free column and an operator assumes the Linux host has no reclaimable memory. Which result best demonstrates an effective repair?

  1. The assessment distinguishes reclaimable cache from actual memory starvation.
  2. The job continues and the shell prompt is available for other commands.
  3. The chosen job resumes and receives terminal interaction in the current shell.
  4. The session remains available and the operator can reattach to its running programs.

Explanation

Correct Answer

A:

The assessment distinguishes reclaimable cache from actual memory starvation. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Evaluate memory pressure using the available column and observed workload rather than free alone.

Incorrect Answers

B:

The job continues and the shell prompt is available for other commands. 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: The assessment distinguishes reclaimable cache from actual memory starvation.

C:

The chosen job resumes and receives terminal interaction in the current shell. 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 memory alert reports a small free column and an operator assumes the Linux host has no reclaimable memory.

D:

The session remains available and the operator can reattach to its running programs. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 566

Before changing a Linux system, an engineer observes: A Debian binary package is installed but the operator needs to list the files shipped by that package. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect APT source configuration and the last successful index refresh.
  2. Check the exact installed filesystem path and whether it is tracked by dpkg.
  3. Verify the installed package name with dpkg -s before inspecting its contents.
  4. Identify the package's retained config state and back up any intentionally preserved data.

Explanation

Correct Answer

C:

Verify the installed package name with dpkg -s before inspecting its contents. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use dpkg -L package-name to enumerate the installed package's file list.

Incorrect Answers

A:

Inspect APT source configuration and the last successful index refresh. That would matter when an administrator needs to install a Debian package by name but the local repository index is stale. The relevant distinction in this case is: Verify the installed package name with dpkg -s before inspecting its contents.

B:

Check the exact installed filesystem path and whether it is tracked by dpkg. That would matter when a system file has changed and an operator wants to identify its owning installed Debian package. It does not address this case's requirement: A Debian binary package is installed but the operator needs to list the files shipped by that package.

D:

Identify the package's retained config state and back up any intentionally preserved data. That would matter when an obsolete package must be removed together with its package-managed configuration files. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 567

Before changing a Linux system, an engineer observes: An executable reports a missing shared-object dependency although its binary file exists. Which check most directly isolates the relevant cause or prerequisite?

  1. Verify the target binary's dynamic dependencies and identify the private library directory.
  2. Run ldd on the trusted executable and inspect the library soname it cannot resolve.
  3. Inspect /etc/ld.so.conf and its include files and compare them with ldconfig -p output.
  4. Inspect the exact executable path and verify it is managed by the RPM database.

Explanation

Correct Answer

B:

Run ldd on the trusted executable and inspect the library soname it cannot resolve. This isolates the relevant condition before applying a change. The appropriate corrective response is: Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate.

Incorrect Answers

A:

Verify the target binary's dynamic dependencies and identify the private library directory. That would matter when a developer temporarily tests a private library build without replacing the system-wide shared object. The relevant distinction in this case is: Run ldd on the trusted executable and inspect the library soname it cannot resolve.

C:

Inspect /etc/ld.so.conf and its include files and compare them with ldconfig -p output. That would matter when a newly installed system library under a standard configured path is not found by the dynamic linker. It does not address this case's requirement: An executable reports a missing shared-object dependency although its binary file exists.

D:

Inspect the exact executable path and verify it is managed by the RPM database. That would matter when a Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 568

A Linux operator claims the following problem is resolved: An already mounted filesystem needs to change from read-only to read-write after a controlled recovery. Which result best demonstrates an effective repair?

  1. findmnt or mount output shows the correct device mounted at the designated path.
  2. An authorized regular user can mount and unmount the designated removable filesystem.
  3. After reboot, the intended filesystem mounts at the correct path even if enumeration order changes.
  4. The mount options show rw and a controlled write test succeeds.

Explanation

Correct Answer

D:

The mount options show rw and a controlled write test succeeds. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use a supported mount -o remount,rw operation on the correct filesystem.

Incorrect Answers

A:

findmnt or mount output shows the correct device mounted at the designated path. 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: The mount options show rw and a controlled write test succeeds.

B:

An authorized regular user can mount and unmount the designated removable filesystem. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. It does not address this case's requirement: An already mounted filesystem needs to change from read-only to read-write after a controlled recovery.

C:

After reboot, the intended filesystem mounts at the correct path even if enumeration order changes. That would matter when a storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 569

Before changing a Linux system, an engineer observes: A new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect blkid and the partition's existing signature and ensure it contains no valuable data.
  2. Inspect lsblk -f and blkid for signatures and confirm the partition contains no data to preserve.
  3. Inspect the disk size and existing partition-table label using parted or gdisk before writing.
  4. Inspect current Btrfs filesystem membership and the subvolume hierarchy.

Explanation

Correct Answer

C:

Inspect the disk size and existing partition-table label using parted or gdisk before writing. This isolates the relevant condition before applying a change. The appropriate corrective response is: Initialize a GPT partition table using a compatible partitioning tool after confirming the correct disk.

Incorrect Answers

A:

Inspect blkid and the partition's existing signature and ensure it contains no valuable data. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. The relevant distinction in this case is: Inspect the disk size and existing partition-table label using parted or gdisk before writing.

B:

Inspect lsblk -f and blkid for signatures and confirm the partition contains no data to preserve. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. It does not address this case's requirement: A new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits.

D:

Inspect current Btrfs filesystem membership and the subvolume hierarchy. That would matter when a Btrfs installation needs a logical subdivision for snapshots without allocating more disk partitions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 570

A Linux administrator faces this situation: A service stores changing logs directly in /usr/share and a package update replaces them. Which action best resolves the specific issue while preserving correct system behavior?

  1. Refresh the locate index with updatedb under the supported policy, then query locate.
  2. Store system-specific configuration under /etc and leave executable binaries in suitable bin directories.
  3. Move changing logs under a suitable /var/log location and retain static shared resources under /usr/share.
  4. Use whereis command-name for typical binary, source, and manual locations.

Explanation

Correct Answer

C:

Move changing logs under a suitable /var/log location and retain static shared resources under /usr/share. This corrects the case-specific failure. First verify: Inspect whether the files are mutable runtime data or read-only architecture-independent resources. Then demonstrate success: Log rotation and package upgrades preserve the expected separation of changing and static files.

Incorrect Answers

A:

Refresh the locate index with updatedb under the supported policy, then query locate. That would matter when a file was recently installed but locate cannot find it even though find does. The relevant distinction in this case is: Move changing logs under a suitable /var/log location and retain static shared resources under /usr/share.

B:

Store system-specific configuration under /etc and leave executable binaries in suitable bin directories. 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 service stores changing logs directly in /usr/share and a package update replaces them.

D:

Use whereis command-name for typical binary, source, and manual locations. That would matter when an administrator needs to locate both a command's executable and its manual page in standard locations. That separate mechanism does not verify the needed Linux administration outcome in this case.