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 18

Question 170

A Linux administrator faces this situation: An engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. Which action best resolves the specific issue while preserving correct system behavior?

  1. Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods.
  2. Unmount the filesystem and use e2fsck or fsck with appropriate approved options.
  3. Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks.
  4. Use tune2fs -l on the ext filesystem to display its current metadata and settings.

Explanation

Correct Answer

D:

Use tune2fs -l on the ext filesystem to display its current metadata and settings. This corrects the case-specific failure. First verify: Inspect the target ext filesystem device and ensure the requested tool supports that format. Then demonstrate success: The output provides the expected feature and check settings without changing data.

Incorrect Answers

A:

Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods. That would matter when a mail spool cannot create new files even though df -h shows available free space. The relevant distinction in this case is: Use tune2fs -l on the ext filesystem to display its current metadata and settings.

B:

Unmount the filesystem and use e2fsck or fsck with appropriate approved options. That would matter when a damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting. It does not address this case's requirement: An engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it.

C:

Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks. That would matter when a data filesystem uses XFS and an operator proposes e2fsck because the mount failed. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 171

A Linux operator claims the following problem is resolved: A team needs to broadcast an urgent warning to users already logged into terminal sessions. Which result best demonstrates an effective repair?

  1. The current boot switches to multi-user.target while systemctl get-default retains the original configured default.
  2. The machine presents a maintenance environment and returns to normal boot after the repair.
  3. Users receive a warning and the system powers down at the scheduled time unless the job is canceled.
  4. Active terminal sessions receive the broadcast and the subsequent maintenance follows the announced procedure.

Explanation

Correct Answer

D:

Active terminal sessions receive the broadcast and the subsequent maintenance follows the announced procedure. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Send the approved notice with wall before performing the disruptive action.

Incorrect Answers

A:

The current boot switches to multi-user.target while systemctl get-default retains the original configured default. 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: Active terminal sessions receive the broadcast and the subsequent maintenance follows the announced procedure.

B:

The machine presents a maintenance environment and returns to normal boot after the repair. 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.

C:

Users receive a warning and the system powers down at the scheduled time unless the job is canceled. That would matter when a maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 172

A Linux operator claims the following problem is resolved: An archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. Which result best demonstrates an effective repair?

  1. Expected files appear under the approved restore directory with validated contents.
  2. Results contain matching regular .log files under the intended filesystem only.
  3. A cpio listing shows only the intended members and a test restore yields the expected paths.
  4. tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree.

Explanation

Correct Answer

A:

Expected files appear under the approved restore directory with validated contents. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use tar -xzf archive.tar.gz -C /approved/restore/location for controlled extraction.

Incorrect Answers

B:

Results contain matching regular .log files under the intended filesystem only. That would matter when an operator needs to find files ending in .log beneath /var/log without searching other filesystems. The relevant distinction in this case is: Expected files appear under the approved restore directory with validated contents.

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: An archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone.

D:

tar -tzf lists the intended relative paths and extraction in a scratch directory reconstructs the tree. 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.

Question 173

A quick workaround is proposed for this Linux problem: A confidential report should be readable by its owner and reporting group but not by other users. Which assumption creates the most relevant technical risk?

  1. The setgid bit on a directory is different from setgid execution semantics on a program.
  2. Directory read permission alone does not grant path traversal without execute permission.
  3. umask removes permission bits; it does not directly assign final modes independent of the program's requested mode.
  4. Using mode 644 grants read permission to all local users, not only the intended group.

Explanation

Correct Answer

D:

Using mode 644 grants read permission to all local users, not only the intended group. This is the scenario's misleading assumption. An engineer should investigate: Inspect current mode and group ownership of the report file. Appropriate evidence afterward is: ls -l shows rw-r----- and authorized group members can read without unrelated access.

Incorrect Answers

A:

The setgid bit on a directory is different from setgid execution semantics on a program. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. The relevant distinction in this case is: Using mode 644 grants read permission to all local users, not only the intended group.

