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 27

Question 260

A Linux operator claims the following problem is resolved: A suspected process is unresponsive to a normal termination request but its temporary files must be considered. Which result best demonstrates an effective repair?

  1. The session remains available and the operator can reattach to its running programs.
  2. After the operator logs out, the command remains running and its output is captured.
  3. The intended process exits gracefully and unrelated processes remain active.
  4. The exact unresponsive process stops and collateral state is assessed afterward.

Explanation

Correct Answer

D:

The exact unresponsive process stops and collateral state is assessed afterward. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.

Incorrect Answers

A:

The session remains available and the operator can reattach to its running programs. 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: The exact unresponsive process stops and collateral state is assessed afterward.

B:

After the operator logs out, the command remains running and its output is captured. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. It does not address this case's requirement: A suspected process is unresponsive to a normal termination request but its temporary files must be considered.

C:

The intended process exits gracefully and unrelated processes remain active. 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 261

A Linux operator claims the following problem is resolved: A newly allocated swap partition is present but the kernel refuses to activate it as swap. Which result best demonstrates an effective repair?

  1. blkid reports ext4 and the partition mounts successfully with a writable test file.
  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. swapon --show lists the partition as active swap and memory usage can extend into it.

Explanation

Correct Answer

D:

swapon --show lists the partition as active swap and memory usage can extend into it. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Initialize the partition with mkswap and activate it using swapon.

Incorrect Answers

A:

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. The relevant distinction in this case is: swapon --show lists the partition as active swap and memory usage can extend into it.

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 newly allocated swap partition is present but the kernel refuses to activate it as swap.

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 262

A quick workaround is proposed for this Linux problem: An obsolete package must be removed together with its package-managed configuration files. Which assumption creates the most relevant technical risk?

  1. A normal remove is not equivalent to a purge of package-managed configuration.
  2. Using purge when configuration must survive destroys more package-managed state than a remove.
  3. Repeatedly downloading archives cannot by itself finish post-install configuration that failed.
  4. dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files.

Explanation

Correct Answer

A:

A normal remove is not equivalent to a purge of package-managed configuration. This is the scenario's misleading assumption. An engineer should investigate: Identify the package's retained config state and back up any intentionally preserved data. Appropriate evidence afterward is: Package-owned configuration entries are removed and the package no longer appears installed.

Incorrect Answers

B:

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. The relevant distinction in this case is: A normal remove is not equivalent to a purge of package-managed configuration.

C:

Repeatedly downloading archives cannot by itself finish post-install configuration that failed. That would matter when a Debian package upgrade was interrupted after unpacking and dpkg reports packages not fully configured. It does not address this case's requirement: An obsolete package must be removed together with its package-managed configuration files.

D:

dpkg -S performs the reverse ownership lookup and should not be mistaken for listing all package files. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 263

A Linux administrator faces this situation: A developer temporarily tests a private library build without replacing the system-wide shared object. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use rpm -Uvh package.rpm for a controlled upgrade or the distribution's dependency-aware manager.
  2. Update approved library configuration and run ldconfig to rebuild the loader cache.
  3. Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate.
  4. Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged.

Explanation

Correct Answer

D:

Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged. This corrects the case-specific failure. First verify: Verify the target binary's dynamic dependencies and identify the private library directory. Then demonstrate success: The test executable loads the private library and ordinary system programs keep using installed libraries.

Incorrect Answers

A:

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. The relevant distinction in this case is: Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged.

B:

Update approved library configuration and run ldconfig to rebuild the loader cache. That would matter when a newly installed system library under a standard configured path is not found by the dynamic linker. It does not address this case's requirement: A developer temporarily tests a private library build without replacing the system-wide shared object.

C:

Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate. That would matter when an executable reports a missing shared-object dependency although its binary file exists. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 264

A Linux administrator faces this situation: A maintenance script should treat a directory name containing spaces as one command argument. Which action best resolves the specific issue while preserving correct system behavior?

  1. Quote the path expansion as "$directory" when passing it to commands.
  2. Use && when the second command must run only after a successful first command.
  3. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  4. Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.

