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 24

Question 230

Before changing a Linux system, an engineer observes: A file was recently installed but locate cannot find it even though find does. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect whether the files are mutable runtime data or read-only architecture-independent resources.
  2. Check whether the command is installed and distinguish runtime PATH from standard file locations.
  3. Check whether the locate database is present and when it was last refreshed.
  4. Check the intended data's role against Filesystem Hierarchy Standard directory purposes.

Explanation

Correct Answer

C:

Check whether the locate database is present and when it was last refreshed. This isolates the relevant condition before applying a change. The appropriate corrective response is: Refresh the locate index with updatedb under the supported policy, then query locate.

Incorrect Answers

A:

Inspect whether the files are mutable runtime data or read-only architecture-independent resources. 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: Check whether the locate database is present and when it was last refreshed.

B:

Check whether the command is installed and distinguish runtime PATH from standard file 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 file was recently installed but locate cannot find it even though find does.

D:

Check the intended data's role against Filesystem Hierarchy Standard directory purposes. 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 231

A Linux administrator faces this situation: A command started from an SSH terminal must continue after logout and store its output in a file. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use fg with the appropriate job specification to resume it in the foreground.
  2. Suspend it with Ctrl-Z if necessary and resume as a background job using bg.
  3. Use watch -n seconds with the intended command for a periodically refreshed view.
  4. Launch it with nohup and appropriate output redirection or use a persistent session manager.

Explanation

Correct Answer

D:

Launch it with nohup and appropriate output redirection or use a persistent session manager. This corrects the case-specific failure. First verify: Inspect whether the task depends on an interactive controlling terminal or input. Then demonstrate success: After the operator logs out, the command remains running and its output is captured.

Incorrect Answers

A:

Use fg with the appropriate job specification to resume it in the foreground. That would matter when a long-running batch task should be suspended and resumed in the foreground of the same shell. The relevant distinction in this case is: Launch it with nohup and appropriate output redirection or use a persistent session manager.

B:

Suspend it with Ctrl-Z if necessary and resume as a background job using bg. That would matter when a foreground command must continue executing while the operator performs other work in the same shell. 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.

C:

Use watch -n seconds with the intended command for a periodically refreshed view. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 232

A Linux operator claims the following problem is resolved: An unmount command fails because a user process still has its working directory inside the mounted filesystem. Which result best demonstrates an effective repair?

  1. An authorized regular user can mount and unmount the designated removable filesystem.
  2. umount succeeds and the device no longer appears mounted at that location.
  3. Files are visible through both paths and edits refer to the same underlying data.
  4. The mount options show rw and a controlled write test succeeds.

Explanation

Correct Answer

B:

umount succeeds and the device no longer appears mounted at that location. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Release the active references and then run umount on the correct mount point.

Incorrect Answers

A:

An authorized regular user can mount and unmount the designated removable filesystem. 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: umount succeeds and the device no longer appears mounted at that location.

C:

Files are visible through both paths and edits refer to the same underlying data. That would matter when a secondary directory tree must appear at another mount point without creating a second copy of the files. It does not address this case's requirement: An unmount command fails because a user process still has its working directory inside the mounted filesystem.

D:

The mount options show rw and a controlled write test succeeds. That would matter when an already mounted filesystem needs to change from read-only to read-write after a controlled recovery. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 233

A Linux operator claims the following problem is resolved: A headless server boots into a graphical target despite the organization's text-console requirement. Which result best demonstrates an effective repair?

  1. The host cleanly stops services, reboots, and runs the intended updated kernel.
  2. The current boot switches to multi-user.target while systemctl get-default retains the original configured default.
  3. After reboot, the default target is multi-user.target and the server reaches its text-mode services.
  4. The machine presents a maintenance environment and returns to normal boot after the repair.

Explanation

Correct Answer

C:

After reboot, the default target is multi-user.target and the server reaches its text-mode services. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Set multi-user.target as the persistent default using systemctl set-default.

