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 26

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.

Question 251

A Linux operator claims the following problem is resolved: An application needs a versioned executable alias that can be repointed to a new release without replacing the binary. Which result best demonstrates an effective repair?

  1. The symlink resolves after the target is restored, or the copied file remains readable independently.
  2. readlink identifies the target and opening the alias reaches the original file.
  3. The alias resolves to the new executable and can be safely returned to the prior release.
  4. The alternate path reaches the intended directory without violating filesystem directory-link rules.

Explanation

Correct Answer

C:

The alias resolves to the new executable and can be safely returned to the prior release. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Update the symbolic link to reference the verified new release while retaining a rollback target.

Incorrect Answers

A:

The symlink resolves after the target is restored, or the copied file remains readable independently. That would matter when an administrator deletes the original file but expects its symbolic link to keep working as a stored copy. The relevant distinction in this case is: The alias resolves to the new executable and can be safely returned to the prior release.

B:

readlink identifies the target and opening the alias reaches the original file. That would matter when a configuration file must be referenced through an alias on a different filesystem. It does not address this case's requirement: An application needs a versioned executable alias that can be repointed to a new release without replacing the binary.

D:

The alternate path reaches the intended directory without violating filesystem directory-link rules. That would matter when an operator attempts to hard-link a directory as a shortcut to reuse it from another location. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 252

A Linux administrator faces this situation: An administrator edits /etc/default/grub but the kernel command line is unchanged after reboot. Which action best resolves the specific issue while preserving correct system behavior?

  1. Run the distribution-appropriate grub-install step against the correct boot destination.
  2. Use supported interactive GRUB commands to locate and boot the valid kernel, then repair persistent configuration.
  3. Regenerate the correct grub.cfg using grub-mkconfig with the supported destination path.
  4. Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg.

Explanation

Correct Answer

C:

Regenerate the correct grub.cfg using grub-mkconfig with the supported destination path. This corrects the case-specific failure. First verify: Inspect the active generated GRUB configuration and how the distribution constructs it. Then demonstrate success: The boot menu and cat /proc/cmdline reflect the intended persistent parameter after reboot.

Incorrect Answers

A:

Run the distribution-appropriate grub-install step against the correct boot destination. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. The relevant distinction in this case is: Regenerate the correct grub.cfg using grub-mkconfig with the supported destination path.

B:

Use supported interactive GRUB commands to locate and boot the valid kernel, then repair persistent configuration. That would matter when a host is stranded at the GRUB prompt after a disk change but the Linux partitions remain intact. It does not address this case's requirement: An administrator edits /etc/default/grub but the kernel command line is unchanged after reboot.

D:

Make persistent changes in the supported GRUB source configuration and regenerate grub.cfg. That would matter when a GRUB 2 system contains multiple installed kernels but a manually edited grub.cfg is overwritten during updates. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 253

A quick workaround is proposed for this Linux problem: A package file is downloaded from a mirror and must be checked for authenticity before installation. Which assumption creates the most relevant technical risk?

  1. Direct rpm installation does not provide the same automatic repository dependency resolution.
  2. rpm -i may install alongside the old version or fail where an upgrade operation is intended.
  3. rpm -V can flag legitimate configuration changes and is not proof of malicious tampering by itself.
  4. A file hash alone does not establish that a package was signed by the intended publisher.

Explanation

Correct Answer

D:

A file hash alone does not establish that a package was signed by the intended publisher. This is the scenario's misleading assumption. An engineer should investigate: Inspect available trusted signing keys and the package's signature status. Appropriate evidence afterward is: Signature verification succeeds against the approved trust basis before the installation proceeds.

Incorrect Answers

A:

Direct rpm installation does not provide the same automatic repository dependency resolution. That would matter when a package must be installed from a configured RPM repository along with required dependencies. The relevant distinction in this case is: A file hash alone does not establish that a package was signed by the intended publisher.

B:

rpm -i may install alongside the old version or fail where an upgrade operation is intended. That would matter when a local RPM package is a newer version and should replace its installed predecessor. It does not address this case's requirement: A package file is downloaded from a mirror and must be checked for authenticity before installation.

C:

rpm -V can flag legitimate configuration changes and is not proof of malicious tampering by itself. That would matter when a configuration file may have been modified after RPM installation and integrity must be assessed. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 254

A quick workaround is proposed for this Linux problem: A configuration audit must find a keyword anywhere under a directory tree, including nested .conf files. Which assumption creates the most relevant technical risk?

  1. A plain grep against one directory path does not automatically search all descendant files.
  2. Using tr to rewrite the log just to search it can alter evidence unnecessarily.
  3. An unescaped dot matches any character and omitting $ accepts extra suffix text.
  4. Using grep's regex mode for unescaped user input can match unintended text.

Explanation

Correct Answer

A:

A plain grep against one directory path does not automatically search all descendant files. This is the scenario's misleading assumption. An engineer should investigate: Inspect the directory hierarchy and whether the tool is instructed to recurse into subdirectories. Appropriate evidence afterward is: Matching lines in nested files appear alongside their file paths when requested.

Incorrect Answers

B:

Using tr to rewrite the log just to search it can alter evidence unnecessarily. That would matter when a case-insensitive log search should find ERROR, Error, and error without changing the input files. The relevant distinction in this case is: A plain grep against one directory path does not automatically search all descendant files.

C:

An unescaped dot matches any character and omitting $ accepts extra suffix text. That would matter when an inventory should match only lines ending in .conf, not .conf.old filenames. It does not address this case's requirement: A configuration audit must find a keyword anywhere under a directory tree, including nested .conf files.

D:

Using grep's regex mode for unescaped user input can match unintended text. That would matter when a log search should find an exact string containing brackets and dots without interpreting regex syntax. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 255

A quick workaround is proposed for this Linux problem: A runaway process must be located by command name before sending any termination signal. Which assumption creates the most relevant technical risk?

  1. Using killall with a generic name risks terminating unrelated instances.
  2. Appending & by itself does not reliably prevent hangup termination for every session configuration.
  3. SIGKILL cannot be caught for cleanup and should not be the first response to a normal shutdown.
  4. A single ps command provides one snapshot rather than a recurring view.

Explanation

Correct Answer

A:

Using killall with a generic name risks terminating unrelated instances. This is the scenario's misleading assumption. An engineer should investigate: Check running process names and PIDs using pgrep -a or a suitable ps filter. Appropriate evidence afterward is: The intended process exits gracefully and unrelated processes remain active.

Incorrect Answers

B:

Appending & by itself does not reliably prevent hangup termination for every session configuration. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. The relevant distinction in this case is: Using killall with a generic name risks terminating unrelated instances.

C:

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. It does not address this case's requirement: A runaway process must be located by command name before sending any termination signal.

D:

A single ps command provides one snapshot rather than a recurring view. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 256

A Linux administrator faces this situation: An already mounted filesystem needs to change from read-only to read-write after a controlled recovery. Which action best resolves the specific issue while preserving correct system behavior?

  1. Release the active references and then run umount on the correct mount point.
  2. Use a supported mount -o remount,rw operation on the correct filesystem.
  3. Use blkid or lsblk -f to record the correct identifier for persistent mounting.
  4. Mount the identified device at /mnt/backup using mount with appropriate permissions.

Explanation

Correct Answer

B:

Use a supported mount -o remount,rw operation on the correct filesystem. This corrects the case-specific failure. First verify: Inspect current mount options and ensure filesystem integrity and policy permit writes. Then demonstrate success: The mount options show rw and a controlled write test succeeds.

Incorrect Answers

A:

Release the active references and then run umount on the correct mount point. That would matter when an unmount command fails because a user process still has its working directory inside the mounted filesystem. The relevant distinction in this case is: Use a supported mount -o remount,rw operation on the correct filesystem.