Explanation

Correct Answer

A:

Quote the path expansion as "$directory" when passing it to commands. This corrects the case-specific failure. First verify: Inspect how Bash splits and expands the unquoted variable in the invoked command. Then demonstrate success: A test directory containing spaces is processed as one path and no unintended files are touched.

Incorrect Answers

B:

Use && when the second command must run only after a successful first command. That would matter when an administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. The relevant distinction in this case is: Quote the path expansion as "$directory" when passing it to commands.

C:

Correct PATH order for the intended session or invoke the approved binary by absolute path. 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: A maintenance script should treat a directory name containing spaces as one command argument.

D:

Recall or search an appropriate prior command using Bash history expansion or interactive reverse search. That would matter when a support technician needs to review and reuse recent commands without transcribing them manually. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 265

A quick workaround is proposed for this Linux problem: An administrator needs a temporary non-graphical maintenance session without changing the next boot. Which assumption creates the most relevant technical risk?

  1. Writing only to an administrator's shell does not notify the other logged-in users.
  2. Rebooting a machine is not a way to cancel a shutdown without service disruption.
  3. Using systemctl isolate alone changes the current session but does not persist a default target.
  4. A target isolation may stop graphical or other units and should not be treated as a harmless display toggle.

Explanation

Correct Answer

D:

A target isolation may stop graphical or other units and should not be treated as a harmless display toggle. This is the scenario's misleading assumption. An engineer should investigate: Check currently active targets and verify that isolating the target will not terminate required remote access. Appropriate evidence afterward is: The current boot switches to multi-user.target while systemctl get-default retains the original configured default.

Incorrect Answers

A:

Writing only to an administrator's shell does not notify the other logged-in users. That would matter when a team needs to broadcast an urgent warning to users already logged into terminal sessions. The relevant distinction in this case is: A target isolation may stop graphical or other units and should not be treated as a harmless display toggle.

B:

Rebooting a machine is not a way to cancel a shutdown without service disruption. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. It does not address this case's requirement: An administrator needs a temporary non-graphical maintenance session without changing the next boot.

C:

Using systemctl isolate alone changes the current session but does not persist a default target. That would matter when a headless server boots into a graphical target despite the organization's text-console requirement. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 266

Before changing a Linux system, an engineer observes: A newly created private file should default to owner read/write and group read only, with no permissions for others. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

B:

Check the program's default requested mode and the current umask value. This isolates the relevant condition before applying a change. The appropriate corrective response is: Apply an appropriate umask such as 027 when a regular file is initially created with mode 666.

Incorrect Answers

A:

Check the group's membership and the directory's setgid bit and write permissions. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. The relevant distinction in this case is: Check the program's default requested mode and the current umask value.

C:

Inspect current mode and group ownership of the report file. That would matter when a confidential report should be readable by its owner and reporting group but not by other users. It does not address this case's requirement: A newly created private file should default to owner read/write and group read only, with no permissions for others.

D:

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

Question 267

A Linux administrator faces this situation: A noisy command must append diagnostic errors to an existing audit file without replacing its contents. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use command >> execution.log rather than overwriting redirection.
  2. Redirect only stdout with command > report.txt and leave stderr separate.
  3. Use command 2>> errors.log to append standard error messages.
  4. Redirect only standard error to /dev/null with 2>/dev/null after evaluating audit requirements.

Explanation

Correct Answer

C:

Use command 2>> errors.log to append standard error messages. This corrects the case-specific failure. First verify: Inspect the stream containing errors and the existing contents of the target audit log. Then demonstrate success: Previously recorded errors remain and new diagnostics appear at the end of the same file.

Incorrect Answers

A:

Use command >> execution.log rather than overwriting redirection. That would matter when a maintenance script should append standard output to a cumulative log while retaining earlier runs. The relevant distinction in this case is: Use command 2>> errors.log to append standard error messages.

