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 42

Question 410

Before changing a Linux system, an engineer observes: An administrator needs to locate both a command's executable and its manual page in standard locations. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the intended data's role against Filesystem Hierarchy Standard directory purposes.
  2. Check whether the command is installed and distinguish runtime PATH from standard file locations.
  3. Inspect whether the files are mutable runtime data or read-only architecture-independent resources.
  4. Check whether the locate database is present and when it was last refreshed.

Explanation

Correct Answer

B:

Check whether the command is installed and distinguish runtime PATH from standard file locations. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use whereis command-name for typical binary, source, and manual locations.

Incorrect Answers

A:

Check the intended data's role against Filesystem Hierarchy Standard directory purposes. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. The relevant distinction in this case is: Check whether the command is installed and distinguish runtime PATH from standard file locations.

C:

Inspect whether the files are mutable runtime data or read-only architecture-independent resources. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. It does not address this case's requirement: An administrator needs to locate both a command's executable and its manual page in standard locations.

D:

Check whether the locate database is present and when it was last refreshed. That would matter when a file was recently installed but locate cannot find it even though find does. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 411

Before changing a Linux system, an engineer observes: A rescue engineer cannot tell whether the firmware, bootloader, kernel, or init system is responsible for a failed boot. Which check most directly isolates the relevant cause or prerequisite?

  1. Query journalctl -b and filter by the affected unit or priority to isolate the boot-specific failure.
  2. Inspect the kernel command line and the root device identifier passed by the boot manager.
  3. Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs.
  4. Inspect firmware boot entries and the EFI System Partition before changing the Linux root filesystem.

Explanation

Correct Answer

C:

Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs. This isolates the relevant condition before applying a change. The appropriate corrective response is: Apply the repair at the first failing stage rather than changing every layer simultaneously.

Incorrect Answers

A:

Query journalctl -b and filter by the affected unit or priority to isolate the boot-specific failure. 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: Establish the last successful boot stage from console messages, GRUB behavior, and journal or kernel logs.

B:

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

D:

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

Question 412

A Linux administrator faces this situation: A confidential report should be readable by its owner and reporting group but not by other users. Which action best resolves the specific issue while preserving correct system behavior?

  1. Set mode 640 with chmod and assign the appropriate reporting group.
  2. Apply an appropriate umask such as 027 when a regular file is initially created with mode 666.
  3. Set the sticky bit on the shared directory while preserving the required shared access.
  4. Apply the directory setgid bit with chmod g+s on the shared project directory.

Explanation

Correct Answer

A:

Set mode 640 with chmod and assign the appropriate reporting group. This corrects the case-specific failure. First verify: Inspect current mode and group ownership of the report file. Then demonstrate success: ls -l shows rw-r----- and authorized group members can read without unrelated access.

Incorrect Answers

B:

Apply an appropriate umask such as 027 when a regular file is initially created with mode 666. That would matter when a newly created private file should default to owner read/write and group read only, with no permissions for others. The relevant distinction in this case is: Set mode 640 with chmod and assign the appropriate reporting group.

C:

Set the sticky bit on the shared directory while preserving the required shared access. 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:

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

Question 413

A quick workaround is proposed for this Linux problem: A service package is no longer needed but its local configuration should remain for possible reinstallation. Which assumption creates the most relevant technical risk?

  1. Using purge when configuration must survive destroys more package-managed state than a remove.
  2. A normal remove is not equivalent to a purge of package-managed configuration.
  3. Assuming a package name alone proves its content can lead to installing the wrong tool.
  4. apt-get update refreshes package metadata; it does not itself install newer packages.

Explanation

Correct Answer

A:

Using purge when configuration must survive destroys more package-managed state than a remove. This is the scenario's misleading assumption. An engineer should investigate: Check whether the service has modified configuration files that need to be retained. Appropriate evidence afterward is: The binaries are removed while package configuration designated for retention remains.

Incorrect Answers

B:

A normal remove is not equivalent to a purge of package-managed configuration. That would matter when an obsolete package must be removed together with its package-managed configuration files. The relevant distinction in this case is: Using purge when configuration must survive destroys more package-managed state than a remove.

