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 12

Question 110

A Linux administrator faces this situation: A configuration file may have been modified after RPM installation and integrity must be assessed. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use rpm -ql package-name to list the installed package's file manifest.
  2. Use rpm -qi package-name and appropriate dependency queries before changing the installation.
  3. Use rpm -V package-name to examine database-backed file integrity attributes.
  4. Run rpm -K on the downloaded package and reject an untrusted or invalid signature.

Explanation

Correct Answer

C:

Use rpm -V package-name to examine database-backed file integrity attributes. This corrects the case-specific failure. First verify: Compare rpm verification output with planned local configuration changes. Then demonstrate success: Verification identifies relevant deviations for review without reinstalling the package blindly.

Incorrect Answers

A:

Use rpm -ql package-name to list the installed package's file manifest. That would matter when a security reviewer wants all files supplied by an installed RPM package before modifying the service. The relevant distinction in this case is: Use rpm -V package-name to examine database-backed file integrity attributes.

B:

Use rpm -qi package-name and appropriate dependency queries before changing the installation. That would matter when an RPM update is blocked and an engineer needs package metadata rather than guessing file versions. It does not address this case's requirement: A configuration file may have been modified after RPM installation and integrity must be assessed.

D:

Run rpm -K on the downloaded package and reject an untrusted or invalid signature. That would matter when a package file is downloaded from a mirror and must be checked for authenticity before installation. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 111

A Linux operator claims the following problem is resolved: A configuration file must be referenced through an alias on a different filesystem. Which result best demonstrates an effective repair?

  1. ls -i shows the same inode for both names and edits through either name are shared.
  2. The alias resolves to the new executable and can be safely returned to the prior release.
  3. readlink identifies the target and opening the alias reaches the original file.
  4. The symlink resolves after the target is restored, or the copied file remains readable independently.

Explanation

Correct Answer

C:

readlink identifies the target and opening the alias reaches the original file. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Create a symbolic link using ln -s source_path alias_path.

Incorrect Answers

A:

ls -i shows the same inode for both names and edits through either name are shared. That would matter when two filenames on the same filesystem must reference exactly the same file data and inode. The relevant distinction in this case is: readlink identifies the target and opening the alias reaches the original file.

B:

The alias resolves to the new executable and can be safely returned to the prior release. That would matter when an application needs a versioned executable alias that can be repointed to a new release without replacing the binary. It does not address this case's requirement: A configuration file must be referenced through an alias on a different filesystem.

D:

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

Question 112

Before changing a Linux system, an engineer observes: A command started from an SSH terminal must continue after logout and store its output in a file. Which check most directly isolates the relevant cause or prerequisite?

  1. Verify the diagnostic command is safe for periodic repetition and set an appropriate interval.
  2. Inspect whether the task depends on an interactive controlling terminal or input.
  3. Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible.
  4. Check whether the command can be safely placed into job control and has no terminal-input dependency.

Explanation

Correct Answer

B:

Inspect whether the task depends on an interactive controlling terminal or input. This isolates the relevant condition before applying a change. The appropriate corrective response is: Launch it with nohup and appropriate output redirection or use a persistent session manager.

Incorrect Answers

A:

Verify the diagnostic command is safe for periodic repetition and set an appropriate interval. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. The relevant distinction in this case is: Inspect whether the task depends on an interactive controlling terminal or input.

C:

Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. 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 command started from an SSH terminal must continue after logout and store its output in a file.

D:

Check whether the command can be safely placed into job control and has no terminal-input dependency. That would matter when a foreground command must continue executing while the operator performs other work in the same shell. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 113

A quick workaround is proposed for this Linux problem: A data filesystem uses XFS and an operator proposes e2fsck because the mount failed. Which assumption creates the most relevant technical risk?

  1. du reports traversed file usage; it cannot by itself show every filesystem's free blocks.
  2. Applying ext-family repair tools to an XFS volume is not a valid repair strategy.
  3. Running a destructive filesystem repair against a mounted writable filesystem can worsen corruption.
  4. tune2fs is not an XFS management tool and should not be used on arbitrary filesystem formats.

Explanation

Correct Answer

B:

Applying ext-family repair tools to an XFS volume is not a valid repair strategy. This is the scenario's misleading assumption. An engineer should investigate: Identify filesystem type with blkid and confirm the XFS partition is unmounted for offline repair. Appropriate evidence afterward is: The XFS check completes and the volume remounts with expected files accessible.