C:

Use blkid or lsblk -f to record the correct identifier for persistent mounting. That would matter when a service cannot find the UUID of a new filesystem and an operator wants a reliable mapping from block devices. It does not address this case's requirement: An already mounted filesystem needs to change from read-only to read-write after a controlled recovery.

D:

Mount the identified device at /mnt/backup using mount with appropriate permissions. That would matter when a removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 257

Before changing a Linux system, an engineer observes: A shared writable directory should prevent one regular user from deleting another user's files. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect directory write permissions and the current sticky-bit state.
  2. Check the group's membership and the directory's setgid bit and write permissions.
  3. Inspect the parent-directory permissions, especially execute or search permission on each path component.
  4. Inspect current mode and group ownership of the report file.

Explanation

Correct Answer

A:

Inspect directory write permissions and the current sticky-bit state. This isolates the relevant condition before applying a change. The appropriate corrective response is: Set the sticky bit on the shared directory while preserving the required shared access.

Incorrect Answers

B:

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: Inspect directory write permissions and the current sticky-bit state.

C:

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. It does not address this case's requirement: A shared writable directory should prevent one regular user from deleting another user's files.

D:

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

Question 258

A quick workaround is proposed for this Linux problem: An administrator needs to install a Debian package by name but the local repository index is stale. Which assumption creates the most relevant technical risk?

  1. Assuming a package name alone proves its content can lead to installing the wrong tool.
  2. Repeatedly downloading archives cannot by itself finish post-install configuration that failed.
  3. apt-get update refreshes package metadata; it does not itself install newer packages.
  4. dpkg -i does not automatically fetch all missing repository dependencies the way APT usually can.

Explanation

Correct Answer

C:

apt-get update refreshes package metadata; it does not itself install newer packages. This is the scenario's misleading assumption. An engineer should investigate: Inspect APT source configuration and the last successful index refresh. Appropriate evidence afterward is: The package manager resolves the current repository version and installs the package with dependencies.

Incorrect Answers

A:

Assuming a package name alone proves its content can lead to installing the wrong tool. That would matter when a technician needs package description and dependencies before installing a Debian repository package. The relevant distinction in this case is: apt-get update refreshes package metadata; it does not itself install newer packages.

B:

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 administrator needs to install a Debian package by name but the local repository index is stale.

D:

dpkg -i does not automatically fetch all missing repository dependencies the way APT usually can. That would matter when a local .deb archive must be installed on an isolated Debian host that may lack dependencies. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 259

A quick workaround is proposed for this Linux problem: A Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration. Which assumption creates the most relevant technical risk?

  1. A kernel image can load successfully while a stale root= argument still prevents root mounting.
  2. Looking only at application service logs can miss failures that occur before the init system.
  3. Confusing SysV runlevels with systemd units can cause incorrect boot diagnosis even when compatibility commands exist.
  4. Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff.

Explanation

Correct Answer

A:

A kernel image can load successfully while a stale root= argument still prevents root mounting. This is the scenario's misleading assumption. An engineer should investigate: Inspect the kernel command line and the root device identifier passed by the boot manager. Appropriate evidence afterward is: The kernel locates the intended root device and the normal boot reaches userspace.

Incorrect Answers

B:

Looking only at application service logs can miss failures that occur before the init system. That would matter when a server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages. The relevant distinction in this case is: A kernel image can load successfully while a stale root= argument still prevents root mounting.

C:

Confusing SysV runlevels with systemd units can cause incorrect boot diagnosis even when compatibility commands exist. That would matter when a Linux host uses systemd as PID 1 but a maintenance guide assumes SysV init scripts are the sole startup mechanism. It does not address this case's requirement: A Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration.

D:

Reinstalling root filesystem packages alone does not repair a missing firmware-to-bootloader handoff. That would matter when a UEFI Linux host stops at firmware selection and never starts the installed boot manager. That separate mechanism does not verify the needed Linux administration outcome in this case.

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.