C:

Assuming a package name alone proves its content can lead to installing the wrong tool. That would matter when a technician needs package description and dependencies before installing a Debian repository package. It does not address this case's requirement: A service package is no longer needed but its local configuration should remain for possible reinstallation.

D:

apt-get update refreshes package metadata; it does not itself install newer packages. 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 414

A quick workaround is proposed for this Linux problem: An inventory should match only lines ending in .conf, not .conf.old filenames. Which assumption creates the most relevant technical risk?

  1. Assuming + is a quantifier in every basic grep dialect may produce literal-character matching instead.
  2. An unanchored grep ERROR also matches lines containing the token later in the line.
  3. Deleting every line containing # anywhere may discard legitimate inline data.
  4. An unescaped dot matches any character and omitting $ accepts extra suffix text.

Explanation

Correct Answer

D:

An unescaped dot matches any character and omitting $ accepts extra suffix text. This is the scenario's misleading assumption. An engineer should investigate: Inspect how literal dot and end-of-line anchors interact in basic regex. Appropriate evidence afterward is: Files with the exact suffix match while .conf.old examples do not.

Incorrect Answers

A:

Assuming + is a quantifier in every basic grep dialect may produce literal-character matching instead. That would matter when an engineer needs to match one or more digits using extended regular expression quantifiers. The relevant distinction in this case is: An unescaped dot matches any character and omitting $ accepts extra suffix text.

B:

An unanchored grep ERROR also matches lines containing the token later in the line. That would matter when an operator wants grep to match only lines beginning with ERROR, not lines with that word in the middle. It does not address this case's requirement: An inventory should match only lines ending in .conf, not .conf.old filenames.

C:

Deleting every line containing # anywhere may discard legitimate inline data. That would matter when a report should exclude comment lines that begin with the # character. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 415

A quick workaround is proposed for this Linux problem: A suspected process is unresponsive to a normal termination request but its temporary files must be considered. Which assumption creates the most relevant technical risk?

  1. Using killall with a generic name risks terminating unrelated instances.
  2. Appending & by itself does not reliably prevent hangup termination for every session configuration.
  3. SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown.
  4. nohup preserves a program but does not provide reattachment to the same interactive terminal session.

Explanation

Correct Answer

C:

SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown. This is the scenario's misleading assumption. An engineer should investigate: Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. Appropriate evidence afterward is: The exact unresponsive process stops and collateral state is assessed afterward.

Incorrect Answers

A:

Using killall with a generic name risks terminating unrelated instances. 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: SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown.

B:

Appending & by itself does not reliably prevent hangup termination for every session configuration. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. It does not address this case's requirement: A suspected process is unresponsive to a normal termination request but its temporary files must be considered.

D:

nohup preserves a program but does not provide reattachment to the same interactive terminal session. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 416

A Linux operator claims the following problem is resolved: An administrator changed a vi buffer and needs to save the edits and exit cleanly. Which result best demonstrates an effective repair?

  1. The file on disk retains its pre-edit content after reopening it.
  2. The blank line appears immediately below the previous line and accepts new text.
  3. The cursor visits subsequent matches of the intended pattern.
  4. The editor exits and reopening the file shows the saved modifications.

Explanation

Correct Answer

D:

The editor exits and reopening the file shows the saved modifications. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: In normal mode use :wq to write the file and quit the editor.

Incorrect Answers

A:

The file on disk retains its pre-edit content after reopening it. That would matter when a mistaken edit in vi must be abandoned without writing a damaged configuration. The relevant distinction in this case is: The editor exits and reopening the file shows the saved modifications.

B:

The blank line appears immediately below the previous line and accepts new text. That would matter when an editor wants to open a blank line below the current vi line and start entering text. It does not address this case's requirement: An administrator changed a vi buffer and needs to save the edits and exit cleanly.

C:

The cursor visits subsequent matches of the intended pattern. That would matter when a large file must be searched in vi for the next occurrence of a distinctive setting. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 417

