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 19

Question 180

Before changing a Linux system, an engineer observes: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect firmware mode and the intended target disk or EFI location before installing GRUB.
  2. Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write.
  3. Inspect the active generated GRUB configuration and how the distribution constructs it.
  4. Inspect GRUB's visible devices and kernel and initramfs paths before changing partitions.

Explanation

Correct Answer

B:

Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write. This isolates the relevant condition before applying a change. The appropriate corrective response is: Apply configuration in the syntax and file format expected by the installed Legacy bootloader.

Incorrect Answers

A:

Inspect firmware mode and the intended target disk or EFI location before installing GRUB. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. The relevant distinction in this case is: Identify the installed GRUB generation and inspect menu.lst or grub.conf before any write.

C:

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. It does not address this case's requirement: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook.

D:

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 181

A Linux operator claims the following problem is resolved: A team needs to change every occurrence of the word staging to production in a reviewed text stream. Which result best demonstrates an effective repair?

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

Explanation

Correct Answer

C:

Each intended occurrence is replaced in the output while the source file stays intact unless -i is used. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use sed 's/staging/production/g' on an approved input stream after checking scope.

Incorrect Answers

A:

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. The relevant distinction in this case is: Each intended occurrence is replaced in the output while the source file stays intact unless -i is used.

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: A team needs to change every occurrence of the word staging to production in a reviewed text stream.

D:

Sample lines containing digit sequences match and lines without digits do not. 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 182

A Linux operator claims the following problem is resolved: A partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. Which result best demonstrates an effective repair?

  1. swapon --show lists the partition as active swap and memory usage can extend into it.
  2. The resulting filesystem reports TYPE=xfs and mounts with expected behavior.
  3. The disk reports GPT metadata and the required partitions can be created across the intended capacity.
  4. blkid reports ext4 and the partition mounts successfully with a writable test file.

Explanation

Correct Answer

D:

blkid reports ext4 and the partition mounts successfully with a writable test file. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Create an ext4 filesystem with mkfs.ext4 on the verified target partition.

Incorrect Answers

A:

swapon --show lists the partition as active swap and memory usage can extend into it. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. The relevant distinction in this case is: blkid reports ext4 and the partition mounts successfully with a writable test file.

B:

The resulting filesystem reports TYPE=xfs and mounts with expected behavior. That would matter when a dedicated partition is intended for XFS but the engineer initially formats it with ext4. It does not address this case's requirement: A partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem.

C:

The disk reports GPT metadata and the required partitions can be created across the intended capacity. That would matter when a new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 183

A Linux administrator faces this situation: A headless server boots into a graphical target despite the organization's text-console requirement. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved.
  2. Boot with the supported rescue option or isolate rescue.target through authorized local access.
  3. Set multi-user.target as the persistent default using systemctl set-default.
  4. Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling.

Explanation

Correct Answer

C:

Set multi-user.target as the persistent default using systemctl set-default. This corrects the case-specific failure. First verify: Check systemctl get-default and determine which target is reached after boot. Then demonstrate success: After reboot, the default target is multi-user.target and the server reaches its text-mode services.

Incorrect Answers

A:

Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. The relevant distinction in this case is: Set multi-user.target as the persistent default using systemctl set-default.

B:

Boot with the supported rescue option or isolate rescue.target through authorized local access. That would matter when a database host must boot into recovery mode to repair a local configuration before normal services start. It does not address this case's requirement: A headless server boots into a graphical target despite the organization's text-console requirement.

D:

Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 184

A Linux operator claims the following problem is resolved: An operator expects a literal dollar sign and asterisk inside a message but Bash expands them. Which result best demonstrates an effective repair?

  1. The intended local program starts without globally adding a potentially unsafe directory to PATH.
  2. The child process receives the intended value and performs the configured action.
  3. The variable no longer appears in env for subsequently launched child processes.
  4. The output contains the intended literal characters without variable or glob expansion.

Explanation

Correct Answer

D:

The output contains the intended literal characters without variable or glob expansion. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use appropriate single quoting for fully literal text or escape specific metacharacters.

