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 17

Question 160

A Linux administrator faces this situation: A foreground command must continue executing while the operator performs other work in the same shell. Which action best resolves the specific issue while preserving correct system behavior?

  1. Suspend it with Ctrl-Z if necessary and resume as a background job using bg.
  2. Identify the exact target PID and send a normal SIGTERM using kill before escalation.
  3. Use fg with the appropriate job specification to resume it in the foreground.
  4. Launch it with nohup and appropriate output redirection or use a persistent session manager.

Explanation

Correct Answer

A:

Suspend it with Ctrl-Z if necessary and resume as a background job using bg. This corrects the case-specific failure. First verify: Check whether the command can be safely placed into job control and has no terminal-input dependency. Then demonstrate success: The job continues and the shell prompt is available for other commands.

Incorrect Answers

B:

Identify the exact target PID and send a normal SIGTERM using kill before escalation. That would matter when a runaway process must be located by command name before sending any termination signal. The relevant distinction in this case is: Suspend it with Ctrl-Z if necessary and resume as a background job using bg.

C:

Use fg with the appropriate job specification to resume it in the foreground. That would matter when a long-running batch task should be suspended and resumed in the foreground of the same shell. It does not address this case's requirement: A foreground command must continue executing while the operator performs other work in the same shell.

D:

Launch it with nohup and appropriate output redirection or use a persistent session manager. That would matter when a command started from an SSH terminal must continue after logout and store its output in a file. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 161

A quick workaround is proposed for this Linux problem: An administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately. Which assumption creates the most relevant technical risk?

  1. A bind mount is not a filesystem copy or independent storage volume.
  2. A remount does not repair an underlying filesystem error that forced read-only access.
  3. A malformed fstab entry may affect boot; saving the file alone does not validate it.
  4. Hard-coding a temporary /dev/sdX path assumes stable device discovery order.

Explanation

Correct Answer

C:

A malformed fstab entry may affect boot; saving the file alone does not validate it. This is the scenario's misleading assumption. An engineer should investigate: Review the new fstab syntax, mount point, and the storage device's availability. Appropriate evidence afterward is: All intended eligible fstab mounts succeed without an unexpected mount failure.

Incorrect Answers

A:

A bind mount is not a filesystem copy or independent storage volume. 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: A malformed fstab entry may affect boot; saving the file alone does not validate it.

B:

A remount does not repair an underlying filesystem error that forced read-only access. 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 administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately.

D:

Hard-coding a temporary /dev/sdX path assumes stable device discovery order. That would matter when a storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 162

A Linux operator claims the following problem is resolved: A command-line support task must remove one exported environment variable for a single Bash session. Which result best demonstrates an effective repair?

  1. The selected command can be reviewed and re-executed without retyping its arguments.
  2. The child process receives the intended value and performs the configured action.
  3. type identifies the desired executable first and the command runs the approved version.
  4. The variable no longer appears in env for subsequently launched child processes.

Explanation

Correct Answer

D:

The variable no longer appears in env for subsequently launched child processes. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use unset VARIABLE in that shell before starting programs that should not inherit it.

Incorrect Answers

A:

The selected command can be reviewed and re-executed without retyping its arguments. 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: The variable no longer appears in env for subsequently launched child processes.

B:

The child process receives the intended value and performs the configured action. That would matter when a child process cannot see a variable that works when echoed in its parent Bash shell. It does not address this case's requirement: A command-line support task must remove one exported environment variable for a single Bash session.

C:

type identifies the desired executable first and the command runs the approved version. 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 163

A Linux administrator faces this situation: An operator must produce a byte-for-byte image of an offline removable device before analysis. 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 dd with carefully checked input and output operands to copy the intended raw device.
  3. Use tar -xzf archive.tar.gz -C /approved/restore/location for controlled extraction.
  4. Use find /var/log -xdev -type f -name '*.log' to select regular log files in that filesystem.

Explanation

Correct Answer

B:

Use dd with carefully checked input and output operands to copy the intended raw device. This corrects the case-specific failure. First verify: Verify both if= source device and of= destination image locations and ensure adequate destination capacity. Then demonstrate success: Image size and an independent comparison show the intended device bytes were captured.

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 dd with carefully checked input and output operands to copy the intended raw device.

C:

Use tar -xzf archive.tar.gz -C /approved/restore/location for controlled extraction. That would matter when an archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. It does not address this case's requirement: An operator must produce a byte-for-byte image of an offline removable device before analysis.

D:

Use find /var/log -xdev -type f -name '*.log' to select regular log files in that filesystem. That would matter when an operator needs to find files ending in .log beneath /var/log without searching other filesystems. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 164

A Linux operator claims the following problem is resolved: An obsolete package must be removed together with its package-managed configuration files. Which result best demonstrates an effective repair?

  1. dpkg records the package configured and the required dependencies are satisfied.
  2. The binaries are removed while package configuration designated for retention remains.
  3. The listed paths match files owned by the installed package.
  4. Package-owned configuration entries are removed and the package no longer appears installed.

Explanation

Correct Answer

D:

Package-owned configuration entries are removed and the package no longer appears installed. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use apt-get purge or dpkg --purge for the package when configuration removal is authorized.

Incorrect Answers

A:

dpkg records the package configured and the required dependencies are satisfied. That would matter when a local .deb archive must be installed on an isolated Debian host that may lack dependencies. The relevant distinction in this case is: Package-owned configuration entries are removed and the package no longer appears installed.

B:

The binaries are removed while package configuration designated for retention remains. That would matter when a service package is no longer needed but its local configuration should remain for possible reinstallation. It does not address this case's requirement: An obsolete package must be removed together with its package-managed configuration files.

C:

The listed paths match files owned by the installed package. 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 165

Before changing a Linux system, an engineer observes: A newly installed system library under a standard configured path is not found by the dynamic linker. Which check most directly isolates the relevant cause or prerequisite?

  1. Run ldd on the trusted executable and inspect the library soname it cannot resolve.
  2. Inspect enabled YUM or DNF repositories and package availability.
  3. Inspect /etc/ld.so.conf and its include files and compare them with ldconfig -p output.
  4. Verify the target binary's dynamic dependencies and identify the private library directory.

Explanation

Correct Answer

C:

Inspect /etc/ld.so.conf and its include files and compare them with ldconfig -p output. This isolates the relevant condition before applying a change. The appropriate corrective response is: Update approved library configuration and run ldconfig to rebuild the loader cache.

Incorrect Answers

A:

Run ldd on the trusted executable and inspect the library soname it cannot resolve. That would matter when an executable reports a missing shared-object dependency although its binary file exists. The relevant distinction in this case is: Inspect /etc/ld.so.conf and its include files and compare them with ldconfig -p output.

B:

Inspect enabled YUM or DNF repositories and package availability. That would matter when a package must be installed from a configured RPM repository along with required dependencies. It does not address this case's requirement: A newly installed system library under a standard configured path is not found by the dynamic linker.

D:

Verify the target binary's dynamic dependencies and identify the private library directory. That would matter when a developer temporarily tests a private library build without replacing the system-wide shared object. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 166

A quick workaround is proposed for this Linux problem: An operator needs to view command output on screen and retain the same stream in a file. Which assumption creates the most relevant technical risk?

  1. Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal.
  2. The > redirection truncates a file rather than appending when used without the append operator.
  3. Redirecting stdout with > does not provide the program's standard input.
  4. A plain > file redirect removes the command output from the terminal rather than duplicating it.

Explanation

Correct Answer

D:

A plain > file redirect removes the command output from the terminal rather than duplicating it. This is the scenario's misleading assumption. An engineer should investigate: Verify that the source command emits the desired information on stdout. Appropriate evidence afterward is: The terminal displays each line and the file contains the same captured output.

Incorrect Answers

A:

Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal. That would matter when a script needs to record both standard output and error output in a single file for one command. The relevant distinction in this case is: A plain > file redirect removes the command output from the terminal rather than duplicating it.

B:

The > redirection truncates a file rather than appending when used without the append operator. That would matter when a noisy command must append diagnostic errors to an existing audit file without replacing its contents. 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.

C:

Redirecting stdout with > does not provide the program's standard input. 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 167

A Linux operator claims the following problem is resolved: A report should exclude comment lines that begin with the # character. Which result best demonstrates an effective repair?

  1. The literal bracketed identifier matches while regex-like alternatives are not accepted.
  2. Files with the exact suffix match while .conf.old examples do not.
  3. Test lines in all three case styles are returned from the same search.
  4. Only noncomment rows remain under the chosen comment definition.

Explanation

Correct Answer

D:

Only noncomment rows remain under the chosen comment definition. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use grep -v '^#' for exact first-character comments or adjust the expression for optional whitespace.

Incorrect Answers

A:

The literal bracketed identifier matches while regex-like alternatives are not accepted. That would matter when a log search should find an exact string containing brackets and dots without interpreting regex syntax. The relevant distinction in this case is: Only noncomment rows remain under the chosen comment definition.

B:

Files with the exact suffix match while .conf.old examples do not. 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 Linux operator claims the following problem is resolved: A report should exclude comment lines that begin with the # character.

C:

Test lines in all three case styles are returned from the same search. That would matter when a case-insensitive log search should find ERROR, Error, and error without changing the input files. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 168

A quick workaround is proposed for this Linux problem: A cpio archive should be built from an approved file list while preserving the supplied relative paths. Which assumption creates the most relevant technical risk?

  1. Decompression of the gzip layer alone does not extract the tar member files.
  2. cpio -o consumes file names from standard input and does not discover a directory tree by itself.
  3. Archiving absolute paths without reviewing restoration behavior can write outside the target directory.
  4. A plain cp of a directory is not a guaranteed recursive metadata-preserving operation.

Explanation

Correct Answer

B:

cpio -o consumes file names from standard input and does not discover a directory tree by itself. This is the scenario's misleading assumption. An engineer should investigate: Inspect the list for unexpected absolute paths, symlinks, and unintended entries. Appropriate evidence afterward is: A cpio listing shows only the intended members and a test restore yields the expected paths.

Incorrect Answers

A:

Decompression of the gzip layer alone does not extract the tar member files. That would matter when an archive was created with tar and gzip but an operator tries to restore it with a raw gunzip alone. The relevant distinction in this case is: cpio -o consumes file names from standard input and does not discover a directory tree by itself.

C:

Archiving absolute paths without reviewing restoration behavior can write outside the target directory. 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 cpio archive should be built from an approved file list while preserving the supplied relative paths.

D:

A plain cp of a directory is not a guaranteed recursive metadata-preserving operation. That would matter when an administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 169

A Linux operator claims the following problem is resolved: A server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages. Which result best demonstrates an effective repair?

  1. A fresh boot shows the unit active with no recurrence of the original journal error.
  2. Firmware selects the Linux boot entry and transfers control to GRUB before the kernel starts.
  3. The corrected boot log no longer shows the initialization failure and the system reaches its default target.
  4. The kernel locates the intended root device and the normal boot reaches userspace.

Explanation

Correct Answer

C:

The corrected boot log no longer shows the initialization failure and the system reaches its default target. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Repair the specific kernel or hardware dependency reported rather than modifying unrelated services.

Incorrect Answers

A:

A fresh boot shows the unit active with no recurrence of the original journal error. That would matter when a service fails only during startup and the engineer needs logs from the current boot. The relevant distinction in this case is: The corrected boot log no longer shows the initialization failure and the system reaches its default target.

B:

Firmware selects the Linux boot entry and transfers control to GRUB before the kernel starts. That would matter when a UEFI Linux host stops at firmware selection and never starts the installed boot manager. It does not address this case's requirement: A server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages.

D:

The kernel locates the intended root device and the normal boot reaches userspace. That would matter when a Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 170

A Linux administrator faces this situation: An engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. Which action best resolves the specific issue while preserving correct system behavior?

  1. Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods.
  2. Unmount the filesystem and use e2fsck or fsck with appropriate approved options.
  3. Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks.
  4. Use tune2fs -l on the ext filesystem to display its current metadata and settings.

Explanation

Correct Answer

D:

Use tune2fs -l on the ext filesystem to display its current metadata and settings. This corrects the case-specific failure. First verify: Inspect the target ext filesystem device and ensure the requested tool supports that format. Then demonstrate success: The output provides the expected feature and check settings without changing data.

Incorrect Answers

A:

Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods. That would matter when a mail spool cannot create new files even though df -h shows available free space. The relevant distinction in this case is: Use tune2fs -l on the ext filesystem to display its current metadata and settings.

B:

Unmount the filesystem and use e2fsck or fsck with appropriate approved options. That would matter when a damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting. It does not address this case's requirement: An engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it.

C:

Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks. That would matter when a data filesystem uses XFS and an operator proposes e2fsck because the mount failed. That separate mechanism does not verify the needed Linux administration outcome in this case.