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 40

Question 390

A quick workaround is proposed for this Linux problem: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. Which assumption creates the most relevant technical risk?

  1. Treating /dev and /sys as interchangeable writable configuration stores misunderstands their roles.
  2. Using insmod without resolving dependencies or checking module compatibility can leave device initialization incomplete.
  3. Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery.
  4. Hard-coding the transient /dev node can redirect automation to a different device.

Explanation

Correct Answer

C:

Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery. This is the scenario's misleading assumption. An engineer should investigate: Check whether the device is presented to the guest and inspect lspci output and the corresponding /sys/bus/pci entries. Appropriate evidence afterward is: lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.

Incorrect Answers

A:

Treating /dev and /sys as interchangeable writable configuration stores misunderstands their roles. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. The relevant distinction in this case is: Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery.

B:

Using insmod without resolving dependencies or checking module compatibility can leave device initialization incomplete. That would matter when a device driver is present on disk but its kernel module has not been loaded for a supported peripheral. It does not address this case's requirement: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory.

D:

Hard-coding the transient /dev node can redirect automation to a different device. 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 391

A Linux operator claims the following problem is resolved: An administrator needs to locate both a command's executable and its manual page in standard locations. Which result best demonstrates an effective repair?

  1. Log rotation and package upgrades preserve the expected separation of changing and static files.
  2. The output identifies the installed executable and the associated man page when available.
  3. locate returns the new file after indexing, consistent with a direct find result.
  4. The service reads host configuration from /etc and packages can update programs without overwriting it.

Explanation

Correct Answer

B:

The output identifies the installed executable and the associated man page when available. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use whereis command-name for typical binary, source, and manual locations.

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

C:

locate returns the new file after indexing, consistent with a direct find result. That would matter when a file was recently installed but locate cannot find it even though find does. 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:

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

Question 392

A Linux administrator faces this situation: A system file has changed and an operator wants to identify its owning installed Debian package. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use dpkg -S /path/to/file to search installed package ownership records.
  2. Use apt-cache show package-name or an equivalent APT metadata query before selecting it.
  3. Use dpkg -L package-name to enumerate the installed package's file list.
  4. Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources.

Explanation

Correct Answer

A:

Use dpkg -S /path/to/file to search installed package ownership records. This corrects the case-specific failure. First verify: Check the exact installed filesystem path and whether it is tracked by dpkg. Then demonstrate success: The package database returns the package owning the requested tracked path.

Incorrect Answers

B:

Use apt-cache show package-name or an equivalent APT metadata query before selecting it. That would matter when a technician needs package description and dependencies before installing a Debian repository package. The relevant distinction in this case is: Use dpkg -S /path/to/file to search installed package ownership records.

C:

Use dpkg -L package-name to enumerate the installed package's file list. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. It does not address this case's requirement: A system file has changed and an operator wants to identify its owning installed Debian package.

D:

Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources. That would matter when a local .deb archive must be installed on an isolated Debian host that may lack dependencies. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 393

Before changing a Linux system, an engineer observes: A confidential report should be readable by its owner and reporting group but not by other users. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect current mode and group ownership of the report file.
  2. Inspect directory write permissions and the current sticky-bit state.
  3. Check current owner and group fields and the target team's group membership.
  4. Check the program's default requested mode and the current umask value.

Explanation

Correct Answer

A:

Inspect current mode and group ownership of the report file. This isolates the relevant condition before applying a change. The appropriate corrective response is: Set mode 640 with chmod and assign the appropriate reporting group.

Incorrect Answers

B:

Inspect directory write permissions and the current sticky-bit state. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. The relevant distinction in this case is: Inspect current mode and group ownership of the report file.

C:

Check current owner and group fields and the target team's group membership. That would matter when an administrator needs to change only a directory tree's group ownership, preserving individual file owners. 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:

Check the program's default requested mode and the current umask value. 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 394

A Linux administrator faces this situation: A monitoring script must run a small diagnostic command repeatedly and display its changing output. Which action best resolves the specific issue while preserving correct system behavior?

  1. Launch it with nohup and appropriate output redirection or use a persistent session manager.
  2. Use ps -ef or an equivalent process listing with owner and PID fields.
  3. Use watch -n seconds with the intended command for a periodically refreshed view.
  4. Identify the exact target PID and send a normal SIGTERM using kill before escalation.

Explanation

Correct Answer

C:

Use watch -n seconds with the intended command for a periodically refreshed view. This corrects the case-specific failure. First verify: Verify the diagnostic command is safe for periodic repetition and set an appropriate interval. Then demonstrate success: The display refreshes at the chosen cadence without requiring repeated manual invocation.

Incorrect Answers

A:

Launch it with nohup and appropriate output redirection or use a persistent session manager. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. The relevant distinction in this case is: Use watch -n seconds with the intended command for a periodically refreshed view.

B:

Use ps -ef or an equivalent process listing with owner and PID fields. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. It does not address this case's requirement: A monitoring script must run a small diagnostic command repeatedly and display its changing output.

D:

Identify the exact target PID and send a normal SIGTERM using kill before escalation. That would matter when a runaway process must be located by command name before sending any termination signal. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 395

A Linux administrator faces this situation: A report should exclude comment lines that begin with the # character. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use grep -F with the exact text to perform a fixed-string search.
  2. Use grep '\.conf$' to match a literal .conf suffix at the line end.
  3. Use grep '^ERROR' file.log to require the token at the start of a line.
  4. Use grep -v '^#' for exact first-character comments or adjust the expression for optional whitespace.

