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 8

Question 70

A Linux operator claims the following problem is resolved: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. Which result best demonstrates an effective repair?

  1. The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators.
  2. The current boot switches to multi-user.target while systemctl get-default retains the original configured default.
  3. Active terminal sessions receive the broadcast and the subsequent maintenance follows the announced procedure.
  4. Users receive a warning and the system powers down at the scheduled time unless the job is canceled.

Explanation

Correct Answer

D:

Users receive a warning and the system powers down at the scheduled time unless the job is canceled. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.

Incorrect Answers

A:

The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. The relevant distinction in this case is: Users receive a warning and the system powers down at the scheduled time unless the job is canceled.

B:

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. It does not address this case's requirement: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users.

C:

Active terminal sessions receive the broadcast and the subsequent maintenance follows the announced procedure. That would matter when a team needs to broadcast an urgent warning to users already logged into terminal sessions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 71

Before changing a Linux system, an engineer observes: A storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it. Which check most directly isolates the relevant cause or prerequisite?

  1. Read blkid to obtain the device UUID and compare it with /etc/fstab.
  2. Review the new fstab syntax, mount point, and the storage device's availability.
  3. Inspect the desired mount point, device ownership, and applicable fstab options.
  4. Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types.

Explanation

Correct Answer

A:

Read blkid to obtain the device UUID and compare it with /etc/fstab. This isolates the relevant condition before applying a change. The appropriate corrective response is: Configure the fstab entry using UUID=... rather than a volatile device name.

Incorrect Answers

B:

Review the new fstab syntax, mount point, and the storage device's availability. That would matter when an administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately. The relevant distinction in this case is: Read blkid to obtain the device UUID and compare it with /etc/fstab.

C:

Inspect the desired mount point, device ownership, and applicable fstab options. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. It does not address this case's requirement: A storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it.

D:

Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types. That would matter when a service cannot find the UUID of a new filesystem and an operator wants a reliable mapping from block devices. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 72

A Linux operator claims the following problem is resolved: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. Which result best demonstrates an effective repair?

  1. The intended process exits gracefully and unrelated processes remain active.
  2. The chosen job resumes and receives terminal interaction in the current shell.
  3. The output includes system daemons and other users' processes with their PIDs.
  4. The high-CPU process is identified from live measurements rather than a stale single snapshot.

Explanation

Correct Answer

C:

The output includes system daemons and other users' processes with their PIDs. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use ps -ef or an equivalent process listing with owner and PID fields.

Incorrect Answers

A:

The intended process exits gracefully and unrelated processes remain active. 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: The output includes system daemons and other users' processes with their PIDs.

B:

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: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs.

D:

The high-CPU process is identified from live measurements rather than a stale single snapshot. That would matter when the support team needs a live ranking of CPU-intensive processes during a short performance incident. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 73

A Linux operator claims the following problem is resolved: A confidential report should be readable by its owner and reporting group but not by other users. Which result best demonstrates an effective repair?

  1. New entries receive the intended group ownership under the filesystem's supported behavior.
  2. ls -l shows rw-r----- and authorized group members can read without unrelated access.
  3. ls -ld shows the sticky bit and unauthorized users cannot remove others' entries.
  4. A newly created regular file has mode 640 under the stated creation assumptions.

Explanation

Correct Answer

B:

ls -l shows rw-r----- and authorized group members can read without unrelated access. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Set mode 640 with chmod and assign the appropriate reporting group.

Incorrect Answers

A:

New entries receive the intended group ownership under the filesystem's supported behavior. 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: ls -l shows rw-r----- and authorized group members can read without unrelated access.

C:

ls -ld shows the sticky bit and unauthorized users cannot remove others' entries. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. 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.

D:

A newly created regular file has mode 640 under the stated creation assumptions. 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 74

