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 58

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.

Question 571

A Linux operator claims the following problem is resolved: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. Which result best demonstrates an effective repair?

  1. ps reports the lower NI value after the change and the service remains running.
  2. ps displays the process with the intended NI value and interactive work remains responsive.
  3. The process's NI changes while its PID remains the same and workload impact can be measured.
  4. Each job's NI value is visible and can be compared to its configured scheduling behavior.

Explanation

Correct Answer

A:

ps reports the lower NI value after the change and the service remains running. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Apply renice to reduce the running process's nice value when permission allows.

Incorrect Answers

B:

ps displays the process with the intended NI value and interactive work remains responsive. That would matter when a CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks. The relevant distinction in this case is: ps reports the lower NI value after the change and the service remains running.

C:

The process's NI changes while its PID remains the same and workload impact can be measured. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. It does not address this case's requirement: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range.

D:

Each job's NI value is visible and can be compared to its configured scheduling behavior. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 572

A Linux administrator faces this situation: A technician must identify a newly attached USB serial adapter before creating device-specific rules. 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. Use sysfs device metadata to identify the real hardware and configure the corresponding supported driver or rule.
  4. Match the actual USB identifiers in a narrowly scoped udev rule for the intended adapter.

Explanation

Correct Answer

D:

Match the actual USB identifiers in a narrowly scoped udev rule for the intended adapter. This corrects the case-specific failure. First verify: Compare lsusb vendor and product IDs with kernel messages and the adapter's sysfs device path. Then demonstrate success: Reconnecting the adapter creates the expected device node and stable attributes without changing other USB devices.

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: Match the actual USB identifiers in a narrowly scoped udev rule for the intended adapter.

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 technician must identify a newly attached USB serial adapter before creating device-specific rules.

C:

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 573

Before changing a Linux system, an engineer observes: A technician needs package description and dependencies before installing a Debian repository package. Which check most directly isolates the relevant cause or prerequisite?

  1. Check whether the service has modified configuration files that need to be retained.
  2. Check the exact installed filesystem path and whether it is tracked by dpkg.
  3. Inspect APT source configuration and the last successful index refresh.
  4. Check repository metadata availability and the exact package name.

Explanation

Correct Answer

D:

Check repository metadata availability and the exact package name. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use apt-cache show package-name or an equivalent APT metadata query before selecting it.

Incorrect Answers

A:

Check whether the service has modified configuration files that need to be retained. That would matter when a service package is no longer needed but its local configuration should remain for possible reinstallation. The relevant distinction in this case is: Check repository metadata availability and the exact package name.

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 technician needs package description and dependencies before installing a Debian repository package.

C:

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

Question 574

A quick workaround is proposed for this Linux problem: A small host has inadequate RAM for occasional memory spikes but no configured swap area. Which assumption creates the most relevant technical risk?

  1. Swap reduces some out-of-memory risk but is not a replacement for required physical memory.
  2. Separating /var without sufficient sizing or monitoring may only relocate the capacity problem.
  3. LVM adds flexible volume management but does not eliminate filesystem resize or backup requirements.
  4. A generic ext4 /boot partition does not automatically replace the FAT-based ESP used by UEFI firmware.

Explanation

Correct Answer

A:

Swap reduces some out-of-memory risk but is not a replacement for required physical memory. This is the scenario's misleading assumption. An engineer should investigate: Inspect memory pressure, existing swap usage, and free disk capacity for a suitable swap area. Appropriate evidence afterward is: swapon --show reports active swap and controlled memory pressure does not fail solely because swap was absent.

Incorrect Answers

B:

Separating /var without sufficient sizing or monitoring may only relocate the capacity problem. 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: Swap reduces some out-of-memory risk but is not a replacement for required physical memory.

C:

LVM adds flexible volume management but does not eliminate filesystem resize or backup requirements. That would matter when an organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. It does not address this case's requirement: A small host has inadequate RAM for occasional memory spikes but no configured swap area.

D:

A generic ext4 /boot partition does not automatically replace the FAT-based ESP used by UEFI firmware. That would matter when an x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 575

A quick workaround is proposed for this Linux problem: A service cannot find the UUID of a new filesystem and an operator wants a reliable mapping from block devices. Which assumption creates the most relevant technical risk?

  1. Guessing a UUID from another host can mount the wrong filesystem or fail to mount.
  2. Forcing an unmount while programs are writing can corrupt data or interrupt applications.
  3. A bind mount is not a filesystem copy or independent storage volume.
  4. A remount does not repair an underlying filesystem error that forced read-only access.

Explanation

Correct Answer

A:

Guessing a UUID from another host can mount the wrong filesystem or fail to mount. This is the scenario's misleading assumption. An engineer should investigate: Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types. Appropriate evidence afterward is: The chosen UUID matches the expected device and the fstab mount resolves successfully.

Incorrect Answers

B:

Forcing an unmount while programs are writing can corrupt data or interrupt applications. That would matter when an unmount command fails because a user process still has its working directory inside the mounted filesystem. The relevant distinction in this case is: Guessing a UUID from another host can mount the wrong filesystem or fail to mount.

C:

A bind mount is not a filesystem copy or independent storage volume. 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 service cannot find the UUID of a new filesystem and an operator wants a reliable mapping from block devices.

D:

A remount does not repair an underlying filesystem error that forced read-only access. That would matter when an already mounted filesystem needs to change from read-only to read-write after a controlled recovery. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 576