Incorrect Answers

A:

du reports traversed file usage; it cannot by itself show every filesystem's free blocks. That would matter when a filesystem reports full capacity but a team needs to distinguish total filesystem use from one directory's size. The relevant distinction in this case is: Applying ext-family repair tools to an XFS volume is not a valid repair strategy.

C:

Running a destructive filesystem repair against a mounted writable filesystem can worsen corruption. 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: A data filesystem uses XFS and an operator proposes e2fsck because the mount failed.

D:

tune2fs is not an XFS management tool and should not be used on arbitrary filesystem formats. That would matter when an engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 114

A Linux administrator faces this situation: File names containing spaces must be passed from find to a command that accepts file arguments. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use command 2>> errors.log to append standard error messages.
  2. Pipe the command output into tee output.log so the stream reaches both the terminal and file.
  3. Redirect the file to the program using command < input.txt.
  4. Use find ... -print0 with xargs -0 or the safe find -exec form.

Explanation

Correct Answer

D:

Use find ... -print0 with xargs -0 or the safe find -exec form. This corrects the case-specific failure. First verify: Inspect whether names may contain whitespace or newlines before choosing a delimiter. Then demonstrate success: Test files with spaces and newlines are each processed as a single argument.

Incorrect Answers

A:

Use command 2>> errors.log to append standard error messages. That would matter when a noisy command must append diagnostic errors to an existing audit file without replacing its contents. The relevant distinction in this case is: Use find . -print0 with xargs -0 or the safe find -exec form.

B:

Pipe the command output into tee output.log so the stream reaches both the terminal and file. 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:

Redirect the file to the program using command < input.txt. 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 115

A quick workaround is proposed for this Linux problem: A script uses a pipeline into tee but needs the file to collect both output and diagnostics. Which assumption creates the most relevant technical risk?

  1. Using 2> report.txt captures diagnostic messages instead of normal stdout.
  2. A plain > file redirect removes the command output from the terminal rather than duplicating it.
  3. Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal.
  4. tee cannot capture upstream stderr through a plain pipe unless that descriptor is redirected.

Explanation

Correct Answer

D:

tee cannot capture upstream stderr through a plain pipe unless that descriptor is redirected. This is the scenario's misleading assumption. An engineer should investigate: Inspect whether upstream errors are on stderr and whether tee receives only stdout. Appropriate evidence afterward is: A controlled test includes both normal and error lines in the tee output file.

Incorrect Answers

A:

Using 2> report.txt captures diagnostic messages instead of normal stdout. 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: tee cannot capture upstream stderr through a plain pipe unless that descriptor is redirected.

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: A script uses a pipeline into tee but needs the file to collect both output and diagnostics.

C:

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

Question 116

Before changing a Linux system, an engineer observes: An administrator changed a vi buffer and needs to save the edits and exit cleanly. Which check most directly isolates the relevant cause or prerequisite?

  1. Identify the line to duplicate and the destination cursor position in normal mode.
  2. Confirm vi is in normal mode and choose the correct search direction.
  3. Inspect the current vi mode and distinguish command-mode navigation from insertion.
  4. Confirm the file path and that the buffer contains the reviewed final content.

Explanation

Correct Answer

D:

Confirm the file path and that the buffer contains the reviewed final content. This isolates the relevant condition before applying a change. The appropriate corrective response is: In normal mode use :wq to write the file and quit the editor.

Incorrect Answers

A:

Identify the line to duplicate and the destination cursor position in normal mode. That would matter when a configuration line must be copied and pasted below another location without retyping it. The relevant distinction in this case is: Confirm the file path and that the buffer contains the reviewed final content.

B:

Confirm vi is in normal mode and choose the correct search direction. That would matter when a large file must be searched in vi for the next occurrence of a distinctive setting. It does not address this case's requirement: An administrator changed a vi buffer and needs to save the edits and exit cleanly.

C:

Inspect the current vi mode and distinguish command-mode navigation from insertion. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 117

A Linux administrator faces this situation: A Btrfs installation needs a logical subdivision for snapshots without allocating more disk partitions. Which action best resolves the specific issue while preserving correct system behavior?

  1. Create an ext4 filesystem with mkfs.ext4 on the verified target partition.
  2. Initialize the partition with mkswap and activate it using swapon.
  3. Create a Btrfs subvolume in the filesystem and mount or snapshot it as required.
  4. Initialize a GPT partition table using a compatible partitioning tool after confirming the correct disk.