Incorrect Answers

A:

The host cleanly stops services, reboots, and runs the intended updated kernel. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. The relevant distinction in this case is: After reboot, the default target is multi-user.target and the server reaches its text-mode services.

B:

The current boot switches to multi-user.target while systemctl get-default retains the original configured default. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. It does not address this case's requirement: A headless server boots into a graphical target despite the organization's text-console requirement.

D:

The machine presents a maintenance environment and returns to normal boot after the repair. That would matter when a database host must boot into recovery mode to repair a local configuration before normal services start. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 234

A Linux operator claims the following problem is resolved: A service depends on a removable USB device whose node name changes after every reboot. Which result best demonstrates an effective repair?

  1. The same physical device resolves through the stable link across detach and reattach cycles.
  2. The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot.
  3. Reconnecting the adapter creates the expected device node and stable attributes without changing other USB devices.
  4. lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.

Explanation

Correct Answer

A:

The same physical device resolves through the stable link across detach and reattach cycles. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Define a persistent match using supported udev properties and access the stable device symlink.

Incorrect Answers

B:

The sysfs attributes match the intended hardware and the interface is consistently recognized on reboot. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. The relevant distinction in this case is: The same physical device resolves through the stable link across detach and reattach cycles.

C:

Reconnecting the adapter creates the expected device node and stable attributes without changing other USB devices. That would matter when a technician must identify a newly attached USB serial adapter before creating device-specific rules. It does not address this case's requirement: A service depends on a removable USB device whose node name changes after every reboot.

D:

lspci and the driver's sysfs binding identify the controller and the associated block device becomes available. That would matter when a storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 235

A Linux operator claims the following problem is resolved: A CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks. Which result best demonstrates an effective repair?

  1. Each job's NI value is visible and can be compared to its configured scheduling behavior.
  2. The process's NI changes while its PID remains the same and workload impact can be measured.
  3. ps reports the lower NI value after the change and the service remains running.
  4. ps displays the process with the intended NI value and interactive work remains responsive.

Explanation

Correct Answer

D:

ps displays the process with the intended NI value and interactive work remains responsive. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Launch the command with nice -n 10 command to increase its niceness.

Incorrect Answers

A:

Each job's NI value is visible and can be compared to its configured scheduling behavior. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. The relevant distinction in this case is: ps displays the process with the intended NI value and interactive work remains responsive.

B:

The process's NI changes while its PID remains the same and workload impact can be measured. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. It does not address this case's requirement: A CPU-heavy batch process must start with lower scheduling priority than normal interactive tasks.

C:

ps reports the lower NI value after the change and the service remains running. 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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 236

A quick workaround is proposed for this Linux problem: A Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. Which assumption creates the most relevant technical risk?

  1. rpm -ql lists files from a named package; it is not the path-to-package ownership query.
  2. Examining only an RPM filename is insufficient to prove its installed package details.
  3. Searching only the command PATH misses package files outside executable directories.
  4. rpm -i may install alongside the old version or fail where an upgrade operation is intended.

Explanation

Correct Answer

A:

rpm -ql lists files from a named package; it is not the path-to-package ownership query. This is the scenario's misleading assumption. An engineer should investigate: Inspect the exact executable path and verify it is managed by the RPM database. Appropriate evidence afterward is: RPM returns the expected package identifier for the tracked path.

Incorrect Answers

B:

Examining only an RPM filename is insufficient to prove its installed package details. That would matter when an RPM update is blocked and an engineer needs package metadata rather than guessing file versions. The relevant distinction in this case is: rpm -ql lists files from a named package; it is not the path-to-package ownership query.

C:

Searching only the command PATH misses package files outside executable directories. That would matter when a security reviewer wants all files supplied by an installed RPM package before modifying the service. It does not address this case's requirement: A Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it.

D:

rpm -i may install alongside the old version or fail where an upgrade operation is intended. That would matter when a local RPM package is a newer version and should replace its installed predecessor. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 237

