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 6

Question 50

Before changing a Linux system, an engineer observes: A suspected process is unresponsive to a normal termination request but its temporary files must be considered. Which check most directly isolates the relevant cause or prerequisite?

  1. Check running process names and PIDs using pgrep -a or a suitable ps filter.
  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. Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow.

Explanation

Correct Answer

C:

Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. This isolates the relevant condition before applying a change. The appropriate corrective response is: Escalate to SIGKILL only after confirming the target process and a documented graceful shutdown failure.

Incorrect Answers

A:

Check running process names and PIDs using pgrep -a or a suitable ps filter. 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: Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible.

B:

Inspect whether the task depends on an interactive controlling terminal or input. 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.

D:

Verify a screen or tmux multiplexer is installed and understand its detach/reconnect workflow. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 51

Before changing a Linux system, an engineer observes: An already mounted filesystem needs to change from read-only to read-write after a controlled recovery. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the desired mount point, device ownership, and applicable fstab options.
  2. Inspect current mount options and ensure filesystem integrity and policy permit writes.
  3. Inspect the device's filesystem type, contents, and the destination mount point.
  4. Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types.

Explanation

Correct Answer

B:

Inspect current mount options and ensure filesystem integrity and policy permit writes. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use a supported mount -o remount,rw operation on the correct filesystem.

Incorrect Answers

A:

Inspect the desired mount point, device ownership, and applicable fstab options. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. The relevant distinction in this case is: Inspect current mount options and ensure filesystem integrity and policy permit writes.

C:

Inspect the device's filesystem type, contents, and the destination mount point. That would matter when a removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. 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:

Inspect lsblk -f and blkid output for device paths, labels, UUIDs, and filesystem types. That would matter when a service cannot find the UUID of a new filesystem and an operator wants a reliable mapping from block devices. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 52

A Linux administrator faces this situation: A filesystem reports full capacity but a team needs to distinguish total filesystem use from one directory's size. Which action best resolves the specific issue while preserving correct system behavior?

  1. Unmount the filesystem and use e2fsck or fsck with appropriate approved options.
  2. Use df for filesystem totals and du for directory consumption to locate the actual source of growth.
  3. Use tune2fs -l on the ext filesystem to display its current metadata and settings.
  4. Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks.

Explanation

Correct Answer

B:

Use df for filesystem totals and du for directory consumption to locate the actual source of growth. This corrects the case-specific failure. First verify: Compare df -h for filesystem capacity with du -sh on the suspected directory. Then demonstrate success: The reported total and directory-level usage explain the capacity alert without confusing the two measures.

Incorrect Answers

A:

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. The relevant distinction in this case is: Use df for filesystem totals and du for directory consumption to locate the actual source of growth.

C:

Use tune2fs -l on the ext filesystem to display its current metadata and settings. That would matter when an engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. It does not address this case's requirement: A filesystem reports full capacity but a team needs to distinguish total filesystem use from one directory's size.

D:

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.

Question 53

Before changing a Linux system, an engineer observes: Old cache files must be identified by modification age before an approved cleanup. Which check most directly isolates the relevant cause or prerequisite?

  1. Review the meaning of find -mtime in 24-hour periods and the allowed deletion threshold.
  2. Check the fully expanded absolute target path and the contents to be removed.
  3. Inspect the starting directory and decide whether crossing filesystem boundaries is acceptable.
  4. Inspect the list for unexpected absolute paths, symlinks, and unintended entries.

Explanation

Correct Answer

A:

Review the meaning of find -mtime in 24-hour periods and the allowed deletion threshold. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use find on the cache directory with -type f and an appropriate -mtime predicate to preview candidates.

Incorrect Answers

B:

Check the fully expanded absolute target path and the contents to be removed. That would matter when a temporary build directory must be deleted recursively while the adjacent production tree remains untouched. The relevant distinction in this case is: Review the meaning of find -mtime in 24-hour periods and the allowed deletion threshold.

