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 35

Question 340

A Linux administrator faces this situation: A rescue engineer cannot tell whether the firmware, bootloader, kernel, or init system is responsible for a failed boot. Which action best resolves the specific issue while preserving correct system behavior?

  1. Correct the unit's dependency, environment, or startup configuration revealed by the journal.
  2. Repair the specific kernel or hardware dependency reported rather than modifying unrelated services.
  3. Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system.
  4. Apply the repair at the first failing stage rather than changing every layer simultaneously.

Explanation

Correct Answer

D:

Apply the repair at the first failing stage rather than changing every layer simultaneously. This corrects the case-specific failure. First verify: Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs. Then demonstrate success: Repeated boot traces pass the previously failing handoff and reach the intended userspace target.

Incorrect Answers

A:

Correct the unit's dependency, environment, or startup configuration revealed by the journal. That would matter when a service fails only during startup and the engineer needs logs from the current boot. The relevant distinction in this case is: Apply the repair at the first failing stage rather than changing every layer simultaneously.

B:

Repair the specific kernel or hardware dependency reported rather than modifying unrelated services. That would matter when a server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages. It does not address this case's requirement: A rescue engineer cannot tell whether the firmware, bootloader, kernel, or init system is responsible for a failed boot.

C:

Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system. 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 341

Before changing a Linux system, an engineer observes: A newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

D:

Inspect firmware mode and the intended target disk or EFI location before installing GRUB. This isolates the relevant condition before applying a change. The appropriate corrective response is: Run the distribution-appropriate grub-install step against the correct boot destination.

Incorrect Answers

A:

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. The relevant distinction in this case is: Inspect firmware mode and the intended target disk or EFI location before installing GRUB.

B:

Inspect source configuration scripts and generated output rather than editing the generated file blindly. That would matter when a GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. It does not address this case's requirement: A newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation.

C:

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 342

A Linux operator claims the following problem is resolved: A cleanup job treats /tmp and /var/tmp as having identical data-retention expectations across reboots. Which result best demonstrates an effective repair?

  1. Log rotation and package upgrades preserve the expected separation of changing and static files.
  2. The service reads host configuration from /etc and packages can update programs without overwriting it.
  3. A reboot-and-cleanup test preserves or removes the test data according to the documented location policy.
  4. The output identifies the installed executable and the associated man page when available.

Explanation

Correct Answer

C:

A reboot-and-cleanup test preserves or removes the test data according to the documented location policy. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Choose /tmp for short-lived temporary content and /var/tmp when longer persistence is needed by policy.

Incorrect Answers

A:

Log rotation and package upgrades preserve the expected separation of changing and static files. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. The relevant distinction in this case is: A reboot-and-cleanup test preserves or removes the test data according to the documented location policy.

B:

The service reads host configuration from /etc and packages can update programs without overwriting it. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. It does not address this case's requirement: A cleanup job treats /tmp and /var/tmp as having identical data-retention expectations across reboots.

D:

The output identifies the installed executable and the associated man page when available. 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 343

Before changing a Linux system, an engineer observes: An import file has colon-separated fields and only its third field is needed for reporting. Which check most directly isolates the relevant cause or prerequisite?

  1. Check log order and whether new entries append at the end of the file.
  2. Inspect the input delimiter and verify the field count on representative lines.
  3. Inspect whether the stream is ASCII text and confirm expected character conversion.
  4. Inspect whether duplicate entries are adjacent and whether the input is sorted.

Explanation

Correct Answer

B:

Inspect the input delimiter and verify the field count on representative lines. This isolates the relevant condition before applying a change. The appropriate corrective response is: Extract the third field with cut -d: -f3 on the correctly delimited stream.

Incorrect Answers

A:

Check log order and whether new entries append at the end of the file. That would matter when an administrator needs to inspect just the newest ten lines of a growing plain-text log. The relevant distinction in this case is: Inspect the input delimiter and verify the field count on representative lines.

C:

Inspect whether the stream is ASCII text and confirm expected character conversion. That would matter when a stream includes mixed-case letters but downstream comparison requires lowercase text. It does not address this case's requirement: An import file has colon-separated fields and only its third field is needed for reporting.

D:

Inspect whether duplicate entries are adjacent and whether the input is sorted. That would matter when a list of hostnames contains repeated lines and an operator needs accurate occurrence counts. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 344

A Linux operator claims the following problem is resolved: A list of hostnames contains repeated lines and an operator needs accurate occurrence counts. Which result best demonstrates an effective repair?

  1. Sample rows return precisely the third colon-separated value without adjacent fields.
  2. The output shows the final ten recorded lines and live following displays new appended records.
  3. All occurrences of each hostname contribute to one correct count in the output.
  4. Uppercase sample letters become lowercase while unaffected characters remain intact.

Explanation

Correct Answer

C:

All occurrences of each hostname contribute to one correct count in the output. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Run sort on the list before uniq -c to count identical hostname occurrences.

Incorrect Answers

A:

Sample rows return precisely the third colon-separated value without adjacent fields. That would matter when an import file has colon-separated fields and only its third field is needed for reporting. The relevant distinction in this case is: All occurrences of each hostname contribute to one correct count in the output.

B:

The output shows the final ten recorded lines and live following displays new appended records. That would matter when an administrator needs to inspect just the newest ten lines of a growing plain-text log. It does not address this case's requirement: A list of hostnames contains repeated lines and an operator needs accurate occurrence counts.

D:

Uppercase sample letters become lowercase while unaffected characters remain intact. That would matter when a stream includes mixed-case letters but downstream comparison requires lowercase text. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 345

A quick workaround is proposed for this Linux problem: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. Which assumption creates the most relevant technical risk?

  1. A distribution release string or installed kernel package version may differ from the running kernel.
  2. A command name can resolve to an unexpected executable even when both versions are installed.
  3. Blindly executing a recalled privileged command may repeat stale or destructive arguments.
  4. A semicolon sequences commands but does not enforce a success dependency.

Explanation

Correct Answer

A:

A distribution release string or installed kernel package version may differ from the running kernel. This is the scenario's misleading assumption. An engineer should investigate: Compare uname -r output with release files and installed package listings. Appropriate evidence afterward is: The recorded release matches the kernel active on that host at investigation time.

Incorrect Answers

B:

A command name can resolve to an unexpected executable even when both versions are installed. That would matter when an interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. The relevant distinction in this case is: A distribution release string or installed kernel package version may differ from the running kernel.

C:

Blindly executing a recalled privileged command may repeat stale or destructive arguments. That would matter when a support technician needs to review and reuse recent commands without transcribing them manually. It does not address this case's requirement: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version.

D:

A semicolon sequences commands but does not enforce a success dependency. That would matter when an administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 346

A Linux operator claims the following problem is resolved: An engineer needs to match one or more digits using extended regular expression quantifiers. Which result best demonstrates an effective repair?

  1. Each intended occurrence is replaced in the output while the source file stays intact unless -i is used.
  2. Files with the exact suffix match while .conf.old examples do not.
  3. Only lines whose first characters are ERROR match the pattern.
  4. Sample lines containing digit sequences match and lines without digits do not.

Explanation

Correct Answer

D:

Sample lines containing digit sequences match and lines without digits do not. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use grep -E '[0-9]+' on the target input.

Incorrect Answers

A:

Each intended occurrence is replaced in the output while the source file stays intact unless -i is used. That would matter when a team needs to change every occurrence of the word staging to production in a reviewed text stream. The relevant distinction in this case is: Sample lines containing digit sequences match and lines without digits do not.

B:

Files with the exact suffix match while .conf.old examples do not. That would matter when an inventory should match only lines ending in .conf, not .conf.old filenames. It does not address this case's requirement: An engineer needs to match one or more digits using extended regular expression quantifiers.

C:

Only lines whose first characters are ERROR match the pattern. That would matter when an operator wants grep to match only lines beginning with ERROR, not lines with that word in the middle. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 347