A quick workaround is proposed for this Linux problem: A newly allocated swap partition is present but the kernel refuses to activate it as swap. Which assumption creates the most relevant technical risk?

  1. Renaming a partition label cannot convert an existing ext4 filesystem into XFS.
  2. Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap.
  3. A Btrfs subvolume is not the same as an independent block partition or a new physical disk.
  4. Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss.

Explanation

Correct Answer

B:

Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap. This is the scenario's misleading assumption. An engineer should investigate: Inspect blkid and the partition's existing signature and ensure it contains no valuable data. Appropriate evidence afterward is: swapon --show lists the partition as active swap and memory usage can extend into it.

Incorrect Answers

A:

Renaming a partition label cannot convert an existing ext4 filesystem into XFS. That would matter when a dedicated partition is intended for XFS but the engineer initially formats it with ext4. The relevant distinction in this case is: Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap.

C:

A Btrfs subvolume is not the same as an independent block partition or a new physical disk. That would matter when a Btrfs installation needs a logical subdivision for snapshots without allocating more disk partitions. It does not address this case's requirement: A newly allocated swap partition is present but the kernel refuses to activate it as swap.

D:

Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 75

A quick workaround is proposed for this Linux problem: A GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. Which assumption creates the most relevant technical risk?

  1. GRUB Legacy menu.lst and GRUB 2 grub.cfg are not interchangeable configuration formats.
  2. Changing /etc/default/grub without rebuilding the generated menu does not update the active entries.
  3. Generating grub.cfg alone does not install a missing first-stage bootloader.
  4. Editing only generated grub.cfg is fragile because package upgrades can replace it.

Explanation

Correct Answer

D:

Editing only generated grub.cfg is fragile because package upgrades can replace it. This is the scenario's misleading assumption. An engineer should investigate: Inspect source configuration scripts and generated output rather than editing the generated file blindly. Appropriate evidence afterward is: A subsequent grub-mkconfig run retains the intended menu entries and boot parameters.

Incorrect Answers

A:

GRUB Legacy menu.lst and GRUB 2 grub.cfg are not interchangeable configuration formats. That would matter when an older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook. The relevant distinction in this case is: Editing only generated grub.cfg is fragile because package upgrades can replace it.

B:

Changing /etc/default/grub without rebuilding the generated menu does not update the active entries. 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.

C:

Generating grub.cfg alone does not install a missing first-stage bootloader. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 76

A quick workaround is proposed for this Linux problem: A server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages. Which assumption creates the most relevant technical risk?

  1. Assuming every boot failure is a systemd unit problem ignores failures before PID 1.
  2. Reviewing undifferentiated historical logs can misattribute a failure from another boot.
  3. Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff.
  4. Looking only at application service logs can miss failures that occur before the init system.

Explanation

Correct Answer

D:

Looking only at application service logs can miss failures that occur before the init system. This is the scenario's misleading assumption. An engineer should investigate: Inspect the current kernel ring buffer using dmesg and compare device errors with early boot stages. Appropriate evidence afterward is: The corrected boot log no longer shows the initialization failure and the system reaches its default target.

Incorrect Answers

A:

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. The relevant distinction in this case is: Looking only at application service logs can miss failures that occur before the init system.

B:

Reviewing undifferentiated historical logs can misattribute a failure from another boot. That would matter when a service fails only during startup and the engineer needs logs from the current boot. It does not address this case's requirement: A server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages.

C:

Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff. That would matter when a UEFI Linux host stops at firmware selection and never starts the installed boot manager. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 77

A Linux administrator faces this situation: A service process cannot read a data directory because files are owned by the wrong account. Which action best resolves the specific issue while preserving correct system behavior?

  1. Grant the minimum required directory execute permission to the authorized principal or group.
  2. Apply the directory setgid bit with chmod g+s on the shared project directory.
  3. Use chgrp with the intended group and narrowly scoped recursion when required.
  4. Use chown for the intended owner and group on the verified paths with scoped recursion if required.

Explanation

Correct Answer

D:

Use chown for the intended owner and group on the verified paths with scoped recursion if required. This corrects the case-specific failure. First verify: Inspect uid, gid, parent directory access, and expected service identity. Then demonstrate success: The service account reads the data and ls -l reports the approved ownership.

Incorrect Answers

A:

Grant the minimum required directory execute permission to the authorized principal or group. That would matter when a user can list the name of a protected directory but receives permission denied when entering it. The relevant distinction in this case is: Use chown for the intended owner and group on the verified paths with scoped recursion if required.

B:

Apply the directory setgid bit with chmod g+s on the shared project directory. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. It does not address this case's requirement: A service process cannot read a data directory because files are owned by the wrong account.

C:

Use chgrp with the intended group and narrowly scoped recursion when required. That would matter when an administrator needs to change only a directory tree's group ownership, preserving individual file owners. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 78

A quick workaround is proposed for this Linux problem: A support technician needs to review and reuse recent commands without transcribing them manually. Which assumption creates the most relevant technical risk?

  1. Blindly executing a recalled privileged command may repeat stale or destructive arguments.
  2. which alone may not reveal all shell aliases and builtins that affect command resolution.
  3. Setting a variable to an empty string is not identical to removing it from the environment.
  4. The current working directory is not automatically searched for bare command names.

Explanation

Correct Answer

A:

Blindly executing a recalled privileged command may repeat stale or destructive arguments. This is the scenario's misleading assumption. An engineer should investigate: Inspect Bash history settings and run history in the active interactive session. Appropriate evidence afterward is: The selected command can be reviewed and re-executed without retyping its arguments.

Incorrect Answers

B:

which alone may not reveal all shell aliases and builtins that affect command resolution. That would matter when a shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. The relevant distinction in this case is: Blindly executing a recalled privileged command may repeat stale or destructive arguments.

C:

Setting a variable to an empty string is not identical to removing it from the environment. That would matter when a command-line support task must remove one exported environment variable for a single Bash session. It does not address this case's requirement: A support technician needs to review and reuse recent commands without transcribing them manually.

D:

The current working directory is not automatically searched for bare command names. That would matter when a technician invokes a local executable by name but Bash reports command not found although the file is in the current directory. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 79

A Linux administrator faces this situation: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook. Which action best resolves the specific issue while preserving correct system behavior?

  1. Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg.
  2. Use supported interactive GRUB commands to locate and boot the valid kernel, then repair persistent configuration.
  3. Apply configuration in the syntax and file format expected by the installed Legacy bootloader.
  4. Run the distribution-appropriate grub-install step against the correct boot destination.

Explanation

Correct Answer

C:

Apply configuration in the syntax and file format expected by the installed Legacy bootloader. This corrects the case-specific failure. First verify: Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write. Then demonstrate success: The legacy menu loads the desired kernel and its options without parsing errors.

Incorrect Answers

A:

Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg. That would matter when a GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. The relevant distinction in this case is: Apply configuration in the syntax and file format expected by the installed Legacy bootloader.

B:

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. 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:

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

Question 80

Before changing a Linux system, an engineer observes: An already running background process is delaying interactive work and needs a lower scheduling priority. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the PID, owner, and current NI value of the existing process.
  2. Check the service owner's privilege and confirm the desired new nice value is lower than 15.
  3. Inspect the default nice value and confirm the process is appropriate for a reduced priority.
  4. Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority.

Explanation

Correct Answer

A:

Check the PID, owner, and current NI value of the existing process. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use renice -n 10 -p PID with adequate privileges to adjust the running process.

Incorrect Answers

B:

Check the service owner's privilege and confirm the desired new nice value is lower than 15. That would matter when a service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. The relevant distinction in this case is: Check the PID, owner, and current NI value of the existing process.

C:

Inspect the default nice value and confirm the process is appropriate for a reduced priority. That would matter when a CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks. It does not address this case's requirement: An already running background process is delaying interactive work and needs a lower scheduling priority.

D:

Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority. 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.