Before changing a Linux system, an engineer observes: A headless server boots into a graphical target despite the organization's text-console requirement. Which check most directly isolates the relevant cause or prerequisite?

  1. Check currently active targets and verify that isolating the target will not terminate required remote access.
  2. Check systemctl get-default and determine which target is reached after boot.
  3. Inspect the boot manager's temporary kernel options and identify the appropriate systemd rescue target.
  4. Inspect active workloads and the approved restart window before initiating a reboot.

Explanation

Correct Answer

B:

Check systemctl get-default and determine which target is reached after boot. This isolates the relevant condition before applying a change. The appropriate corrective response is: Set multi-user.target as the persistent default using systemctl set-default.

Incorrect Answers

A:

Check currently active targets and verify that isolating the target will not terminate required remote access. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. The relevant distinction in this case is: Check systemctl get-default and determine which target is reached after boot.

C:

Inspect the boot manager's temporary kernel options and identify the appropriate systemd rescue target. 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 headless server boots into a graphical target despite the organization's text-console requirement.

D:

Inspect active workloads and the approved restart window before initiating a reboot. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 577

Before changing a Linux system, an engineer observes: A UEFI Linux host stops at firmware selection and never starts the installed boot manager. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the kernel command line and the root device identifier passed by the boot manager.
  2. Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs.
  3. Inspect boot messages for initramfs module loading and storage-device discovery before root mount.
  4. Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem.

Explanation

Correct Answer

D:

Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem. This isolates the relevant condition before applying a change. The appropriate corrective response is: Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system.

Incorrect Answers

A:

Inspect the kernel command line and the root device identifier passed by the boot manager. That would matter when a Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration. The relevant distinction in this case is: Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem.

B:

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. It does not address this case's requirement: A UEFI Linux host stops at firmware selection and never starts the installed boot manager.

C:

Inspect boot messages for initramfs module loading and storage-device discovery before root mount. That would matter when a new storage driver is required early in boot to access an encrypted root volume. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 578

Before changing a Linux system, an engineer observes: A partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the disk size and existing partition-table label using parted or gdisk before writing.
  2. Inspect lsblk -f and blkid for signatures and confirm the partition contains no data to preserve.
  3. Check the workload's filesystem requirement and verify the partition selected for formatting.
  4. Inspect blkid and the partition's existing signature and ensure it contains no valuable data.

Explanation

Correct Answer

B:

Inspect lsblk -f and blkid for signatures and confirm the partition contains no data to preserve. This isolates the relevant condition before applying a change. The appropriate corrective response is: Create an ext4 filesystem with mkfs.ext4 on the verified target partition.

Incorrect Answers

A:

Inspect the disk size and existing partition-table label using parted or gdisk before writing. That would matter when a new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. The relevant distinction in this case is: Inspect lsblk -f and blkid for signatures and confirm the partition contains no data to preserve.

C:

Check the workload's filesystem requirement and verify the partition selected for formatting. That would matter when a dedicated partition is intended for XFS but the engineer initially formats it with ext4. It does not address this case's requirement: A partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem.

D:

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

Question 579

A Linux operator claims the following problem is resolved: A directory tree must be archived with relative paths for transfer to another Linux machine. Which result best demonstrates an effective repair?

  1. The copied tree retains expected symlinks, modes, and timestamps without dereferencing links unexpectedly.
  2. tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree.
  3. A cpio listing shows only the intended members and a test restore yields the expected paths.
  4. The intended temporary tree is gone and the neighboring production directory remains present.

Explanation

Correct Answer

B:

tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive.

Incorrect Answers

A:

The copied tree retains expected symlinks, modes, and timestamps without dereferencing links unexpectedly. That would matter when an administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. The relevant distinction in this case is: tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree.

C:

A cpio listing shows only the intended members and a test restore yields the expected paths. That would matter when a cpio archive should be built from an approved file list while preserving the supplied relative paths. It does not address this case's requirement: A directory tree must be archived with relative paths for transfer to another Linux machine.

D:

The intended temporary tree is gone and the neighboring production directory remains present. That would matter when a temporary build directory must be deleted recursively while the adjacent production tree remains untouched. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 580

A quick workaround is proposed for this Linux problem: An operator needs to find files ending in .log beneath /var/log without searching other filesystems. Which assumption creates the most relevant technical risk?

  1. Swapping dd input and output operands can overwrite the source device irreversibly.
  2. Decompression of the gzip layer alone does not extract the tar member files.
  3. Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern.
  4. Archiving absolute paths without reviewing restoration behavior can write outside the target directory.

Explanation

Correct Answer

C:

Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern. This is the scenario's misleading assumption. An engineer should investigate: Inspect the starting directory and decide whether crossing filesystem boundaries is acceptable. Appropriate evidence afterward is: Results contain matching regular .log files under the intended filesystem only.

Incorrect Answers

A:

Swapping dd input and output operands can overwrite the source device irreversibly. That would matter when an operator must produce a byte-for-byte image of an offline removable device before analysis. The relevant distinction in this case is: Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern.

B:

Decompression of the gzip layer alone does not extract the tar member files. That would matter when an archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. It does not address this case's requirement: An operator needs to find files ending in .log beneath /var/log without searching other filesystems.

D:

Archiving absolute paths without reviewing restoration behavior can write outside the target directory. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. That separate mechanism does not verify the needed Linux administration outcome in this case.