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 15

Question 140

A Linux operator claims the following problem is resolved: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. Which result best demonstrates an effective repair?

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

Explanation

Correct Answer

C:

lspci and the driver's sysfs binding identify the controller and the associated block device becomes available. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Expose the intended PCI device and load its supported kernel driver after verifying guest compatibility.

Incorrect Answers

A:

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. The relevant distinction in this case is: lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.

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 storage controller is visible to the hypervisor but not identified in the guest's PCI inventory.

D:

lsmod lists the loaded driver and the peripheral exposes its expected functionality. That would matter when a device driver is present on disk but its kernel module has not been loaded for a supported peripheral. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 141

Before changing a Linux system, an engineer observes: A directory tree must be archived with relative paths for transfer to another Linux machine. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the fully expanded absolute target path and the contents to be removed.
  2. Check the source parent directory and exclude secrets or temporary mounts as required.
  3. Inspect the target path and confirm no existing path component is unexpectedly a file.
  4. Inspect ownership and permissions of the source and identify whether archive-style preservation is required.

Explanation

Correct Answer

B:

Check the source parent directory and exclude secrets or temporary mounts as required. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive.

Incorrect Answers

A:

Check the fully expanded absolute target path and the contents to be removed. That would matter when a temporary build directory must be deleted recursively while the adjacent production tree remains untouched. The relevant distinction in this case is: Check the source parent directory and exclude secrets or temporary mounts as required.

C:

Inspect the target path and confirm no existing path component is unexpectedly a file. That would matter when a directory must be created under several missing parent components in one command. It does not address this case's requirement: A directory tree must be archived with relative paths for transfer to another Linux machine.

D:

Inspect ownership and permissions of the source and identify whether archive-style preservation is required. That would matter when an administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 142

A Linux administrator faces this situation: A log search should find an exact string containing brackets and dots without interpreting regex syntax. 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 -i error file.log to ignore letter case during matching.
  3. Use grep -v '^#' for exact first-character comments or adjust the expression for optional whitespace.
  4. Use grep '^ERROR' file.log to require the token at the start of a line.

Explanation

Correct Answer

A:

Use grep -F with the exact text to perform a fixed-string search. This corrects the case-specific failure. First verify: Identify metacharacters in the search string and decide that no regex matching is needed. Then demonstrate success: The literal bracketed identifier matches while regex-like alternatives are not accepted.

Incorrect Answers

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. The relevant distinction in this case is: Use grep -F with the exact text to perform a fixed-string search.

C:

Use grep -v '^#' for exact first-character comments or adjust the expression for optional whitespace. That would matter when a report should exclude comment lines that begin with the # character. It does not address this case's requirement: A log search should find an exact string containing brackets and dots without interpreting regex syntax.

D:

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 143

A Linux administrator faces this situation: An organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. Which action best resolves the specific issue while preserving correct system behavior?

  1. Plan storage with LVM so eligible logical volumes can be extended as capacity grows.
  2. Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location.
  3. Allocate /var to a separately sized filesystem or logical volume to contain log growth.
  4. Create a dedicated /home filesystem and keep it separate from the operating-system root partition.

Explanation

Correct Answer

A:

Plan storage with LVM so eligible logical volumes can be extended as capacity grows. This corrects the case-specific failure. First verify: Inspect existing physical volumes, volume groups, logical volumes, and filesystem support. Then demonstrate success: A controlled virtual disk expansion increases the desired filesystem without moving unrelated mount points.

Incorrect Answers

B:

Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location. 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: Plan storage with LVM so eligible logical volumes can be extended as capacity grows.

C:

Allocate /var to a separately sized filesystem or logical volume to contain log growth. 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: An organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions.

D:

Create a dedicated /home filesystem and keep it separate from the operating-system root partition. That would matter when a workstation must preserve user data when its system filesystem is reinstalled. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 144

A quick workaround is proposed for this Linux problem: A Debian binary package is installed but the operator needs to list the files shipped by that package. Which assumption creates the most relevant technical risk?

  1. dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files.
  2. A normal remove is not equivalent to a purge of package-managed configuration.
  3. dpkg -i does not automatically fetch all missing repository dependencies the way APT usually can.
  4. apt-get update refreshes package metadata; it does not itself install newer packages.

Explanation

Correct Answer

A:

dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files. This is the scenario's misleading assumption. An engineer should investigate: Verify the installed package name with dpkg -s before inspecting its contents. Appropriate evidence afterward is: The listed paths match files owned by the installed package.

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: dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files.

C:

dpkg -i does not automatically fetch all missing repository dependencies the way APT usually can. That would matter when a local .deb archive must be installed on an isolated Debian host that may lack dependencies. It does not address this case's requirement: A Debian binary package is installed but the operator needs to list the files shipped by that package.

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 145

A Linux administrator faces this situation: A Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use rpm -ql package-name to list the installed package's file manifest.
  2. Use rpm -Uvh package.rpm for a controlled upgrade or the distribution's dependency-aware manager.
  3. Use rpm -qf /path/to/executable to identify its installed owning package.
  4. Use rpm -qi package-name and appropriate dependency queries before changing the installation.

Explanation

Correct Answer

C:

Use rpm -qf /path/to/executable to identify its installed owning package. This corrects the case-specific failure. First verify: Inspect the exact executable path and verify it is managed by the RPM database. Then demonstrate success: RPM returns the expected package identifier for the tracked path.

Incorrect Answers

A:

Use rpm -ql package-name to list the installed package's file manifest. That would matter when a security reviewer wants all files supplied by an installed RPM package before modifying the service. The relevant distinction in this case is: Use rpm -qf /path/to/executable to identify its installed owning package.

B:

Use rpm -Uvh package.rpm for a controlled upgrade or the distribution's dependency-aware manager. That would matter when a local RPM package is a newer version and should replace its installed predecessor. It does not address this case's requirement: A Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it.

D:

Use rpm -qi package-name and appropriate dependency queries before changing the installation. That would matter when an RPM update is blocked and an engineer needs package metadata rather than guessing file versions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 146

A Linux operator claims the following problem is resolved: An administrator finds an unexpected setuid bit on a program that runs with elevated effective privilege. Which result best demonstrates an effective repair?

  1. The program's mode no longer includes unintended setuid and legitimate tasks still work.
  2. ls -ld shows the sticky bit and unauthorized users cannot remove others' entries.
  3. The authorized user can traverse the directory path without excessive listing or write rights.
  4. A newly created regular file has mode 640 under the stated creation assumptions.

Explanation

Correct Answer

A:

The program's mode no longer includes unintended setuid and legitimate tasks still work. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Remove unintended setuid permission or replace the program with an approved privilege boundary.

Incorrect Answers

B:

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. The relevant distinction in this case is: The program's mode no longer includes unintended setuid and legitimate tasks still work.

C:

The authorized user can traverse the directory path without excessive listing or write rights. That would matter when a user can list the name of a protected directory but receives permission denied when entering it. It does not address this case's requirement: An administrator finds an unexpected setuid bit on a program that runs with elevated effective privilege.

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 147

Before changing a Linux system, an engineer observes: An inventory should match only lines ending in .conf, not .conf.old filenames. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect how literal dot and end-of-line anchors interact in basic regex.
  2. Inspect whether leading whitespace before # is allowed and establish the appropriate anchor.
  3. Test sample lines with and without leading characters before choosing the regex anchor.
  4. Check grep mode and distinguish extended + from its basic regex interpretation.

Explanation

Correct Answer

A:

Inspect how literal dot and end-of-line anchors interact in basic regex. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use grep '\.conf$' to match a literal .conf suffix at the line end.

Incorrect Answers

B:

Inspect whether leading whitespace before # is allowed and establish the appropriate anchor. That would matter when a report should exclude comment lines that begin with the # character. The relevant distinction in this case is: Inspect how literal dot and end-of-line anchors interact in basic regex.

C:

Test sample lines with and without leading characters before choosing the regex anchor. 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.

D:

Check grep mode and distinguish extended + from its basic regex interpretation. 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 148

A quick workaround is proposed for this Linux problem: A technician needs package description and dependencies before installing a Debian repository package. Which assumption creates the most relevant technical risk?

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

Explanation

Correct Answer

B:

Assuming a package name alone proves its content can lead to installing the wrong tool. This is the scenario's misleading assumption. An engineer should investigate: Check repository metadata availability and the exact package name. Appropriate evidence afterward is: The metadata identifies the intended package version, description, and dependency relationships.

Incorrect Answers

A:

Searching repository descriptions is not equivalent to finding the installed package that owns a file. That would matter when a system file has changed and an operator wants to identify its owning installed Debian package. The relevant distinction in this case is: Assuming a package name alone proves its content can lead to installing the wrong tool.

C:

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. It does not address this case's requirement: A technician needs package description and dependencies before installing a Debian repository package.

D:

Using purge when configuration must survive destroys more package-managed state than a remove. That would matter when a service package is no longer needed but its local configuration should remain for possible reinstallation. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 149

Before changing a Linux system, an engineer observes: An administrator needs a temporary non-graphical maintenance session without changing the next boot. Which check most directly isolates the relevant cause or prerequisite?

  1. Check whether a shutdown countdown remains scheduled and what warning users received.
  2. Check currently active targets and verify that isolating the target will not terminate required remote access.
  3. Check systemctl get-default and determine which target is reached after boot.
  4. Verify the planned stop time and which interactive sessions will be affected.

Explanation

Correct Answer

B:

Check currently active targets and verify that isolating the target will not terminate required remote access. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved.

Incorrect Answers

A:

Check whether a shutdown countdown remains scheduled and what warning users received. 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: Check currently active targets and verify that isolating the target will not terminate required remote access.

C:

Check systemctl get-default and determine which target is reached after boot. That would matter when a headless server boots into a graphical target despite the organization's text-console requirement. It does not address this case's requirement: An administrator needs a temporary non-graphical maintenance session without changing the next boot.

D:

Verify the planned stop time and which interactive sessions will be affected. That would matter when a maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 150

A Linux administrator faces this situation: A suspected process is unresponsive to a normal termination request but its temporary files must be considered. Which action best resolves the specific issue while preserving correct system behavior?

  1. Start the task inside a tmux or screen session and detach before disconnecting.
  2. Identify the exact target PID and send a normal SIGTERM using kill before escalation.
  3. Launch it with nohup and appropriate output redirection or use a persistent session manager.
  4. Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.

Explanation

Correct Answer

D:

Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure. This corrects the case-specific failure. First verify: Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. Then demonstrate success: The exact unresponsive process stops and collateral state is assessed afterward.

Incorrect Answers

A:

Start the task inside a tmux or screen session and detach before disconnecting. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. The relevant distinction in this case is: Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.

B:

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

C:

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