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 10

Question 90

Before changing a Linux system, an engineer observes: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. Which check most directly isolates the relevant cause or prerequisite?

  1. Use type command-name to distinguish a shell alias, builtin, function, or external executable.
  2. Inspect Bash history settings and run history in the active interactive session.
  3. Compare uname -r output with release files and installed package listings.
  4. Check the command chaining operator and the first command's exit status.

Explanation

Correct Answer

C:

Compare uname -r output with release files and installed package listings. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use uname -r to record the release of the currently running Linux kernel.

Incorrect Answers

A:

Use type command-name to distinguish a shell alias, builtin, function, or external executable. That would matter when a shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. The relevant distinction in this case is: Compare uname -r output with release files and installed package listings.

B:

Inspect Bash history settings and run history in the active interactive session. 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:

Check the command chaining operator and the first command's exit status. 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 91

A Linux administrator faces this situation: A removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. Which action best resolves the specific issue while preserving correct system behavior?

  1. Mount the identified device at /mnt/backup using mount with appropriate permissions.
  2. Use mount --bind source_directory target_directory for the required bind mount.
  3. Use a supported mount -o remount,rw operation on the correct filesystem.
  4. Specify appropriate user or users mount options in the verified fstab entry.

Explanation

Correct Answer

A:

Mount the identified device at /mnt/backup using mount with appropriate permissions. This corrects the case-specific failure. First verify: Inspect the device's filesystem type, contents, and the destination mount point. Then demonstrate success: findmnt or mount output shows the correct device mounted at the designated path.

Incorrect Answers

B:

Use mount --bind source_directory target_directory for the required bind mount. 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: Mount the identified device at /mnt/backup using mount with appropriate permissions.

C:

Use a supported mount -o remount,rw operation on the correct filesystem. 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: A removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore.

D:

Specify appropriate user or users mount options in the verified fstab entry. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 92

Before changing a Linux system, an engineer observes: A team needs to broadcast an urgent warning to users already logged into terminal sessions. Which check most directly isolates the relevant cause or prerequisite?

  1. Check currently active targets and verify that isolating the target will not terminate required remote access.
  2. Verify the planned stop time and which interactive sessions will be affected.
  3. Check whether a shutdown countdown remains scheduled and what warning users received.
  4. Confirm active local sessions and decide what message should be distributed.

Explanation

Correct Answer

D:

Confirm active local sessions and decide what message should be distributed. This isolates the relevant condition before applying a change. The appropriate corrective response is: Send the approved notice with wall before performing the disruptive action.

Incorrect Answers

A:

Check currently active targets and verify that isolating the target will not terminate required remote access. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. The relevant distinction in this case is: Confirm active local sessions and decide what message should be distributed.

B:

Verify the planned stop time and which interactive sessions will be affected. That would matter when a maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. It does not address this case's requirement: A team needs to broadcast an urgent warning to users already logged into terminal sessions.

C:

Check whether a shutdown countdown remains scheduled and what warning users received. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 93

A Linux administrator faces this situation: A downloaded administrative script must be compared with a published SHA-256 digest before execution. Which action best resolves the specific issue while preserving correct system behavior?

  1. Run sort on the list before uniq -c to count identical hostname occurrences.
  2. Use tail -n 10 on the intended file and tail -f only when live following is required.
  3. Use tr '[:upper:]' '[:lower:]' in the supported locale for a text stream.
  4. Compute sha256sum on the file and compare the full digest with the trusted reference.

Explanation

Correct Answer

D:

Compute sha256sum on the file and compare the full digest with the trusted reference. This corrects the case-specific failure. First verify: Check the expected digest comes from a trusted separate source and identify the exact file bytes. Then demonstrate success: The computed checksum exactly matches the independently obtained expected SHA-256 value.

Incorrect Answers

A:

Run sort on the list before uniq -c to count identical hostname occurrences. That would matter when a list of hostnames contains repeated lines and an operator needs accurate occurrence counts. The relevant distinction in this case is: Compute sha256sum on the file and compare the full digest with the trusted reference.

B:

Use tail -n 10 on the intended file and tail -f only when live following is required. That would matter when an administrator needs to inspect just the newest ten lines of a growing plain-text log. It does not address this case's requirement: A downloaded administrative script must be compared with a published SHA-256 digest before execution.

C:

Use tr '[:upper:]' '[:lower:]' in the supported locale for a text stream. 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 94

A Linux administrator faces this situation: A small host has inadequate RAM for occasional memory spikes but no configured swap area. Which action best resolves the specific issue while preserving correct system behavior?

  1. Allocate /var to a separately sized filesystem or logical volume to contain log growth.
  2. Plan storage with LVM so eligible logical volumes can be extended as capacity grows.
  3. Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed.
  4. Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location.

Explanation

Correct Answer

C:

Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed. This corrects the case-specific failure. First verify: Inspect memory pressure, existing swap usage, and free disk capacity for a suitable swap area. Then demonstrate success: swapon --show reports active swap and controlled memory pressure does not fail solely because swap was absent.

Incorrect Answers

A:

Allocate /var to a separately sized filesystem or logical volume to contain log growth. 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: Allocate supported swap space and activate it using mkswap and swapon with persistent configuration as needed.

B:

Plan storage with LVM so eligible logical volumes can be extended as capacity grows. That would matter when an organization expects to expand a virtual server's data area without repeatedly rearranging fixed partitions. It does not address this case's requirement: A small host has inadequate RAM for occasional memory spikes but no configured swap area.

D:

Create a suitably formatted EFI System Partition and mount it at the distro-supported EFI location. That would matter when an x86-64 UEFI installation has disk space for Linux but no firmware-readable EFI System Partition. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 95

Before changing a Linux system, an engineer observes: A data filesystem uses XFS and an operator proposes e2fsck because the mount failed. 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. Identify filesystem type with blkid and confirm the XFS partition is unmounted for offline repair.
  3. Inspect mount state, device identity, and the journal or error reports before attempting repair.
  4. Inspect the target ext filesystem device and ensure the requested tool supports that format.

Explanation

Correct Answer

B:

Identify filesystem type with blkid and confirm the XFS partition is unmounted for offline repair. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use the appropriate xfs_repair workflow for an XFS metadata problem after backup and safety checks.

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: Identify filesystem type with blkid and confirm the XFS partition is unmounted for offline repair.

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. It does not address this case's requirement: A data filesystem uses XFS and an operator proposes e2fsck because the mount failed.

D:

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

Question 96

A Linux administrator faces this situation: A technician invokes a local executable by name but Bash reports command not found although the file is in the current directory. Which action best resolves the specific issue while preserving correct system behavior?

  1. Recall or search an appropriate prior command using Bash history expansion or interactive reverse search.
  2. Run the executable as ./program after verifying its permissions and origin.
  3. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  4. Export the required variable with export NAME=value before launching the child.

Explanation

Correct Answer

B:

Run the executable as ./program after verifying its permissions and origin. This corrects the case-specific failure. First verify: Inspect the file permissions and whether the current directory is in the PATH lookup. Then demonstrate success: The intended local program starts without globally adding a potentially unsafe directory to PATH.

Incorrect Answers

A:

Recall or search an appropriate prior command using Bash history expansion or interactive reverse search. 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: Run the executable as ./program after verifying its permissions and origin.

C:

Correct PATH order for the intended session or invoke the approved binary by absolute path. That would matter when an interactive Bash command resolves to the wrong binary because an old admin directory precedes /usr/bin in PATH. It does not address this case's requirement: A technician invokes a local executable by name but Bash reports command not found although the file is in the current directory.

D:

Export the required variable with export NAME=value before launching the child. That would matter when a child process cannot see a variable that works when echoed in its parent Bash shell. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 97

Before changing a Linux system, an engineer observes: An ordinary user attempts to give a compute job a negative nice value and receives a permission error. Which check most directly isolates the relevant cause or prerequisite?

  1. Check the service owner's privilege and confirm the desired new nice value is lower than 15.
  2. Inspect the current UID and applicable privilege limits for raising process priority.
  3. Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority.
  4. Check the PID, owner, and current NI value of the existing process.

Explanation

Correct Answer

B:

Inspect the current UID and applicable privilege limits for raising process priority. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use a permissible nice value or obtain authorized privilege for a negative niceness adjustment.

Incorrect Answers

A:

Check the service owner's privilege and confirm the desired new nice value is lower than 15. That would matter when a service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. The relevant distinction in this case is: Inspect the current UID and applicable privilege limits for raising process priority.

C:

Inspect ps output fields and choose NI or nice rather than assuming lower PID means higher priority. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. It does not address this case's requirement: An ordinary user attempts to give a compute job a negative nice value and receives a permission error.

D:

Check the PID, owner, and current NI value of the existing process. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 98

A quick workaround is proposed for this Linux problem: A shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable. Which assumption creates the most relevant technical risk?

  1. The current working directory is not automatically searched for bare command names.
  2. Blindly executing a recalled privileged command may repeat stale or destructive arguments.
  3. A semicolon sequences commands but does not enforce a success dependency.
  4. which alone may not reveal all shell aliases and builtins that affect command resolution.

Explanation

Correct Answer

D:

which alone may not reveal all shell aliases and builtins that affect command resolution. This is the scenario's misleading assumption. An engineer should investigate: Use type command-name to distinguish a shell alias, builtin, function, or external executable. Appropriate evidence afterward is: type and the command's help output identify the requested implementation unambiguously.

Incorrect Answers

A:

The current working directory is not automatically searched for bare command names. That would matter when a technician invokes a local executable by name but Bash reports command not found although the file is in the current directory. The relevant distinction in this case is: which alone may not reveal all shell aliases and builtins that affect command resolution.

B:

Blindly executing a recalled privileged command may repeat stale or destructive 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 shell user needs the manual page for an unfamiliar command but a similarly named alias obscures the executable.

C:

A semicolon sequences commands but does not enforce a success dependency. 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 99

Before changing a Linux system, an engineer observes: A long-running batch task should be suspended and resumed in the foreground of the same shell. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the shell's jobs table and the task's current stopped or background state.
  2. Check whether the command can be safely placed into job control and has no terminal-input dependency.
  3. Inspect free -h including available memory, buffers/cache, and swap usage.
  4. Check whether the chosen ps options include processes across users and terminals.

Explanation

Correct Answer

A:

Inspect the shell's jobs table and the task's current stopped or background state. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use fg with the appropriate job specification to resume it in the foreground.

Incorrect Answers

B:

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. The relevant distinction in this case is: Inspect the shell's jobs table and the task's current stopped or background state.

C:

Inspect free -h including available memory, buffers/cache, and swap usage. That would matter when a memory alert reports a small free column and an operator assumes the Linux host has no reclaimable memory. It does not address this case's requirement: A long-running batch task should be suspended and resumed in the foreground of the same shell.

D:

Check whether the chosen ps options include processes across users and terminals. That would matter when an administrator wants to inspect all active processes and their owners rather than only the current shell's jobs. That separate mechanism does not verify the needed Linux administration outcome in this case.

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.