C:

Inspect the starting directory and decide whether crossing filesystem boundaries is acceptable. That would matter when an operator needs to find files ending in .log beneath /var/log without searching other filesystems. It does not address this case's requirement: Old cache files must be identified by modification age before an approved cleanup.

D:

Inspect the list for unexpected absolute paths, symlinks, and unintended entries. That would matter when a cpio archive should be built from an approved file list while preserving the supplied relative paths. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 54

A quick workaround is proposed for this Linux problem: A cleanup job treats /tmp and /var/tmp as having identical data-retention expectations across reboots. Which assumption creates the most relevant technical risk?

  1. /usr/share is intended for shareable static data, not continuous host-specific log growth.
  2. which reports the executable found on PATH and does not search all manual-page locations.
  3. Assuming /tmp always survives reboots or /var/tmp is never cleaned is unsafe.
  4. Mixing local configuration into executable directories complicates upgrades and violates normal FHS roles.

Explanation

Correct Answer

C:

Assuming /tmp always survives reboots or /var/tmp is never cleaned is unsafe. This is the scenario's misleading assumption. An engineer should investigate: Review the distribution's temporary-file cleanup policy and FHS roles for both locations. Appropriate evidence afterward is: A reboot-and-cleanup test preserves or removes the test data according to the documented location policy.

Incorrect Answers

A:

/usr/share is intended for shareable static data, not continuous host-specific log growth. That would matter when a service stores changing logs directly in /usr/share and a package update replaces them. The relevant distinction in this case is: Assuming /tmp always survives reboots or /var/tmp is never cleaned is unsafe.

B:

which reports the executable found on PATH and does not search all manual-page locations. That would matter when an administrator needs to locate both a command's executable and its manual page in standard locations. It does not address this case's requirement: A cleanup job treats /tmp and /var/tmp as having identical data-retention expectations across reboots.

D:

Mixing local configuration into executable directories complicates upgrades and violates normal FHS roles. That would matter when an administrator wants to place persistent host-specific configuration under /usr/bin to keep it near program executables. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 55

Before changing a Linux system, an engineer observes: A mail spool cannot create new files even though df -h shows available free space. Which check most directly isolates the relevant cause or prerequisite?

  1. Compare df -h for filesystem capacity with du -sh on the suspected directory.
  2. Inspect the target ext filesystem device and ensure the requested tool supports that format.
  3. Inspect mount state, device identity, and the journal or error reports before attempting repair.
  4. Inspect df -i for inode utilization and compare it with free block capacity.

Explanation

Correct Answer

D:

Inspect df -i for inode utilization and compare it with free block capacity. This isolates the relevant condition before applying a change. The appropriate corrective response is: Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods.

Incorrect Answers

A:

Compare df -h for filesystem capacity with du -sh on the suspected directory. 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: Inspect df -i for inode utilization and compare it with free block capacity.

B:

Inspect the target ext filesystem device and ensure the requested tool supports that format. That would matter when an engineer needs the ext4 filesystem's feature flags and configured check interval without modifying it. It does not address this case's requirement: A mail spool cannot create new files even though df -h shows available free space.

C:

Inspect mount state, device identity, and the journal or error reports before attempting repair. That would matter when a damaged ext4 filesystem on a non-root data partition needs an integrity check before remounting. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 56

Before changing a Linux system, an engineer observes: An operator wants grep to match only lines beginning with ERROR, not lines with that word in the middle. Which check most directly isolates the relevant cause or prerequisite?

  1. Check grep mode and distinguish extended + from its basic regex interpretation.
  2. Test sample lines with and without leading characters before choosing the regex anchor.
  3. Inspect whether leading whitespace before # is allowed and establish the appropriate anchor.
  4. Inspect how literal dot and end-of-line anchors interact in basic regex.

Explanation

Correct Answer

B:

Test sample lines with and without leading characters before choosing the regex anchor. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use grep '^ERROR' file.log to require the token at the start of a line.

Incorrect Answers

A:

Check grep mode and distinguish extended + from its basic regex interpretation. That would matter when an engineer needs to match one or more digits using extended regular expression quantifiers. The relevant distinction in this case is: Test sample lines with and without leading characters before choosing the regex anchor.

C:

Inspect whether leading whitespace before # is allowed and establish the appropriate anchor. That would matter when a report should exclude comment lines that begin with the # character. It does not address this case's requirement: An operator wants grep to match only lines beginning with ERROR, not lines with that word in the middle.

D:

Inspect how literal dot and end-of-line anchors interact in basic regex. That would matter when an inventory should match only lines ending in .conf, not .conf.old filenames. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 57

Before changing a Linux system, an engineer observes: An administrator needs to change only a directory tree's group ownership, preserving individual file owners. 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. Check current owner and group fields and the target team's group membership.
  4. Check the program's default requested mode and the current umask value.

Explanation

Correct Answer

C:

Check current owner and group fields and the target team's group membership. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use chgrp with the intended group and narrowly scoped recursion when required.

Incorrect Answers

A:

Inspect directory write permissions and the current sticky-bit state. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. The relevant distinction in this case is: Check current owner and group fields and the target team's group membership.

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. It does not address this case's requirement: An administrator needs to change only a directory tree's group ownership, preserving individual file owners.

D:

Check the program's default requested mode and the current umask value. That would matter when a newly created private file should default to owner read/write and group read only, with no permissions for others. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 58

Before changing a Linux system, an engineer observes: New files inside a collaborative directory should inherit the directory's project group where supported. 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. Check current owner and group fields and the target team's group membership.

Explanation

Correct Answer

B:

Check the group's membership and the directory's setgid bit and write permissions. This isolates the relevant condition before applying a change. The appropriate corrective response is: Apply the directory setgid bit with chmod g+s on the shared project directory.

Incorrect Answers

A:

Inspect directory write permissions and the current sticky-bit state. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. The relevant distinction in this case is: Check the group's membership and the directory's setgid bit and write permissions.

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: New files inside a collaborative directory should inherit the directory's project group where supported.

D:

Check current owner and group fields and the target team's group membership. That would matter when an administrator needs to change only a directory tree's group ownership, preserving individual file owners. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 59

A quick workaround is proposed for this Linux problem: A script needs to record both standard output and error output in a single file for one command. 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

C:

Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal. This is the scenario's misleading assumption. An engineer should investigate: Inspect the redirection ordering and decide whether both descriptors should share the file. Appropriate evidence afterward is: The resulting file contains both normal lines and error messages from the command.

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: Applying 2>&1 before changing stdout can leave stderr pointing to the original terminal.

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 needs to record both standard output and error output in a single file for one command.

D:

tee cannot capture upstream stderr through a plain pipe unless that descriptor is redirected. That would matter when a script uses a pipeline into tee but needs the file to collect both output and diagnostics. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 60

A Linux operator claims the following problem is resolved: An editor wants to open a blank line below the current vi line and start entering text. Which result best demonstrates an effective repair?

  1. Typed characters appear in the document and subsequent normal-mode keys navigate again.
  2. The cursor visits subsequent matches of the intended pattern.
  3. A complete identical line appears at the intended location and the original remains.
  4. The blank line appears immediately below the previous line and accepts new text.

Explanation

Correct Answer

D:

The blank line appears immediately below the previous line and accepts new text. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Press o in normal mode to open a new line below and enter insert mode.

Incorrect Answers

A:

Typed characters appear in the document and subsequent normal-mode keys navigate again. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. The relevant distinction in this case is: The blank line appears immediately below the previous line and accepts new text.

B:

The cursor visits subsequent matches of the intended pattern. 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 editor wants to open a blank line below the current vi line and start entering text.

C:

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