Explanation

Correct Answer

C:

Create a Btrfs subvolume in the filesystem and mount or snapshot it as required. This corrects the case-specific failure. First verify: Inspect current Btrfs filesystem membership and the subvolume hierarchy. Then demonstrate success: btrfs subvolume list displays the new subvolume and a test snapshot is created without repartitioning.

Incorrect Answers

A:

Create an ext4 filesystem with mkfs.ext4 on the verified target partition. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. The relevant distinction in this case is: Create a Btrfs subvolume in the filesystem and mount or snapshot it as required.

B:

Initialize the partition with mkswap and activate it using swapon. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. It does not address this case's requirement: A Btrfs installation needs a logical subdivision for snapshots without allocating more disk partitions.

D:

Initialize a GPT partition table using a compatible partitioning tool after confirming the correct disk. That would matter when a new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 118

A Linux administrator faces this situation: An editor wants to open a blank line below the current vi line and start entering text. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use yy to yank the line, navigate to the destination, and press p to paste below.
  2. Press i to enter insert mode and Escape to return to normal mode after editing.
  3. Press o in normal mode to open a new line below and enter insert mode.
  4. Use :q! in normal mode to quit and discard the current buffer changes.

Explanation

Correct Answer

C:

Press o in normal mode to open a new line below and enter insert mode. This corrects the case-specific failure. First verify: Check the cursor position and ensure that the intended action is below rather than above. Then demonstrate success: The blank line appears immediately below the previous line and accepts new text.

Incorrect Answers

A:

Use yy to yank the line, navigate to the destination, and press p to paste below. That would matter when a configuration line must be copied and pasted below another location without retyping it. The relevant distinction in this case is: Press o in normal mode to open a new line below and enter insert mode.

B:

Press i to enter insert mode and Escape to return to normal mode after editing. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. It does not address this case's requirement: An editor wants to open a blank line below the current vi line and start entering text.

D:

Use :q! in normal mode to quit and discard the current buffer changes. That would matter when a mistaken edit in vi must be abandoned without writing a damaged configuration. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 119

A Linux operator claims the following problem is resolved: A Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration. Which result best demonstrates an effective repair?

  1. The kernel locates the intended root device and the normal boot reaches userspace.
  2. Firmware selects the Linux boot entry and transfers control to GRUB before the kernel starts.
  3. After the temporary boot, cat /proc/cmdline confirms the argument and subsequent normal boots omit it.
  4. The corrected boot log no longer shows the initialization failure and the system reaches its default target.

Explanation

Correct Answer

A:

The kernel locates the intended root device and the normal boot reaches userspace. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Correct the root= identifier and regenerate the supported GRUB configuration if required.

Incorrect Answers

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. The relevant distinction in this case is: The kernel locates the intended root device and the normal boot reaches userspace.

C:

After the temporary boot, cat /proc/cmdline confirms the argument and subsequent normal boots omit it. That would matter when a system needs a temporary diagnostic kernel argument without permanently changing every GRUB entry. 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:

The corrected boot log no longer shows the initialization failure and the system reaches its default target. That would matter when a server intermittently hangs before systemd starts and an administrator needs to see kernel initialization messages. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 120

A Linux administrator faces this situation: A new storage driver is required early in boot to access an encrypted root volume. 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. Correct the root= identifier and regenerate the supported GRUB configuration if required.
  3. Include the supported driver and encryption prerequisites in a regenerated initramfs for the installed kernel.
  4. Restore the correct UEFI boot entry and supported EFI bootloader files for the installed system.

Explanation

Correct Answer

C:

Include the supported driver and encryption prerequisites in a regenerated initramfs for the installed kernel. This corrects the case-specific failure. First verify: Inspect boot messages for initramfs module loading and storage-device discovery before root mount. Then demonstrate success: The initramfs discovers and unlocks the intended root volume without an emergency shell.

Incorrect Answers

A:

Edit the kernel parameters for that single boot and leave permanent configuration unchanged. That would matter when a system needs a temporary diagnostic kernel argument without permanently changing every GRUB entry. The relevant distinction in this case is: Include the supported driver and encryption prerequisites in a regenerated initramfs for the installed kernel.

B:

Correct the root= identifier and regenerate the supported GRUB configuration if required. That would matter when a Linux machine loads GRUB but immediately fails to find its root filesystem after a storage migration. It does not address this case's requirement: A new storage driver is required early in boot to access an encrypted root volume.

D:

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