B:

Directory read permission alone does not grant path traversal without execute permission. That would matter when a user can list the name of a protected directory but receives permission denied when entering it. It does not address this case's requirement: A confidential report should be readable by its owner and reporting group but not by other users.

C:

umask removes permission bits; it does not directly assign final modes independent of the program's requested mode. That would matter when a newly created private file should default to owner read/write and group read only, with no permissions for others. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 174

A quick workaround is proposed for this Linux problem: A previously scheduled system shutdown must be canceled because a maintenance change was postponed. Which assumption creates the most relevant technical risk?

  1. A target isolation may stop graphical or other units and should not be treated as a harmless display toggle.
  2. Rebooting a machine is not a way to cancel a shutdown without service disruption.
  3. Starting rescue mode over a remote-only session without an access plan can strand the administrator.
  4. Applying a systemd target name directly to a pure SysVinit system is not a valid runlevel transition.

Explanation

Correct Answer

B:

Rebooting a machine is not a way to cancel a shutdown without service disruption. This is the scenario's misleading assumption. An engineer should investigate: Check whether a shutdown countdown remains scheduled and what warning users received. Appropriate evidence afterward is: The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators.

Incorrect Answers

A:

A target isolation may stop graphical or other units and should not be treated as a harmless display toggle. 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: Rebooting a machine is not a way to cancel a shutdown without service disruption.

C:

Starting rescue mode over a remote-only session without an access plan can strand the administrator. 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 previously scheduled system shutdown must be canceled because a maintenance change was postponed.

D:

Applying a systemd target name directly to a pure SysVinit system is not a valid runlevel transition. That would matter when a legacy SysVinit machine must transition from multi-user operation to a defined runlevel. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 175

A Linux operator claims the following problem is resolved: A Linux VM template is cloned many times and every instance inherits the same machine ID. Which result best demonstrates an effective repair?

  1. Verification identifies relevant deviations for review without reinstalling the package blindly.
  2. Cloned guests present different server host key fingerprints to SSH clients.
  3. New clones receive distinct machine IDs without losing the base image's required software configuration.
  4. A newly created instance applies the intended hostname, authorized keys, and initialization settings.

Explanation

Correct Answer

C:

New clones receive distinct machine IDs without losing the base image's required software configuration. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Reset the cloned machine identity through the distribution's supported provisioning workflow before deployment.

Incorrect Answers

A:

Verification identifies relevant deviations for review without reinstalling the package blindly. That would matter when a configuration file may have been modified after RPM installation and integrity must be assessed. The relevant distinction in this case is: New clones receive distinct machine IDs without losing the base image's required software configuration.

B:

Cloned guests present different server host key fingerprints to SSH clients. That would matter when a VM snapshot is used as a golden image and every clone contains the same SSH host private keys. It does not address this case's requirement: A Linux VM template is cloned many times and every instance inherits the same machine ID.

D:

A newly created instance applies the intended hostname, authorized keys, and initialization settings. That would matter when a cloud instance boots with the wrong hostname and SSH access despite correct virtual hardware settings. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 176

Before changing a Linux system, an engineer observes: A log-heavy Linux server uses a single root filesystem and application logs can fill all available space. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

D:

Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning. This isolates the relevant condition before applying a change. The appropriate corrective response is: Allocate /var to a separately sized filesystem or logical volume to contain log growth.

Incorrect Answers

A:

Inspect existing physical volumes, volume groups, logical volumes, and filesystem support. That would matter when an organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. The relevant distinction in this case is: Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning.

B:

Inspect user-data size, boot requirements, and whether /home can be mounted separately. That would matter when a workstation must preserve user data when its system filesystem is reinstalled. It does not address this case's requirement: A log-heavy Linux server uses a single root filesystem and application logs can fill all available space.

C:

Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point. That would matter when an x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 177