A Linux administrator faces this situation: A user can list the name of a protected directory but receives permission denied when entering it. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use chown for the intended owner and group on the verified paths with scoped recursion if required.
  2. Grant the minimum required directory execute permission to the authorized principal or group.
  3. Set the sticky bit on the shared directory while preserving the required shared access.
  4. Use chgrp with the intended group and narrowly scoped recursion when required.

Explanation

Correct Answer

B:

Grant the minimum required directory execute permission to the authorized principal or group. This corrects the case-specific failure. First verify: Inspect the parent-directory permissions, especially execute or search permission on each path component. Then demonstrate success: The authorized user can traverse the directory path without excessive listing or write rights.

Incorrect Answers

A:

Use chown for the intended owner and group on the verified paths with scoped recursion if required. That would matter when a service process cannot read a data directory because files are owned by the wrong account. The relevant distinction in this case is: Grant the minimum required directory execute permission to the authorized principal or group.

C:

Set the sticky bit on the shared directory while preserving the required shared access. 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 user can list the name of a protected directory but receives permission denied when entering it.

D:

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 418

A Linux administrator faces this situation: An operator wants grep to match only lines beginning with ERROR, not lines with that word in the middle. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use grep '\.conf$' to match a literal .conf suffix at the line end.
  2. Use grep -i error file.log to ignore letter case during matching.
  3. Use grep -E '[0-9]+' on the target input.
  4. Use grep '^ERROR' file.log to require the token at the start of a line.

Explanation

Correct Answer

D:

Use grep '^ERROR' file.log to require the token at the start of a line. This corrects the case-specific failure. First verify: Test sample lines with and without leading characters before choosing the regex anchor. Then demonstrate success: Only lines whose first characters are ERROR match the pattern.

Incorrect Answers

A:

Use grep '\.conf$' to match a literal .conf suffix at the line end. That would matter when an inventory should match only lines ending in .conf, not .conf.old filenames. The relevant distinction in this case is: Use grep '^ERROR' file.log to require the token at the start of a line.

B:

Use grep -i error file.log to ignore letter case during matching. That would matter when a case-insensitive log search should find ERROR, Error, and error without changing the input files. It does not address this case's requirement: An operator wants grep to match only lines beginning with ERROR, not lines with that word in the middle.

C:

Use grep -E '[0-9]+' on the target input. That would matter when an engineer needs to match one or more digits using extended regular expression quantifiers. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 419

A Linux operator claims the following problem is resolved: An already running background process is delaying interactive work and needs a lower scheduling priority. Which result best demonstrates an effective repair?

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

Explanation

Correct Answer

A:

The process's NI changes while its PID remains the same and workload impact can be measured. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use renice -n 10 -p PID with adequate privileges to adjust the running process.

Incorrect Answers

B:

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. The relevant distinction in this case is: The process's NI changes while its PID remains the same and workload impact can be measured.

C:

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. It does not address this case's requirement: An already running background process is delaying interactive work and needs a lower scheduling priority.

D:

ps reports the lower NI value after the change and the service remains running. 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 420

A quick workaround is proposed for this Linux problem: An administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. Which assumption creates the most relevant technical risk?

  1. Free memory output alone does not identify which process is consuming CPU.
  2. jobs reports jobs controlled by the current shell, not all processes on the system.
  3. fg cannot attach to an arbitrary process outside the invoking shell's job control.
  4. A single ps command provides one snapshot rather than a recurring view.

Explanation

Correct Answer

B:

jobs reports jobs controlled by the current shell, not all processes on the system. This is the scenario's misleading assumption. An engineer should investigate: Check whether the chosen ps options include processes across users and terminals. Appropriate evidence afterward is: The output includes system daemons and other users' processes with their PIDs.

Incorrect Answers

A:

Free memory output alone does not identify which process is consuming CPU. That would matter when the support team needs a live ranking of CPU-intensive processes during a short performance incident. The relevant distinction in this case is: jobs reports jobs controlled by the current shell, not all processes on the system.

C:

fg cannot attach to an arbitrary process outside the invoking shell's job control. 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:

A single ps command provides one snapshot rather than a recurring view. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. That separate mechanism does not verify the needed Linux administration outcome in this case.