A Linux administrator faces this situation: An already running background process is delaying interactive work and needs a lower scheduling priority. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use renice -n 10 -p PID with adequate privileges to adjust the running process.
  2. Display the relevant process priority fields using ps -o pid,ni,comm.
  3. Launch the command with nice -n 10 command to increase its niceness.
  4. Apply renice to reduce the running process's nice value when permission allows.

Explanation

Correct Answer

A:

Use renice -n 10 -p PID with adequate privileges to adjust the running process. This corrects the case-specific failure. First verify: Check the PID, owner, and current NI value of the existing process. Then demonstrate success: The process's NI changes while its PID remains the same and workload impact can be measured.

Incorrect Answers

B:

Display the relevant process priority fields using ps -o pid,ni,comm. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. The relevant distinction in this case is: Use renice -n 10 -p PID with adequate privileges to adjust the running process.

C:

Launch the command with nice -n 10 command to increase its niceness. 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:

Apply renice to reduce the running process's nice value when permission allows. 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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 348

A Linux operator claims the following problem is resolved: A device driver is present on disk but its kernel module has not been loaded for a supported peripheral. Which result best demonstrates an effective repair?

  1. lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.
  2. The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot.
  3. lsmod lists the loaded driver and the peripheral exposes its expected functionality.
  4. The same physical device resolves through the stable link across detach and reattach cycles.

Explanation

Correct Answer

C:

lsmod lists the loaded driver and the peripheral exposes its expected functionality. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Load the appropriate dependency-aware module using modprobe and correct any reported mismatch.

Incorrect Answers

A:

lspci and the driver's sysfs binding identify the controller and the associated block device becomes available. That would matter when a storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. The relevant distinction in this case is: lsmod lists the loaded driver and the peripheral exposes its expected functionality.

B:

The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. It does not address this case's requirement: A device driver is present on disk but its kernel module has not been loaded for a supported peripheral.

D:

The same physical device resolves through the stable link across detach and reattach cycles. That would matter when a service depends on a removable USB device whose node name changes after every reboot. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 349

Before changing a Linux system, an engineer observes: A small host has inadequate RAM for occasional memory spikes but no configured swap area. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect memory pressure, existing swap usage, and free disk capacity for a suitable swap area.
  2. Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point.
  3. Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning.
  4. Inspect existing physical volumes, volume groups, logical volumes, and filesystem support.

Explanation

Correct Answer

A:

Inspect memory pressure, existing swap usage, and free disk capacity for a suitable swap area. This isolates the relevant condition before applying a change. The appropriate corrective response is: Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed.

Incorrect Answers

B:

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. The relevant distinction in this case is: Inspect memory pressure, existing swap usage, and free disk capacity for a suitable swap area.

C:

Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning. That would matter when a log-heavy Linux server uses a single root filesystem and application logs can fill all available space. It does not address this case's requirement: A small host has inadequate RAM for occasional memory spikes but no configured swap area.

D:

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

Question 350

A Linux administrator faces this situation: A Linux host uses systemd as PID 1 but a maintenance guide assumes SysV init scripts are the sole startup mechanism. Which action best resolves the specific issue while preserving correct system behavior?

  1. Repair the specific kernel or hardware dependency reported rather than modifying unrelated services.
  2. Use systemctl and the installed unit definitions for the actual init system.
  3. Correct the root= identifier and regenerate the supported GRUB configuration if required.
  4. Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system.

Explanation

Correct Answer

B:

Use systemctl and the installed unit definitions for the actual init system. This corrects the case-specific failure. First verify: Inspect the process running as PID 1 and the active systemd unit state before following legacy instructions. Then demonstrate success: Services enter the expected state through systemd with readable unit-specific status and logs.

Incorrect Answers

A:

Repair the specific kernel or hardware dependency reported rather than modifying unrelated services. 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: Use systemctl and the installed unit definitions for the actual init system.

C:

Correct the root= identifier and regenerate the supported GRUB configuration if required. That would matter when a Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration. 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:

Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system. 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.