A quick workaround is proposed for this Linux problem: An RPM update is blocked and an engineer needs package metadata rather than guessing file versions. Which assumption creates the most relevant technical risk?

  1. Examining only an RPM filename is insufficient to prove its installed package details.
  2. rpm -i may install alongside the old version or fail where an upgrade operation is intended.
  3. rpm -ql lists files from a named package; it is not the path-to-package ownership query.
  4. Reinstalling an old RPM file does not correct stale Zypper repository metadata.

Explanation

Correct Answer

A:

Examining only an RPM filename is insufficient to prove its installed package details. This is the scenario's misleading assumption. An engineer should investigate: Check the target package's installed state and dependency requirements. Appropriate evidence afterward is: The reported name, version, release, and architecture explain the proposed upgrade path.

Incorrect Answers

B:

rpm -i may install alongside the old version or fail where an upgrade operation is intended. That would matter when a local RPM package is a newer version and should replace its installed predecessor. The relevant distinction in this case is: Examining only an RPM filename is insufficient to prove its installed package details.

C:

rpm -ql lists files from a named package; it is not the path-to-package ownership query. That would matter when a Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. It does not address this case's requirement: An RPM update is blocked and an engineer needs package metadata rather than guessing file versions.

D:

Reinstalling an old RPM file does not correct stale Zypper repository metadata. That would matter when a SUSE administrator cannot find a recently published package through the configured Zypper repositories. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 178

Before changing a Linux system, an engineer observes: A Linux host uses systemd as PID 1 but a maintenance guide assumes SysV init scripts are the sole startup mechanism. 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. Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem.
  3. Inspect the process running as PID 1 and the active systemd unit state before following legacy instructions.
  4. Inspect the current kernel ring buffer using dmesg and compare device errors with early boot stages.

Explanation

Correct Answer

C:

Inspect the process running as PID 1 and the active systemd unit state before following legacy instructions. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use systemctl and the installed unit definitions for the actual init 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 the process running as PID 1 and the active systemd unit state before following legacy instructions.

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 Linux host uses systemd as PID 1 but a maintenance guide assumes SysV init scripts are the sole startup mechanism.

D:

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

Question 179

A quick workaround is proposed for this Linux problem: A list of hostnames contains repeated lines and an operator needs accurate occurrence counts. Which assumption creates the most relevant technical risk?

  1. Using sed replacement syntax directly with tr is invalid because tr translates character sets.
  2. uniq alone collapses only adjacent duplicate lines, not separated duplicates.
  3. Using cut -c3 selects a character position rather than the third delimited field.
  4. head displays the beginning of a file and will not show the most recent appended entries.

Explanation

Correct Answer

B:

uniq alone collapses only adjacent duplicate lines, not separated duplicates. This is the scenario's misleading assumption. An engineer should investigate: Inspect whether duplicate entries are adjacent and whether the input is sorted. Appropriate evidence afterward is: All occurrences of each hostname contribute to one correct count in the output.

Incorrect Answers

A:

Using sed replacement syntax directly with tr is invalid because tr translates character sets. That would matter when a stream includes mixed-case letters but downstream comparison requires lowercase text. The relevant distinction in this case is: uniq alone collapses only adjacent duplicate lines, not separated duplicates.

C:

Using cut -c3 selects a character position rather than the third delimited field. That would matter when an import file has colon-separated fields and only its third field is needed for reporting. It does not address this case's requirement: A list of hostnames contains repeated lines and an operator needs accurate occurrence counts.

D:

head displays the beginning of a file and will not show the most recent appended entries. That would matter when an administrator needs to inspect just the newest ten lines of a growing plain-text log. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 180

Before changing a Linux system, an engineer observes: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect firmware mode and the intended target disk or EFI location before installing GRUB.
  2. Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write.
  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

B:

Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write. This isolates the relevant condition before applying a change. The appropriate corrective response is: Apply configuration in the syntax and file format expected by the installed Legacy bootloader.

Incorrect Answers

A:

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: Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write.

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: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook.

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.