A Linux operator claims the following problem is resolved: A new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. Which result best demonstrates an effective repair?

  1. btrfs subvolume list displays the new subvolume and a test snapshot is created without repartitioning.
  2. The disk reports GPT metadata and the required partitions can be created across the intended capacity.
  3. swapon --show lists the partition as active swap and memory usage can extend into it.
  4. blkid reports ext4 and the partition mounts successfully with a writable test file.

Explanation

Correct Answer

B:

The disk reports GPT metadata and the required partitions can be created across the intended capacity. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Initialize a GPT partition table using a compatible partitioning tool after confirming the correct disk.

Incorrect Answers

A:

btrfs subvolume list displays the new subvolume and a test snapshot is created without repartitioning. That would matter when a Btrfs installation needs a logical subdivision for snapshots without allocating more disk partitions. The relevant distinction in this case is: The disk reports GPT metadata and the required partitions can be created across the intended capacity.

C:

swapon --show lists the partition as active swap and memory usage can extend into it. 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 new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits.

D:

blkid reports ext4 and the partition mounts successfully with a writable test file. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 238

Before changing a Linux system, an engineer observes: An operator expects a literal dollar sign and asterisk inside a message but Bash expands them. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect the use of single versus double quotes and the variables in the command line.
  2. Inspect Bash history settings and run history in the active interactive session.
  3. Inspect how Bash splits and expands the unquoted variable in the invoked command.
  4. Inspect the file permissions and whether the current directory is in the PATH lookup.

Explanation

Correct Answer

A:

Inspect the use of single versus double quotes and the variables in the command line. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use appropriate single quoting for fully literal text or escape specific metacharacters.

Incorrect Answers

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. The relevant distinction in this case is: Inspect the use of single versus double quotes and the variables in the command line.

C:

Inspect how Bash splits and expands the unquoted variable in the invoked command. That would matter when a maintenance script should treat a directory name containing spaces as one command argument. It does not address this case's requirement: An operator expects a literal dollar sign and asterisk inside a message but Bash expands them.

D:

Inspect the file permissions and whether the current directory is in the PATH lookup. 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. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 239

A Linux operator claims the following problem is resolved: A secondary directory tree must appear at another mount point without creating a second copy of the files. Which result best demonstrates an effective repair?

  1. findmnt or mount output shows the correct device mounted at the designated path.
  2. umount succeeds and the device no longer appears mounted at that location.
  3. An authorized regular user can mount and unmount the designated removable filesystem.
  4. Files are visible through both paths and edits refer to the same underlying data.

Explanation

Correct Answer

D:

Files are visible through both paths and edits refer to the same underlying data. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use mount --bind source_directory target_directory for the required bind mount.

Incorrect Answers

A:

findmnt or mount output shows the correct device mounted at the designated path. 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: Files are visible through both paths and edits refer to the same underlying data.

B:

umount succeeds and the device no longer appears mounted at that location. That would matter when an unmount command fails because a user process still has its working directory inside the mounted filesystem. It does not address this case's requirement: A secondary directory tree must appear at another mount point without creating a second copy of the files.

C:

An authorized regular user can mount and unmount the designated removable filesystem. 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 240

A Linux administrator faces this situation: A troubleshooting note says to use a running kernel's release number rather than the distribution marketing version. 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. Use uname -r to record the release of the currently running Linux kernel.
  3. Correct PATH order for the intended session or invoke the approved binary by absolute path.
  4. Use && when the second command must run only after a successful first command.

Explanation

Correct Answer

B:

Use uname -r to record the release of the currently running Linux kernel. This corrects the case-specific failure. First verify: Compare uname -r output with release files and installed package listings. Then demonstrate success: The recorded release matches the kernel active on that host at investigation time.

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: Use uname -r to record the release of the currently running Linux kernel.

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 troubleshooting note says to use a running kernel's release number rather than the distribution marketing version.

D:

Use && when the second command must run only after a successful first command. 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.