B:

Redirect only stdout with command > report.txt and leave stderr separate. 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: A noisy command must append diagnostic errors to an existing audit file without replacing its contents.

D:

Redirect only standard error to /dev/null with 2>/dev/null after evaluating audit requirements. That would matter when a command's errors must be discarded while its normal output remains available to a user. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 268

A Linux administrator faces this situation: An administrator finds an unexpected setuid bit on a program that runs with elevated effective privilege. Which action best resolves the specific issue while preserving correct system behavior?

  1. Apply the directory setgid bit with chmod g+s on the shared project directory.
  2. Remove unintended setuid permission or replace the program with an approved privilege boundary.
  3. Set the sticky bit on the shared directory while preserving the required shared access.
  4. Grant the minimum required directory execute permission to the authorized principal or group.

Explanation

Correct Answer

B:

Remove unintended setuid permission or replace the program with an approved privilege boundary. This corrects the case-specific failure. First verify: Inspect the binary owner, mode, provenance, and operational requirement for setuid. Then demonstrate success: The program's mode no longer includes unintended setuid and legitimate tasks still work.

Incorrect Answers

A:

Apply the directory setgid bit with chmod g+s on the shared project directory. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. The relevant distinction in this case is: Remove unintended setuid permission or replace the program with an approved privilege boundary.

C:

Set the sticky bit on the shared directory while preserving the required shared access. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. It does not address this case's requirement: An administrator finds an unexpected setuid bit on a program that runs with elevated effective privilege.

D:

Grant the minimum required directory execute permission to the authorized principal or group. That would matter when a user can list the name of a protected directory but receives permission denied when entering it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 269

A quick workaround is proposed for this Linux problem: A partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. Which assumption creates the most relevant technical risk?

  1. Choosing a legacy MBR label for a very large disk can prevent using its full planned space.
  2. Renaming a partition label cannot convert an existing ext4 filesystem into XFS.
  3. Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap.
  4. Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss.

Explanation

Correct Answer

D:

Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss. This is the scenario's misleading assumption. An engineer should investigate: Inspect lsblk -f and blkid for signatures and confirm the partition contains no data to preserve. Appropriate evidence afterward is: blkid reports ext4 and the partition mounts successfully with a writable test file.

Incorrect Answers

A:

Choosing a legacy MBR label for a very large disk can prevent using its full planned space. That would matter when a new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. The relevant distinction in this case is: Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss.

B:

Renaming a partition label cannot convert an existing ext4 filesystem into XFS. 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:

Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 270

A quick workaround is proposed for this Linux problem: A legacy SysVinit machine must transition from multi-user operation to a defined runlevel. Which assumption creates the most relevant technical risk?

  1. Applying a systemd target name directly to a pure SysVinit system is not a valid runlevel transition.
  2. Rebooting a machine is not a way to cancel a shutdown without service disruption.
  3. Writing only to an administrator's shell does not notify the other logged-in users.
  4. A target isolation may stop graphical or other units and should not be treated as a harmless display toggle.

Explanation

Correct Answer

A:

Applying a systemd target name directly to a pure SysVinit system is not a valid runlevel transition. This is the scenario's misleading assumption. An engineer should investigate: Confirm the init system and inspect its configured runlevel and /etc/inittab behavior. Appropriate evidence afterward is: The system enters the requested runlevel and the associated init scripts start or stop as expected.

Incorrect Answers

B:

Rebooting a machine is not a way to cancel a shutdown without service disruption. 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: Applying a systemd target name directly to a pure SysVinit system is not a valid runlevel transition.

C:

Writing only to an administrator's shell does not notify the other logged-in users. That would matter when a team needs to broadcast an urgent warning to users already logged into terminal sessions. It does not address this case's requirement: A legacy SysVinit machine must transition from multi-user operation to a defined runlevel.

D:

A target isolation may stop graphical or other units and should not be treated as a harmless display toggle. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. That separate mechanism does not verify the needed Linux administration outcome in this case.