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 9

Question 80

Before changing a Linux system, an engineer observes: An already running background process is delaying interactive work and needs a lower scheduling priority. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the PID, owner, and current NI value of the existing process.
  2. Check the service owner's privilege and confirm the desired new nice value is lower than 15.
  3. Inspect the default nice value and confirm the process is appropriate for a reduced priority.
  4. Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority.

Explanation

Correct Answer

A:

Check the PID, owner, and current NI value of the existing process. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use renice -n 10 -p PID with adequate privileges to adjust the running process.

Incorrect Answers

B:

Check the service owner's privilege and confirm the desired new nice value is lower than 15. 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. The relevant distinction in this case is: Check the PID, owner, and current NI value of the existing process.

C:

Inspect the default nice value and confirm the process is appropriate for a reduced priority. 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:

Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority. 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 81

Before changing a Linux system, an engineer observes: An operator needs to view command output on screen and retain the same stream in a file. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the redirection ordering and decide whether both descriptors should share the file.
  2. Identify which messages use file descriptor 1 versus file descriptor 2.
  3. Verify that the source command emits the desired information on stdout.
  4. Inspect whether the program accepts data from stdin rather than requiring a file pathname.

Explanation

Correct Answer

C:

Verify that the source command emits the desired information on stdout. This isolates the relevant condition before applying a change. The appropriate corrective response is: Pipe the command output into tee output.log so the stream reaches both the terminal and file.

Incorrect Answers

A:

Inspect the redirection ordering and decide whether both descriptors should share the file. That would matter when a script needs to record both standard output and error output in a single file for one command. The relevant distinction in this case is: Verify that the source command emits the desired information on stdout.

B:

Identify which messages use file descriptor 1 versus file descriptor 2. That would matter when a command writes reports to standard output and warnings to standard error but only reports should enter a data file. It does not address this case's requirement: An operator needs to view command output on screen and retain the same stream in a file.

D:

Inspect whether the program accepts data from stdin rather than requiring a file pathname. That would matter when a program reads input from standard input but the data already exists in a local file. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 82

Before changing a Linux system, an engineer observes: An administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the use of single versus double quotes and the variables in the command line.
  2. Check the command chaining operator and the first command's exit status.
  3. Inspect echo "$PATH" and type -a for the command to see every candidate in search order.
  4. Use type command-name to distinguish a shell alias, builtin, function, or external executable.

Explanation

Correct Answer

B:

Check the command chaining operator and the first command's exit status. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use && when the second command must run only after a successful first command.

Incorrect Answers

A:

Inspect the use of single versus double quotes and the variables in the command line. That would matter when an operator expects a literal dollar sign and asterisk inside a message but Bash expands them. The relevant distinction in this case is: Check the command chaining operator and the first command's exit status.

C:

Inspect echo "$PATH" and type -a for the command to see every candidate in search order. That would matter when an interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. It does not address this case's requirement: An administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds.

D:

Use type command-name to distinguish a shell alias, builtin, function, or external executable. That would matter when a shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 83

A quick workaround is proposed for this Linux problem: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. Which assumption creates the most relevant technical risk?

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

Explanation

Correct Answer

C:

Confusing lower niceness with lower priority can lead to changing the value in the wrong direction. This is the scenario's misleading assumption. An engineer should investigate: Check the service owner's privilege and confirm the desired new nice value is lower than 15. Appropriate evidence afterward is: ps reports the lower NI value after the change and the service remains running.

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: Confusing lower niceness with lower priority can lead to changing the value in the wrong direction.

B:

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. It does not address this case's requirement: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range.

D:

nice affects a newly launched command; it does not retroactively change an existing PID. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 84

A Linux administrator faces this situation: A database host must boot into recovery mode to repair a local configuration before normal services start. Which action best resolves the specific issue while preserving correct system behavior?

  1. Set multi-user.target as the persistent default using systemctl set-default.
  2. Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling.
  3. Boot with the supported rescue option or isolate rescue.target through authorized local access.
  4. Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.

Explanation

Correct Answer

C:

Boot with the supported rescue option or isolate rescue.target through authorized local access. This corrects the case-specific failure. First verify: Inspect the boot manager's temporary kernel options and identify the appropriate systemd rescue target. Then demonstrate success: The machine presents a maintenance environment and returns to normal boot after the repair.

Incorrect Answers

A:

Set multi-user.target as the persistent default using systemctl set-default. 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: Boot with the supported rescue option or isolate rescue.target through authorized local access.

B:

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. It does not address this case's requirement: A database host must boot into recovery mode to repair a local configuration before normal services start.

D:

Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users. 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 85

A Linux administrator faces this situation: A report requires counting matching text lines without retaining the entire intermediate output. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use command 2>> errors.log to append standard error messages.
  2. Pipe the command output into tee output.log so the stream reaches both the terminal and file.
  3. Merge the intended stderr stream into stdout before the pipe when approved.
  4. Connect grep matching.log file.log to wc -l using a pipeline.

Explanation

Correct Answer

D:

Connect grep matching.log file.log to wc -l using a pipeline. This corrects the case-specific failure. First verify: Check the grep match criteria and whether the next command accepts standard input. Then demonstrate success: The final count equals the number of selected matching lines.

Incorrect Answers

A:

Use command 2>> errors.log to append standard error messages. That would matter when a noisy command must append diagnostic errors to an existing audit file without replacing its contents. The relevant distinction in this case is: Connect grep matching.log file.log to wc -l using a pipeline.

B:

Pipe the command output into tee output.log so the stream reaches both the terminal and file. That would matter when an operator needs to view command output on screen and retain the same stream in a file. It does not address this case's requirement: A report requires counting matching text lines without retaining the entire intermediate output.

C:

Merge the intended stderr stream into stdout before the pipe when approved. That would matter when a script uses a pipeline into tee but needs the file to collect both output and diagnostics. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 86

A quick workaround is proposed for this Linux problem: A service depends on a removable USB device whose node name changes after every reboot. 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

D:

Hard-coding the transient /dev node can redirect automation to a different device. This is the scenario's misleading assumption. An engineer should investigate: Inspect udev properties and symlinks generated for the device rather than relying on the current minor number. Appropriate evidence afterward is: The same physical device resolves through the stable link across detach and reattach cycles.

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

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 service depends on a removable USB device whose node name changes after every reboot.

C:

Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery. That would matter when a storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 87

A Linux administrator faces this situation: An operator needs to find files ending in .log beneath /var/log without searching other filesystems. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use find /var/log -xdev -type f -name '*.log' to select regular log files in that filesystem.
  2. Use dd with carefully checked input and output operands to copy the intended raw device.
  3. Use tar -xzf archive.tar.gz -C /approved/restore/location for controlled extraction.
  4. Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive.

Explanation

Correct Answer

A:

Use find /var/log -xdev -type f -name '*.log' to select regular log files in that filesystem. This corrects the case-specific failure. First verify: Inspect the starting directory and decide whether crossing filesystem boundaries is acceptable. Then demonstrate success: Results contain matching regular .log files under the intended filesystem only.

Incorrect Answers

B:

Use dd with carefully checked input and output operands to copy the intended raw device. That would matter when an operator must produce a byte-for-byte image of an offline removable device before analysis. The relevant distinction in this case is: Use find /var/log -xdev -type f -name '*.log' to select regular log files in that filesystem.

C:

Use tar -xzf archive.tar.gz -C /approved/restore/location for controlled extraction. That would matter when an archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. It does not address this case's requirement: An operator needs to find files ending in .log beneath /var/log without searching other filesystems.

D:

Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 88

A Linux operator claims the following problem is resolved: An administrator needs to install a Debian package by name but the local repository index is stale. Which result best demonstrates an effective repair?

  1. dpkg records the package configured and the required dependencies are satisfied.
  2. The package manager resolves the current repository version and installs the package with dependencies.
  3. The binaries are removed while package configuration designated for retention remains.
  4. The metadata identifies the intended package version, description, and dependency relationships.

Explanation

Correct Answer

B:

The package manager resolves the current repository version and installs the package with dependencies. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Run apt-get update before the planned apt-get install from configured repositories.

Incorrect Answers

A:

dpkg records the package configured and the required dependencies are satisfied. That would matter when a local .deb archive must be installed on an isolated Debian host that may lack dependencies. The relevant distinction in this case is: The package manager resolves the current repository version and installs the package with dependencies.

C:

The binaries are removed while package configuration designated for retention remains. That would matter when a service package is no longer needed but its local configuration should remain for possible reinstallation. It does not address this case's requirement: An administrator needs to install a Debian package by name but the local repository index is stale.

D:

The metadata identifies the intended package version, description, and dependency relationships. That would matter when a technician needs package description and dependencies before installing a Debian repository package. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 89

A quick workaround is proposed for this Linux problem: A host needs to determine whether an unknown file is ELF executable, ASCII text, or compressed data despite its extension. Which assumption creates the most relevant technical risk?

  1. A .txt or .bin extension is not authoritative evidence of file encoding or executable format.
  2. Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern.
  3. A plain mkdir without -p fails if an intermediate parent directory is absent.
  4. cpio -o consumes file names from standard input and does not discover a directory tree by itself.

Explanation

Correct Answer

A:

A .txt or .bin extension is not authoritative evidence of file encoding or executable format. This is the scenario's misleading assumption. An engineer should investigate: Inspect the file's content signatures rather than trusting only the filename suffix. Appropriate evidence afterward is: The detected type corresponds to representative known content even when its extension is misleading.

Incorrect Answers

B:

Leaving the glob unquoted lets the shell expand it before find evaluates its name pattern. That would matter when an operator needs to find files ending in .log beneath /var/log without searching other filesystems. The relevant distinction in this case is: A .txt or .bin extension is not authoritative evidence of file encoding or executable format.

C:

A plain mkdir without -p fails if an intermediate parent directory is absent. 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 host needs to determine whether an unknown file is ELF executable, ASCII text, or compressed data despite its extension.

D:

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

Question 90

Before changing a Linux system, an engineer observes: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. Which check most directly isolates the relevant cause or prerequisite?

  1. Use type command-name to distinguish a shell alias, builtin, function, or external executable.
  2. Inspect Bash history settings and run history in the active interactive session.
  3. Compare uname -r output with release files and installed package listings.
  4. Check the command chaining operator and the first command's exit status.

Explanation

Correct Answer

C:

Compare uname -r output with release files and installed package listings. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use uname -r to record the release of the currently running Linux kernel.

Incorrect Answers

A:

Use type command-name to distinguish a shell alias, builtin, function, or external executable. That would matter when a shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. The relevant distinction in this case is: Compare uname -r output with release files and installed package listings.

B:

Inspect Bash history settings and run history in the active interactive session. That would matter when a support technician needs to review and reuse recent commands without transcribing them manually. It does not address this case's requirement: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version.

D:

Check the command chaining operator and the first command's exit status. That would matter when an administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. That separate mechanism does not verify the needed Linux administration outcome in this case.