Explanation

Correct Answer

D:

Use grep -v '^#' for exact first-character comments or adjust the expression for optional whitespace. This corrects the case-specific failure. First verify: Inspect whether leading whitespace before # is allowed and establish the appropriate anchor. Then demonstrate success: Only noncomment rows remain under the chosen comment definition.

Incorrect Answers

A:

Use grep -F with the exact text to perform a fixed-string search. That would matter when a log search should find an exact string containing brackets and dots without interpreting regex syntax. The relevant distinction in this case is: Use grep -v '^#' for exact first-character comments or adjust the expression for optional whitespace.

B:

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. It does not address this case's requirement: A report should exclude comment lines that begin with the # character.

C:

Use grep '^ERROR' file.log to require the token at the start of a line. 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 396

A quick workaround is proposed for this Linux problem: A terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. Which assumption creates the most relevant technical risk?

  1. SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown.
  2. Appending & by itself does not reliably prevent hangup termination for every session configuration.
  3. jobs reports jobs controlled by the current shell, not all processes on the system.
  4. nohup preserves a program but does not provide reattachment to the same interactive terminal session.

Explanation

Correct Answer

D:

nohup preserves a program but does not provide reattachment to the same interactive terminal session. This is the scenario's misleading assumption. An engineer should investigate: Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow. Appropriate evidence afterward is: The session remains available and the operator can reattach to its running programs.

Incorrect Answers

A:

SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown. That would matter when a suspected process is unresponsive to a normal termination request but its temporary files must be considered. The relevant distinction in this case is: nohup preserves a program but does not provide reattachment to the same interactive terminal session.

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 terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later.

C:

jobs reports jobs controlled by the current shell, not all processes on the system. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 397

A quick workaround is proposed for this Linux problem: An administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. Which assumption creates the most relevant technical risk?

  1. Archiving absolute paths without reviewing restoration behavior can write outside the target directory.
  2. cpio -o consumes file names from standard input and does not discover a directory tree by itself.
  3. A plain cp of a directory is not a guaranteed recursive metadata-preserving operation.
  4. An incorrect wildcard or recursive deletion target can remove files well beyond the intended scope.

Explanation

Correct Answer

C:

A plain cp of a directory is not a guaranteed recursive metadata-preserving operation. This is the scenario's misleading assumption. An engineer should investigate: Inspect ownership and permissions of the source and identify whether archive-style preservation is required. Appropriate evidence afterward is: The copied tree retains expected symlinks, modes, and timestamps without dereferencing links unexpectedly.

Incorrect Answers

A:

Archiving absolute paths without reviewing restoration behavior can write outside the target directory. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. The relevant distinction in this case is: A plain cp of a directory is not a guaranteed recursive metadata-preserving operation.

B:

cpio -o consumes file names from standard input and does not discover a directory tree by itself. 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 administrator must copy a directory tree while retaining timestamps, modes, and symbolic links.

D:

An incorrect wildcard or recursive deletion target can remove files well beyond the intended scope. That would matter when a temporary build directory must be deleted recursively while the adjacent production tree remains untouched. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 398

Before changing a Linux system, an engineer observes: A secondary directory tree must appear at another mount point without creating a second copy of the files. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the device's filesystem type, contents, and the destination mount point.
  2. Check the source directory and destination path before defining the mount.
  3. Inspect the desired mount point, device ownership, and applicable fstab options.
  4. Inspect open files and process working directories with suitable tools before retrying umount.

Explanation

Correct Answer

B:

Check the source directory and destination path before defining the mount. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use mount --bind source_directory target_directory for the required bind mount.

Incorrect Answers

A:

Inspect the device's filesystem type, contents, and the destination mount point. That would matter when a removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. The relevant distinction in this case is: Check the source directory and destination path before defining the mount.

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 secondary directory tree must appear at another mount point without creating a second copy of the files.

D:

Inspect open files and process working directories with suitable tools before retrying umount. That would matter when an unmount command fails because a user process still has its working directory inside the mounted filesystem. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 399

A Linux operator claims the following problem is resolved: A stream includes mixed-case letters but downstream comparison requires lowercase text. Which result best demonstrates an effective repair?

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

Explanation

Correct Answer

C:

Uppercase sample letters become lowercase while unaffected characters remain intact. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use tr '[:upper:]' '[:lower:]' in the supported locale for a text stream.

Incorrect Answers

A:

All occurrences of each hostname contribute to one correct count in the output. That would matter when a list of hostnames contains repeated lines and an operator needs accurate occurrence counts. The relevant distinction in this case is: Uppercase sample letters become lowercase while unaffected characters remain intact.

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 stream includes mixed-case letters but downstream comparison requires lowercase text.

D:

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

Question 400

A Linux operator claims the following problem is resolved: A Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. Which result best demonstrates an effective repair?

  1. The host cleanly stops services, reboots, and runs the intended updated kernel.
  2. After reboot, the default target is multi-user.target and the server reaches its text-mode services.
  3. The current boot switches to multi-user.target while systemctl get-default retains the original configured default.
  4. The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators.

Explanation

Correct Answer

A:

The host cleanly stops services, reboots, and runs the intended updated kernel. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling.

Incorrect Answers

B:

After reboot, the default target is multi-user.target and the server reaches its text-mode services. That would matter when a headless server boots into a graphical target despite the organization's text-console requirement. The relevant distinction in this case is: The host cleanly stops services, reboots, and runs the intended updated kernel.

C:

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 Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut.

D:

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