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 11

Question 100

Before changing a Linux system, an engineer observes: An obsolete package must be removed together with its package-managed configuration files. Which check most directly isolates the relevant cause or prerequisite?

  1. Verify the installed package name with dpkg -s before inspecting its contents.
  2. Inspect dpkg --audit and any configuration script failure messages before retrying.
  3. Identify the package's retained config state and back up any intentionally preserved data.
  4. Check whether the service has modified configuration files that need to be retained.

Explanation

Correct Answer

C:

Identify the package's retained config state and back up any intentionally preserved data. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use apt-get purge or dpkg --purge for the package when configuration removal is authorized.

Incorrect Answers

A:

Verify the installed package name with dpkg -s before inspecting its contents. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. The relevant distinction in this case is: Identify the package's retained config state and back up any intentionally preserved data.

B:

Inspect dpkg --audit and any configuration script failure messages before retrying. 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 obsolete package must be removed together with its package-managed configuration files.

D:

Check whether the service has modified configuration files that need to be retained. That would matter when a service package is no longer needed but its local configuration should remain for possible reinstallation. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 101

A quick workaround is proposed for this Linux problem: An already mounted filesystem needs to change from read-only to read-write after a controlled recovery. Which assumption creates the most relevant technical risk?

  1. Copying files into an unmounted mount-point directory can accidentally fill the root filesystem.
  2. A malformed fstab entry may affect boot; saving the file alone does not validate it.
  3. Hard-coding a temporary /dev/sdX path assumes stable device discovery order.
  4. A remount does not repair an underlying filesystem error that forced read-only access.

Explanation

Correct Answer

D:

A remount does not repair an underlying filesystem error that forced read-only access. This is the scenario's misleading assumption. An engineer should investigate: Inspect current mount options and ensure filesystem integrity and policy permit writes. Appropriate evidence afterward is: The mount options show rw and a controlled write test succeeds.

Incorrect Answers

A:

Copying files into an unmounted mount-point directory can accidentally fill the root filesystem. That would matter when a removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. The relevant distinction in this case is: A remount does not repair an underlying filesystem error that forced read-only access.

B:

A malformed fstab entry may affect boot; saving the file alone does not validate it. That would matter when an administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately. 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.

C:

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 102

A Linux administrator faces this situation: Two filenames on the same filesystem must reference exactly the same file data and inode. Which action best resolves the specific issue while preserving correct system behavior?

  1. Restore the intended target or replace the link with a real copy if independent content is required.
  2. Create a hard link with ln original second_name on the same filesystem.
  3. Use a symbolic link or a bind mount rather than creating an ordinary hard link to a directory.
  4. Create a symbolic link using ln -s source_path alias_path.

Explanation

Correct Answer

B:

Create a hard link with ln original second_name on the same filesystem. This corrects the case-specific failure. First verify: Inspect their filesystem boundaries and whether the target is a regular file. Then demonstrate success: ls -i shows the same inode for both names and edits through either name are shared.

Incorrect Answers

A:

Restore the intended target or replace the link with a real copy if independent content is required. 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: Create a hard link with ln original second_name on the same filesystem.

C:

Use a symbolic link or a bind mount rather than creating an ordinary hard link to a directory. That would matter when an operator attempts to hard-link a directory as a shortcut to reuse it from another location. It does not address this case's requirement: Two filenames on the same filesystem must reference exactly the same file data and inode.

D:

Create a symbolic link using ln -s source_path alias_path. That would matter when a configuration file must be referenced through an alias on a different filesystem. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 103

A quick workaround is proposed for this Linux problem: A monitoring script must run a small diagnostic command repeatedly and display its changing output. Which assumption creates the most relevant technical risk?

  1. Appending & by itself does not reliably prevent hangup termination for every session configuration.
  2. jobs reports jobs controlled by the current shell, not all processes on the system.
  3. A single ps command provides one snapshot rather than a recurring view.
  4. Using killall with a generic name risks terminating unrelated instances.

Explanation

Correct Answer

C:

A single ps command provides one snapshot rather than a recurring view. This is the scenario's misleading assumption. An engineer should investigate: Verify the diagnostic command is safe for periodic repetition and set an appropriate interval. Appropriate evidence afterward is: The display refreshes at the chosen cadence without requiring repeated manual invocation.

Incorrect Answers

A:

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: A single ps command provides one snapshot rather than a recurring view.

B:

jobs reports jobs controlled by the current shell, not all processes on the system. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. It does not address this case's requirement: A monitoring script must run a small diagnostic command repeatedly and display its changing output.

D:

Using killall with a generic name risks terminating unrelated instances. 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.

Question 104

A Linux operator claims the following problem is resolved: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. Which result best demonstrates an effective repair?

  1. The recorded release matches the kernel active on that host at investigation time.
  2. type identifies the desired executable first and the command runs the approved version.
  3. The selected command can be reviewed and re-executed without retyping its arguments.
  4. A deliberately failed first command prevents the dependent second action from executing.

Explanation

Correct Answer

A:

The recorded release matches the kernel active on that host at investigation time. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use uname -r to record the release of the currently running Linux kernel.

Incorrect Answers

B:

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. The relevant distinction in this case is: The recorded release matches the kernel active on that host at investigation time.

C:

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. 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:

A deliberately failed first command prevents the dependent second action from executing. 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 105

A Linux operator claims the following problem is resolved: An import file has colon-separated fields and only its third field is needed for reporting. Which result best demonstrates an effective repair?

  1. Sample rows return precisely the third colon-separated value without adjacent fields.
  2. The output shows the final ten recorded lines and live following displays new appended records.
  3. All occurrences of each hostname contribute to one correct count in the output.
  4. Uppercase sample letters become lowercase while unaffected characters remain intact.