Incorrect Answers

A:

The intended local program starts without globally adding a potentially unsafe directory to PATH. That would matter when a technician invokes a local executable by name but Bash reports command not found although the file is in the current directory. The relevant distinction in this case is: The output contains the intended literal characters without variable or glob expansion.

B:

The child process receives the intended value and performs the configured action. That would matter when a child process cannot see a variable that works when echoed in its parent Bash shell. It does not address this case's requirement: An operator expects a literal dollar sign and asterisk inside a message but Bash expands them.

C:

The variable no longer appears in env for subsequently launched child processes. That would matter when a command-line support task must remove one exported environment variable for a single Bash session. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 185

A Linux operator claims the following problem is resolved: A dedicated partition is intended for XFS but the engineer initially formats it with ext4. Which result best demonstrates an effective repair?

  1. swapon --show lists the partition as active swap and memory usage can extend into it.
  2. blkid reports ext4 and the partition mounts successfully with a writable test file.
  3. The resulting filesystem reports TYPE=xfs and mounts with expected behavior.
  4. The disk reports GPT metadata and the required partitions can be created across the intended capacity.

Explanation

Correct Answer

C:

The resulting filesystem reports TYPE=xfs and mounts with expected behavior. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use mkfs.xfs on the intended empty partition when XFS is the approved format.

Incorrect Answers

A:

swapon --show lists the partition as active swap and memory usage can extend into it. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. The relevant distinction in this case is: The resulting filesystem reports TYPE=xfs and mounts with expected behavior.

B:

blkid reports ext4 and the partition mounts successfully with a writable test file. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. It does not address this case's requirement: A dedicated partition is intended for XFS but the engineer initially formats it with ext4.

D:

The disk reports GPT metadata and the required partitions can be created across the intended capacity. That would matter when a new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 186

A Linux operator claims the following problem is resolved: A child process cannot see a variable that works when echoed in its parent Bash shell. Which result best demonstrates an effective repair?

  1. The intended local program starts without globally adding a potentially unsafe directory to PATH.
  2. The output contains the intended literal characters without variable or glob expansion.
  3. The variable no longer appears in env for subsequently launched child processes.
  4. The child process receives the intended value and performs the configured action.

Explanation

Correct Answer

D:

The child process receives the intended value and performs the configured action. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Export the required variable with export NAME=value before launching the child.

Incorrect Answers

A:

The intended local program starts without globally adding a potentially unsafe directory to PATH. That would matter when a technician invokes a local executable by name but Bash reports command not found although the file is in the current directory. The relevant distinction in this case is: The child process receives the intended value and performs the configured action.

B:

The output contains the intended literal characters without variable or glob expansion. That would matter when an operator expects a literal dollar sign and asterisk inside a message but Bash expands them. It does not address this case's requirement: A child process cannot see a variable that works when echoed in its parent Bash shell.

C:

The variable no longer appears in env for subsequently launched child processes. That would matter when a command-line support task must remove one exported environment variable for a single Bash session. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 187

A quick workaround is proposed for this Linux problem: A downloaded administrative script must be compared with a published SHA-256 digest before execution. Which assumption creates the most relevant technical risk?

  1. uniq alone collapses only adjacent duplicate lines, not separated duplicates.
  2. A matching checksum protects integrity only relative to a trustworthy expected digest, not publisher identity by itself.
  3. head displays the beginning of a file and will not show the most recent appended entries.
  4. Using sed replacement syntax directly with tr is invalid because tr translates character sets.

Explanation

Correct Answer

B:

A matching checksum protects integrity only relative to a trustworthy expected digest, not publisher identity by itself. This is the scenario's misleading assumption. An engineer should investigate: Check the expected digest comes from a trusted separate source and identify the exact file bytes. Appropriate evidence afterward is: The computed checksum exactly matches the independently obtained expected SHA-256 value.

Incorrect Answers

A:

uniq alone collapses only adjacent duplicate lines, not separated duplicates. 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: A matching checksum protects integrity only relative to a trustworthy expected digest, not publisher identity by itself.

C:

head displays the beginning of a file and will not show the most recent appended entries. 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 downloaded administrative script must be compared with a published SHA-256 digest before execution.

D:

Using sed replacement syntax directly with tr is invalid because tr translates character sets. 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 188

A quick workaround is proposed for this Linux problem: An already running background process is delaying interactive work and needs a lower scheduling priority. Which assumption creates the most relevant technical risk?

  1. Increasing nice value generally lowers process scheduling priority, not raises it.
  2. Confusing lower niceness with lower priority can lead to changing the value in the wrong direction.
  3. PID ordering says nothing about a process's current nice value.
  4. nice affects a newly launched command; it does not retroactively change an existing PID.

Explanation

Correct Answer

D:

nice affects a newly launched command; it does not retroactively change an existing PID. This is the scenario's misleading assumption. An engineer should investigate: Check the PID, owner, and current NI value of the existing process. Appropriate evidence afterward is: The process's NI changes while its PID remains the same and workload impact can be measured.

Incorrect Answers

A:

Increasing nice value generally lowers process scheduling priority, not raises it. That would matter when a CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks. The relevant distinction in this case is: nice affects a newly launched command; it does not retroactively change an existing PID.

B:

Confusing lower niceness with lower priority can lead to changing the value in the wrong direction. 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. It does not address this case's requirement: An already running background process is delaying interactive work and needs a lower scheduling priority.

C:

PID ordering says nothing about a process's current nice value. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 189

A quick workaround is proposed for this Linux problem: A service stores changing logs directly in /usr/share and a package update replaces them. Which assumption creates the most relevant technical risk?

  1. locate searches an indexed snapshot and can be stale or omit excluded paths.
  2. which reports the executable found on PATH and does not search all manual-page locations.
  3. Mixing local configuration into executable directories complicates upgrades and violates normal FHS roles.
  4. /usr/share is intended for shareable static data, not continuous host-specific log growth.

Explanation

Correct Answer

D:

/usr/share is intended for shareable static data, not continuous host-specific log growth. This is the scenario's misleading assumption. An engineer should investigate: Inspect whether the files are mutable runtime data or read-only architecture-independent resources. Appropriate evidence afterward is: Log rotation and package upgrades preserve the expected separation of changing and static files.

Incorrect Answers

A:

locate searches an indexed snapshot and can be stale or omit excluded paths. That would matter when a file was recently installed but locate cannot find it even though find does. The relevant distinction in this case is: /usr/share is intended for shareable static data, not continuous host-specific log growth.

B:

which reports the executable found on PATH and does not search all manual-page locations. That would matter when an administrator needs to locate both a command's executable and its manual page in standard locations. It does not address this case's requirement: A service stores changing logs directly in /usr/share and a package update replaces them.

C:

Mixing local configuration into executable directories complicates upgrades and violates normal FHS roles. 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 190

A Linux administrator faces this situation: A service package is no longer needed but its local configuration should remain for possible reinstallation. Which action best resolves the specific issue while preserving correct system behavior?

  1. Run apt-get update before the planned apt-get install from configured repositories.
  2. Use apt-get remove or dpkg -r rather than the purge operation.
  3. Use dpkg -L package-name to enumerate the installed package's file list.
  4. Use apt-get purge or dpkg --purge for the package when configuration removal is authorized.

Explanation

Correct Answer

B:

Use apt-get remove or dpkg -r rather than the purge operation. This corrects the case-specific failure. First verify: Check whether the service has modified configuration files that need to be retained. Then demonstrate success: The binaries are removed while package configuration designated for retention remains.

Incorrect Answers

A:

Run apt-get update before the planned apt-get install from configured repositories. That would matter when an administrator needs to install a Debian package by name but the local repository index is stale. The relevant distinction in this case is: Use apt-get remove or dpkg -r rather than the purge operation.

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 service package is no longer needed but its local configuration should remain for possible reinstallation.

D:

Use apt-get purge or dpkg --purge for the package when configuration removal is authorized. That would matter when an obsolete package must be removed together with its package-managed configuration files. That separate mechanism does not verify the needed Linux administration outcome in this case.