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 25

Question 240

A Linux administrator faces this situation: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. Which action best resolves the specific issue while preserving correct system behavior?

  1. Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.
  2. Use uname -r to record the release of the currently running Linux kernel.
  3. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  4. Use && when the second command must run only after a successful first command.

Explanation

Correct Answer

B:

Use uname -r to record the release of the currently running Linux kernel. This corrects the case-specific failure. First verify: Compare uname -r output with release files and installed package listings. Then demonstrate success: The recorded release matches the kernel active on that host at investigation time.

Incorrect Answers

A:

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. The relevant distinction in this case is: Use uname -r to record the release of the currently running Linux kernel.

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 troubleshooting note says to use a running kernel's release number rather than the distribution marketing version.

D:

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

Question 241

A Linux administrator faces this situation: A command-line support task must remove one exported environment variable for a single Bash session. Which action best resolves the specific issue while preserving correct system behavior?

  1. Export the required variable with export NAME=value before launching the child.
  2. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  3. Use unset VARIABLE in that shell before starting programs that should not inherit it.
  4. Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.

Explanation

Correct Answer

C:

Use unset VARIABLE in that shell before starting programs that should not inherit it. This corrects the case-specific failure. First verify: Check current shell variable definition and whether child processes receive it. Then demonstrate success: The variable no longer appears in env for subsequently launched child processes.

Incorrect Answers

A:

Export the required variable with export NAME=value before launching the child. That would matter when a child process cannot see a variable that works when echoed in its parent Bash shell. The relevant distinction in this case is: Use unset VARIABLE in that shell before starting programs that should not inherit it.

B:

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 command-line support task must remove one exported environment variable for a single Bash session.

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 242

A Linux operator claims the following problem is resolved: A service process cannot read a data directory because files are owned by the wrong account. Which result best demonstrates an effective repair?

  1. ls -ld shows the sticky bit and unauthorized users cannot remove others' entries.
  2. New entries receive the intended group ownership under the filesystem's supported behavior.
  3. The service account reads the data and ls -l reports the approved ownership.
  4. The authorized user can traverse the directory path without excessive listing or write rights.

Explanation

Correct Answer

C:

The service account reads the data and ls -l reports the approved ownership. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use chown for the intended owner and group on the verified paths with scoped recursion if required.

Incorrect Answers

A:

ls -ld shows the sticky bit and unauthorized users cannot remove others' entries. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. The relevant distinction in this case is: The service account reads the data and ls -l reports the approved ownership.

B:

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 service process cannot read a data directory because files are owned by the wrong account.

D:

The authorized user can traverse the directory path without excessive listing or write rights. That would matter when a user can list the name of a protected directory but receives permission denied when entering it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 243

Before changing a Linux system, an engineer observes: An administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

B:

Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority. This isolates the relevant condition before applying a change. The appropriate corrective response is: Display the relevant process priority fields using ps -o pid,ni,comm.

Incorrect Answers

A:

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

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 administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs.

D:

Check the PID, owner, and current NI value of the existing process. 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 244

A Linux administrator faces this situation: A system needs a temporary diagnostic kernel argument without permanently changing every GRUB entry. Which action best resolves the specific issue while preserving correct system behavior?

  1. Edit the kernel parameters for that single boot and leave permanent configuration unchanged.
  2. Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system.
  3. Apply the repair at the first failing stage rather than changing every layer simultaneously.
  4. Correct the unit's dependency, environment, or startup configuration revealed by the journal.

Explanation

Correct Answer

A:

Edit the kernel parameters for that single boot and leave permanent configuration unchanged. This corrects the case-specific failure. First verify: Inspect the active GRUB entry and its editable linux command line before booting. Then demonstrate success: After the temporary boot, cat /proc/cmdline confirms the argument and subsequent normal boots omit it.

Incorrect Answers

B:

Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system. That would matter when a UEFI Linux host stops at firmware selection and never starts the installed boot manager. The relevant distinction in this case is: Edit the kernel parameters for that single boot and leave permanent configuration unchanged.

C:

Apply the repair at the first failing stage rather than changing every layer simultaneously. That would matter when a rescue engineer cannot tell whether the firmware, bootloader, kernel, or init system is responsible for a failed boot. It does not address this case's requirement: A system needs a temporary diagnostic kernel argument without permanently changing every GRUB entry.

D:

Correct the unit's dependency, environment, or startup configuration revealed by the journal. That would matter when a service fails only during startup and the engineer needs logs from the current boot. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 245

A Linux administrator faces this situation: A service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. Which action best resolves the specific issue while preserving correct system behavior?

  1. Apply renice to reduce the running process's nice value when permission allows.
  2. Launch the command with nice -n 10 command to increase its niceness.
  3. Display the relevant process priority fields using ps -o pid,ni,comm.
  4. Use renice -n 10 -p PID with adequate privileges to adjust the running process.

Explanation

Correct Answer

A:

Apply renice to reduce the running process's nice value when permission allows. This corrects the case-specific failure. First verify: Check the service owner's privilege and confirm the desired new nice value is lower than 15. Then demonstrate success: ps reports the lower NI value after the change and the service remains running.

Incorrect Answers

B:

Launch the command with nice -n 10 command to increase its niceness. 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: Apply renice to reduce the running process's nice value when permission allows.

C:

Display the relevant process priority fields using ps -o pid,ni,comm. 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:

Use renice -n 10 -p PID with adequate privileges to adjust the running process. 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 246

Before changing a Linux system, an engineer observes: An organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning.
  2. Inspect user-data size, boot requirements, and whether /home can be mounted separately.
  3. Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point.
  4. Inspect existing physical volumes, volume groups, logical volumes, and filesystem support.

Explanation

Correct Answer

D:

Inspect existing physical volumes, volume groups, logical volumes, and filesystem support. This isolates the relevant condition before applying a change. The appropriate corrective response is: Plan storage with LVM so eligible logical volumes can be extended as capacity grows.

Incorrect Answers

A:

Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning. That would matter when a log-heavy Linux server uses a single root filesystem and application logs can fill all available space. The relevant distinction in this case is: Inspect existing physical volumes, volume groups, logical volumes, and filesystem support.

B:

Inspect user-data size, boot requirements, and whether /home can be mounted separately. That would matter when a workstation must preserve user data when its system filesystem is reinstalled. It does not address this case's requirement: An organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions.

C:

Confirm UEFI boot mode, partition table scheme, and current ESP type and mount point. That would matter when an x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 247

A Linux operator claims the following problem is resolved: An operator needs to view command output on screen and retain the same stream in a file. Which result best demonstrates an effective repair?

  1. The terminal displays each line and the file contains the same captured output.
  2. The report contains normal output while diagnostic errors remain visible on stderr.
  3. The resulting file contains both normal lines and error messages from the command.
  4. The program reads precisely the input file bytes and produces the intended result.

Explanation

Correct Answer

A:

The terminal displays each line and the file contains the same captured output. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Pipe the command output into tee output.log so the stream reaches both the terminal and file.

Incorrect Answers

B:

The report contains normal output while diagnostic errors remain visible on stderr. That would matter when a command writes reports to standard output and warnings to standard error but only reports should enter a data file. The relevant distinction in this case is: The terminal displays each line and the file contains the same captured output.

C:

The resulting file contains both normal lines and error messages from the command. That would matter when a script needs to record both standard output and error output in a single file for one command. 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:

The program reads precisely the input file bytes and produces the intended result. 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 248

A Linux administrator faces this situation: An administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds. Which action best resolves the specific issue while preserving correct system behavior?

  1. Inspect the appropriate man page or invoke the intended external program explicitly.
  2. Quote the path expansion as "$directory" when passing it to commands.
  3. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  4. Use && when the second command must run only after a successful first command.

Explanation

Correct Answer

D:

Use && when the second command must run only after a successful first command. This corrects the case-specific failure. First verify: Check the command chaining operator and the first command's exit status. Then demonstrate success: A deliberately failed first command prevents the dependent second action from executing.

Incorrect Answers

A:

Inspect the appropriate man page or invoke the intended external program explicitly. 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: Use && when the second command must run only after a successful first command.

B:

Quote the path expansion as "$directory" when passing it to commands. 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 administrator runs two commands separated by a semicolon and assumes the second executes only if the first succeeds.

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

Question 249

A Linux administrator faces this situation: An administrator needs to inspect just the newest ten lines of a growing plain-text log. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use tail -n 10 on the intended file and tail -f only when live following is required.
  2. Use tr '[:upper:]' '[:lower:]' in the supported locale for a text stream.
  3. Run sort on the list before uniq -c to count identical hostname occurrences.
  4. Compute sha256sum on the file and compare the full digest with the trusted reference.

Explanation

Correct Answer

A:

Use tail -n 10 on the intended file and tail -f only when live following is required. This corrects the case-specific failure. First verify: Check log order and whether new entries append at the end of the file. Then demonstrate success: The output shows the final ten recorded lines and live following displays new appended records.

Incorrect Answers

B:

Use tr '[:upper:]' '[:lower:]' in the supported locale for a text stream. That would matter when a stream includes mixed-case letters but downstream comparison requires lowercase text. The relevant distinction in this case is: Use tail -n 10 on the intended file and tail -f only when live following is required.

C:

Run sort on the list before uniq -c to count identical hostname occurrences. That would matter when a list of hostnames contains repeated lines and an operator needs accurate occurrence counts. It does not address this case's requirement: An administrator needs to inspect just the newest ten lines of a growing plain-text log.

D:

Compute sha256sum on the file and compare the full digest with the trusted reference. That would matter when a downloaded administrative script must be compared with a published SHA-256 digest before execution. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 250

A Linux administrator faces this situation: An executable reports a missing shared-object dependency although its binary file exists. Which action best resolves the specific issue while preserving correct system behavior?

  1. Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged.
  2. Update approved library configuration and run ldconfig to rebuild the loader cache.
  3. Run yum install package-name or dnf install package-name as supported by the distribution.
  4. Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate.

Explanation

Correct Answer

D:

Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate. This corrects the case-specific failure. First verify: Run ldd on the trusted executable and inspect the library soname it cannot resolve. Then demonstrate success: ldd resolves the dependency and the program starts without a shared-library loading error.

Incorrect Answers

A:

Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged. That would matter when a developer temporarily tests a private library build without replacing the system-wide shared object. The relevant distinction in this case is: Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate.

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: An executable reports a missing shared-object dependency although its binary file exists.

C:

Run yum install package-name or dnf install package-name as supported by the distribution. That would matter when a package must be installed from a configured RPM repository along with required dependencies. That separate mechanism does not verify the needed Linux administration outcome in this case.