Explanation

Correct Answer

A:

Sample rows return precisely the third colon-separated value without adjacent fields. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Extract the third field with cut -d: -f3 on the correctly delimited stream.

Incorrect Answers

B:

The output shows the final ten recorded lines and live following displays new appended records. That would matter when an administrator needs to inspect just the newest ten lines of a growing plain-text log. The relevant distinction in this case is: Sample rows return precisely the third colon-separated value without adjacent fields.

C:

All occurrences of each hostname contribute to one correct count in the output. That would matter when a list of hostnames contains repeated lines and an operator needs accurate occurrence counts. It does not address this case's requirement: An import file has colon-separated fields and only its third field is needed for reporting.

D:

Uppercase sample letters become lowercase while unaffected characters remain intact. That would matter when a stream includes mixed-case letters but downstream comparison requires lowercase text. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 106

A quick workaround is proposed for this Linux problem: A user can list the name of a protected directory but receives permission denied when entering it. Which assumption creates the most relevant technical risk?

  1. chown user:group without careful selection can change owner identity as well as group.
  2. Directory read permission alone does not grant path traversal without execute permission.
  3. Changing permissions to 777 masks ownership errors and unnecessarily grants broad write access.
  4. Directory write access alone normally permits deletion of entries regardless of file ownership.

Explanation

Correct Answer

B:

Directory read permission alone does not grant path traversal without execute permission. This is the scenario's misleading assumption. An engineer should investigate: Inspect the parent-directory permissions, especially execute or search permission on each path component. Appropriate evidence afterward is: The authorized user can traverse the directory path without excessive listing or write rights.

Incorrect Answers

A:

chown user:group without careful selection can change owner identity as well as group. That would matter when an administrator needs to change only a directory tree's group ownership, preserving individual file owners. The relevant distinction in this case is: Directory read permission alone does not grant path traversal without execute permission.

C:

Changing permissions to 777 masks ownership errors and unnecessarily grants broad write access. That would matter when a service process cannot read a data directory because files are owned by the wrong account. It does not address this case's requirement: A user can list the name of a protected directory but receives permission denied when entering it.

D:

Directory write access alone normally permits deletion of entries regardless of file ownership. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 107

A Linux operator claims the following problem is resolved: A workstation must preserve user data when its system filesystem is reinstalled. Which result best demonstrates an effective repair?

  1. Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met.
  2. A test reinstall changes the root filesystem while the intended user data remains available under /home.
  3. UEFI firmware can load the installed EFI bootloader and the system boots normally.
  4. A controlled virtual disk expansion increases the desired filesystem without moving unrelated mount points.

Explanation

Correct Answer

B:

A test reinstall changes the root filesystem while the intended user data remains available under /home. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Create a dedicated /home filesystem and keep it separate from the operating-system root partition.

Incorrect Answers

A:

Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met. 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: A test reinstall changes the root filesystem while the intended user data remains available under /home.

C:

UEFI firmware can load the installed EFI bootloader and the system boots normally. That would matter when an x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. It does not address this case's requirement: A workstation must preserve user data when its system filesystem is reinstalled.

D:

A controlled virtual disk expansion increases the desired filesystem without moving unrelated mount points. That would matter when an organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 108

A Linux operator claims the following problem is resolved: A user opens a configuration in vi and cannot type text because keystrokes move the cursor. Which result best demonstrates an effective repair?

  1. The cursor moves in the requested directions without relying on terminal arrow keys.
  2. A complete identical line appears at the intended location and the original remains.
  3. Typed characters appear in the document and subsequent normal-mode keys navigate again.
  4. The intended full line disappears and no adjacent lines are deleted.

Explanation

Correct Answer

C:

Typed characters appear in the document and subsequent normal-mode keys navigate again. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Press i to enter insert mode and Escape to return to normal mode after editing.

Incorrect Answers

A:

The cursor moves in the requested directions without relying on terminal arrow keys. That would matter when a user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences. The relevant distinction in this case is: Typed characters appear in the document and subsequent normal-mode keys navigate again.

B:

A complete identical line appears at the intended location and the original remains. That would matter when a configuration line must be copied and pasted below another location without retyping it. It does not address this case's requirement: A user opens a configuration in vi and cannot type text because keystrokes move the cursor.

D:

The intended full line disappears and no adjacent lines are deleted. That would matter when a line of a text file should be deleted in vi without selecting individual characters. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 109

A Linux administrator faces this situation: A command writes reports to standard output and warnings to standard error but only reports should enter a data file. Which action best resolves the specific issue while preserving correct system behavior?

  1. Redirect the file to the program using command < input.txt.
  2. Redirect only standard error to /dev/null with 2>/dev/null after evaluating audit requirements.
  3. Redirect only stdout with command > report.txt and leave stderr separate.
  4. Use command > combined.log 2>&1 with the intended shell redirection order.

Explanation

Correct Answer

C:

Redirect only stdout with command > report.txt and leave stderr separate. This corrects the case-specific failure. First verify: Identify which messages use file descriptor 1 versus file descriptor 2. Then demonstrate success: The report contains normal output while diagnostic errors remain visible on stderr.

Incorrect Answers

A:

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. The relevant distinction in this case is: Redirect only stdout with command > report.txt and leave stderr separate.

B:

Redirect only standard error to /dev/null with 2>/dev/null after evaluating audit requirements. That would matter when a command's errors must be discarded while its normal output remains available to a user. It does not address this case's requirement: A command writes reports to standard output and warnings to standard error but only reports should enter a data file.

D:

Use command > combined.log 2>&1 with the intended shell redirection order. 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 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.