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 51

Question 500

A Linux operator claims the following problem is resolved: A file was recently installed but locate cannot find it even though find does. Which result best demonstrates an effective repair?

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

Explanation

Correct Answer

B:

locate returns the new file after indexing, consistent with a direct find result. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Refresh the locate index with updatedb under the supported policy, then query locate.

Incorrect Answers

A:

The service reads host configuration from /etc and packages can update programs without overwriting it. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. The relevant distinction in this case is: locate returns the new file after indexing, consistent with a direct find result.

C:

The output identifies the installed executable and the associated man page when available. 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 file was recently installed but locate cannot find it even though find does.

D:

Log rotation and package upgrades preserve the expected separation of changing and static files. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 501

A quick workaround is proposed for this Linux problem: An interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. Which assumption creates the most relevant technical risk?

  1. A semicolon sequences commands but does not enforce a success dependency.
  2. A command name can resolve to an unexpected executable even when both versions are installed.
  3. An unquoted expansion can trigger word splitting and pathname globbing.
  4. The current working directory is not automatically searched for bare command names.

Explanation

Correct Answer

B:

A command name can resolve to an unexpected executable even when both versions are installed. This is the scenario's misleading assumption. An engineer should investigate: Inspect echo "$PATH" and type -a for the command to see every candidate in search order. Appropriate evidence afterward is: type identifies the desired executable first and the command runs the approved version.

Incorrect Answers

A:

A semicolon sequences commands but does not enforce a success dependency. 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: A command name can resolve to an unexpected executable even when both versions are installed.

C:

An unquoted expansion can trigger word splitting and pathname globbing. That would matter when a maintenance script should treat a directory name containing spaces as one command argument. It does not address this case's requirement: An interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH.

D:

The current working directory is not automatically searched for bare command names. 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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 502

A Linux operator claims the following problem is resolved: A downloaded administrative script must be compared with a published SHA-256 digest before execution. Which result best demonstrates an effective repair?

  1. All occurrences of each hostname contribute to one correct count in the output.
  2. The computed checksum exactly matches the independently obtained expected SHA-256 value.
  3. Uppercase sample letters become lowercase while unaffected characters remain intact.
  4. The output shows the final ten recorded lines and live following displays new appended records.

Explanation

Correct Answer

B:

The computed checksum exactly matches the independently obtained expected SHA-256 value. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Compute sha256sum on the file and compare the full digest with the trusted reference.

Incorrect Answers

A:

All occurrences of each hostname contribute to one correct count in the output. That would matter when a list of hostnames contains repeated lines and an operator needs accurate occurrence counts. The relevant distinction in this case is: The computed checksum exactly matches the independently obtained expected SHA-256 value.

C:

Uppercase sample letters become lowercase while unaffected characters remain intact. That would matter when a stream includes mixed-case letters but downstream comparison requires lowercase text. It does not address this case's requirement: A downloaded administrative script must be compared with a published SHA-256 digest before execution.

D:

The output shows the final ten recorded lines and live following displays new appended records. That would matter when an administrator needs to inspect just the newest ten lines of a growing plain-text log. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 503

A Linux operator claims the following problem is resolved: A newly created private file should default to owner read/write and group read only, with no permissions for others. Which result best demonstrates an effective repair?

  1. A newly created regular file has mode 640 under the stated creation assumptions.
  2. ls -ld shows the sticky bit and unauthorized users cannot remove others' entries.
  3. New entries receive the intended group ownership under the filesystem's supported behavior.
  4. ls -l shows rw-r----- and authorized group members can read without unrelated access.

Explanation

Correct Answer

A:

A newly created regular file has mode 640 under the stated creation assumptions. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Apply an appropriate umask such as 027 when a regular file is initially created with mode 666.

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: A newly created regular file has mode 640 under the stated creation assumptions.

C:

New entries receive the intended group ownership under the filesystem's supported behavior. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. 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:

ls -l shows rw-r----- and authorized group members can read without unrelated access. That would matter when a confidential report should be readable by its owner and reporting group but not by other users. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 504

A Linux administrator faces this situation: A temporary build directory must be deleted recursively while the adjacent production tree remains untouched. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use cp -a source_directory destination_directory where supported and review the destination path.
  2. Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive.
  3. Use rm -r only against the verified temporary directory with appropriate safety checks.
  4. Use mkdir -p /path/to/new/directory to create any absent parent directories.

Explanation

Correct Answer

C:

Use rm -r only against the verified temporary directory with appropriate safety checks. This corrects the case-specific failure. First verify: Check the fully expanded absolute target path and the contents to be removed. Then demonstrate success: The intended temporary tree is gone and the neighboring production directory remains present.

Incorrect Answers

A:

Use cp -a source_directory destination_directory where supported and review the destination path. That would matter when an administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. The relevant distinction in this case is: Use rm -r only against the verified temporary directory with appropriate safety checks.

B:

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. It does not address this case's requirement: A temporary build directory must be deleted recursively while the adjacent production tree remains untouched.

D:

Use mkdir -p /path/to/new/directory to create any absent parent directories. That would matter when a directory must be created under several missing parent components in one command. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 505

A quick workaround is proposed for this Linux problem: The support team needs a live ranking of CPU-intensive processes during a short performance incident. Which assumption creates the most relevant technical risk?

  1. SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown.
  2. Free memory output alone does not identify which process is consuming CPU.
  3. jobs reports jobs controlled by the current shell, not all processes on the system.
  4. nohup preserves a program but does not provide reattachment to the same interactive terminal session.

Explanation

Correct Answer

B:

Free memory output alone does not identify which process is consuming CPU. This is the scenario's misleading assumption. An engineer should investigate: Check process CPU consumption and current resource use with a continuously updating monitor. Appropriate evidence afterward is: The high-CPU process is identified from live measurements rather than a stale single snapshot.

Incorrect Answers

A:

SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown. That would matter when a suspected process is unresponsive to a normal termination request but its temporary files must be considered. The relevant distinction in this case is: Free memory output alone does not identify which process is consuming CPU.

C:

jobs reports jobs controlled by the current shell, not all processes on the system. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. It does not address this case's requirement: The support team needs a live ranking of CPU-intensive processes during a short performance incident.

D:

nohup preserves a program but does not provide reattachment to the same interactive terminal session. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 506

Before changing a Linux system, an engineer observes: An administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the desired mount point, device ownership, and applicable fstab options.
  2. Read blkid to obtain the device UUID and compare it with /etc/fstab.
  3. Check the source directory and destination path before defining the mount.
  4. Review the new fstab syntax, mount point, and the storage device's availability.

Explanation

Correct Answer

D:

Review the new fstab syntax, mount point, and the storage device's availability. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use mount -a in an approved maintenance context and inspect resulting mounts and errors.

Incorrect Answers

A:

Inspect the desired mount point, device ownership, and applicable fstab options. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. The relevant distinction in this case is: Review the new fstab syntax, mount point, and the storage device's availability.

B:

Read blkid to obtain the device UUID and compare it with /etc/fstab. That would matter when a storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it. It does not address this case's requirement: An administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately.

C:

Check the source directory and destination path before defining the mount. That would matter when a secondary directory tree must appear at another mount point without creating a second copy of the files. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 507

Before changing a Linux system, an engineer observes: An unmount command fails because a user process still has its working directory inside the mounted filesystem. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect open files and process working directories with suitable tools before retrying umount.
  2. Check the source directory and destination path before defining the mount.
  3. Inspect current mount options and ensure filesystem integrity and policy permit writes.
  4. Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types.

Explanation

Correct Answer

A:

Inspect open files and process working directories with suitable tools before retrying umount. This isolates the relevant condition before applying a change. The appropriate corrective response is: Release the active references and then run umount on the correct mount point.

Incorrect Answers

B:

Check the source directory and destination path before defining the mount. That would matter when a secondary directory tree must appear at another mount point without creating a second copy of the files. The relevant distinction in this case is: Inspect open files and process working directories with suitable tools before retrying umount.

C:

Inspect current mount options and ensure filesystem integrity and policy permit writes. That would matter when an already mounted filesystem needs to change from read-only to read-write after a controlled recovery. It does not address this case's requirement: An unmount command fails because a user process still has its working directory inside the mounted filesystem.

D:

Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types. That would matter when a service cannot find the UUID of a new filesystem and an operator wants a reliable mapping from block devices. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 508

Before changing a Linux system, an engineer observes: An administrator finds an unexpected setuid bit on a program that runs with elevated effective privilege. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the program's default requested mode and the current umask value.
  2. Inspect the binary owner, mode, provenance, and operational requirement for setuid.
  3. Inspect directory write permissions and the current sticky-bit state.
  4. Inspect the parent-directory permissions, especially execute or search permission on each path component.

Explanation

Correct Answer

B:

Inspect the binary owner, mode, provenance, and operational requirement for setuid. This isolates the relevant condition before applying a change. The appropriate corrective response is: Remove unintended setuid permission or replace the program with an approved privilege boundary.

Incorrect Answers

A:

Check the program's default requested mode and the current umask value. That would matter when a newly created private file should default to owner read/write and group read only, with no permissions for others. The relevant distinction in this case is: Inspect the binary owner, mode, provenance, and operational requirement for setuid.

C:

Inspect directory write permissions and the current sticky-bit state. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. 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:

Inspect the parent-directory permissions, especially execute or search permission on each path component. 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 509

A quick workaround is proposed for this Linux problem: An ordinary user attempts to give a compute job a negative nice value and receives a permission error. Which assumption creates the most relevant technical risk?

  1. Confusing lower niceness with lower priority can lead to changing the value in the wrong direction.
  2. PID ordering says nothing about a process's current nice value.
  3. nice affects a newly launched command; it does not retroactively change an existing PID.
  4. Unprivileged users generally cannot freely increase scheduling priority by lowering nice below allowed limits.

Explanation

Correct Answer

D:

Unprivileged users generally cannot freely increase scheduling priority by lowering nice below allowed limits. This is the scenario's misleading assumption. An engineer should investigate: Inspect the current UID and applicable privilege limits for raising process priority. Appropriate evidence afterward is: The permitted priority change succeeds without bypassing policy constraints.

Incorrect Answers

A:

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. The relevant distinction in this case is: Unprivileged users generally cannot freely increase scheduling priority by lowering nice below allowed limits.

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: An ordinary user attempts to give a compute job a negative nice value and receives a permission error.

C:

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 510

A quick workaround is proposed for this Linux problem: File names containing spaces must be passed from find to a command that accepts file arguments. Which assumption creates the most relevant technical risk?

  1. Discarding stderr can conceal actionable failures and should not be used as a substitute for repair.
  2. A plain > file redirect removes the command output from the terminal rather than duplicating it.
  3. tee cannot capture upstream stderr through a plain pipe unless that descriptor is redirected.
  4. Piping newline-delimited file names into plain xargs can split a single filename incorrectly.

Explanation

Correct Answer

D:

Piping newline-delimited file names into plain xargs can split a single filename incorrectly. This is the scenario's misleading assumption. An engineer should investigate: Inspect whether names may contain whitespace or newlines before choosing a delimiter. Appropriate evidence afterward is: Test files with spaces and newlines are each processed as a single argument.

Incorrect Answers

A:

Discarding stderr can conceal actionable failures and should not be used as a substitute for repair. That would matter when a command's errors must be discarded while its normal output remains available to a user. The relevant distinction in this case is: Piping newline-delimited file names into plain xargs can split a single filename incorrectly.

B:

A plain > file redirect removes the command output from the terminal rather than duplicating it. 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: File names containing spaces must be passed from find to a command that accepts file arguments.

C:

tee cannot capture upstream stderr through a plain pipe unless that descriptor is redirected. 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.