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 39

Question 380

Before changing a Linux system, an engineer observes: The support team needs a live ranking of CPU-intensive processes during a short performance incident. Which check most directly isolates the relevant cause or prerequisite?

  1. Check whether the chosen ps options include processes across users and terminals.
  2. Check running process names and PIDs using pgrep -a or a suitable ps filter.
  3. Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible.
  4. Check process CPU consumption and current resource use with a continuously updating monitor.

Explanation

Correct Answer

D:

Check process CPU consumption and current resource use with a continuously updating monitor. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use top and inspect per-process CPU usage, state, and identifiers.

Incorrect Answers

A:

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. The relevant distinction in this case is: Check process CPU consumption and current resource use with a continuously updating monitor.

B:

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. It does not address this case's requirement: The support team needs a live ranking of CPU-intensive processes during a short performance incident.

C:

Inspect process state and determine whether SIGTERM was received and whether cleanup is still possible. That would matter when a suspected process is unresponsive to a normal termination request but its temporary files must be considered. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 381

A Linux administrator faces this situation: An administrator deletes the original file but expects its symbolic link to keep working as a stored copy. Which action best resolves the specific issue while preserving correct system behavior?

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

Explanation

Correct Answer

B:

Restore the intended target or replace the link with a real copy if independent content is required. This corrects the case-specific failure. First verify: Inspect the symlink target and confirm whether its referenced pathname still exists. Then demonstrate success: The symlink resolves after the target is restored, or the copied file remains readable independently.

Incorrect Answers

A:

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. The relevant distinction in this case is: Restore the intended target or replace the link with a real copy if independent content is required.

C:

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. It does not address this case's requirement: An administrator deletes the original file but expects its symbolic link to keep working as a stored copy.

D:

Create a hard link with ln original second_name on the same filesystem. That would matter when two filenames on the same filesystem must reference exactly the same file data and inode. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 382

A Linux operator claims the following problem is resolved: A mail spool cannot create new files even though df -h shows available free space. Which result best demonstrates an effective repair?

  1. The XFS check completes and the volume remounts with expected files accessible.
  2. df -i shows sufficient free inodes and new files can be created again.
  3. The reported total and directory-level usage explain the capacity alert without confusing the two measures.
  4. The ext4 check completes, repair is recorded, and a subsequent mount and file validation pass.

Explanation

Correct Answer

B:

df -i shows sufficient free inodes and new files can be created again. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Remove or consolidate approved excessive small files or enlarge the filesystem inode capacity using supported methods.

Incorrect Answers

A:

The XFS check completes and the volume remounts with expected files accessible. That would matter when a data filesystem uses XFS and an operator proposes e2fsck because the mount failed. The relevant distinction in this case is: df -i shows sufficient free inodes and new files can be created again.

C:

The reported total and directory-level usage explain the capacity alert without confusing the two measures. That would matter when a filesystem reports full capacity but a team needs to distinguish total filesystem use from one directory's size. It does not address this case's requirement: A mail spool cannot create new files even though df -h shows available free space.

D:

The ext4 check completes, repair is recorded, and a subsequent mount and file validation pass. 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 383

A Linux operator claims the following problem is resolved: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook. Which result best demonstrates an effective repair?

  1. The machine boots the existing installation and the repaired permanent menu survives reboot.
  2. The boot menu and cat /proc/cmdline reflect the intended persistent parameter after reboot.
  3. The firmware or boot sector loads GRUB and it presents the configured boot entries.
  4. The legacy menu loads the desired kernel and its options without parsing errors.

Explanation

Correct Answer

D:

The legacy menu loads the desired kernel and its options without parsing errors. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Apply configuration in the syntax and file format expected by the installed Legacy bootloader.

Incorrect Answers

A:

The machine boots the existing installation and the repaired permanent menu survives reboot. That would matter when a host is stranded at the GRUB prompt after a disk change but the Linux partitions remain intact. The relevant distinction in this case is: The legacy menu loads the desired kernel and its options without parsing errors.

B:

The boot menu and cat /proc/cmdline reflect the intended persistent parameter after reboot. That would matter when an administrator edits /etc/default/grub but the kernel command line is unchanged after reboot. It does not address this case's requirement: An older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook.

C:

The firmware or boot sector loads GRUB and it presents the configured boot entries. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 384

A Linux operator claims the following problem is resolved: A VM snapshot is used as a golden image and every clone contains the same SSH host private keys. Which result best demonstrates an effective repair?

  1. Cloned guests present different server host key fingerprints to SSH clients.
  2. A newly created instance applies the intended hostname, authorized keys, and initialization settings.
  3. RPM returns the expected package identifier for the tracked path.
  4. New clones receive distinct machine IDs without losing the base image's required software configuration.

Explanation

Correct Answer

A:

Cloned guests present different server host key fingerprints to SSH clients. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Remove template-specific host keys and regenerate unique SSH host identities during instance initialization.

Incorrect Answers

B:

A newly created instance applies the intended hostname, authorized keys, and initialization settings. That would matter when a cloud instance boots with the wrong hostname and SSH access despite correct virtual hardware settings. The relevant distinction in this case is: Cloned guests present different server host key fingerprints to SSH clients.

C:

RPM returns the expected package identifier for the tracked path. That would matter when a Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. It does not address this case's requirement: A VM snapshot is used as a golden image and every clone contains the same SSH host private keys.

D:

New clones receive distinct machine IDs without losing the base image's required software configuration. That would matter when a Linux VM template is cloned many times and every instance inherits the same machine ID. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 385

Before changing a Linux system, an engineer observes: A service stores changing logs directly in /usr/share and a package update replaces them. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

C:

Inspect whether the files are mutable runtime data or read-only architecture-independent resources. This isolates the relevant condition before applying a change. The appropriate corrective response is: Move changing logs under a suitable /var/log location and retain static shared resources under /usr/share.

Incorrect Answers

A:

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. The relevant distinction in this case is: Inspect whether the files are mutable runtime data or read-only architecture-independent resources.

B:

Check whether the locate database is present and when it was last refreshed. That would matter when a file was recently installed but locate cannot find it even though find does. It does not address this case's requirement: A service stores changing logs directly in /usr/share and a package update replaces them.

D:

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

Question 386

A Linux administrator faces this situation: A configuration audit must find a keyword anywhere under a directory tree, including nested .conf files. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use grep -i error file.log to ignore letter case during matching.
  2. Use grep -r with a carefully scoped path and pattern.
  3. Use grep '\.conf$' to match a literal .conf suffix at the line end.
  4. Use grep -F with the exact text to perform a fixed-string search.

Explanation

Correct Answer

B:

Use grep -r with a carefully scoped path and pattern. This corrects the case-specific failure. First verify: Inspect the directory hierarchy and whether the tool is instructed to recurse into subdirectories. Then demonstrate success: Matching lines in nested files appear alongside their file paths when requested.

Incorrect Answers

A:

Use grep -i error file.log to ignore letter case during matching. That would matter when a case-insensitive log search should find ERROR, Error, and error without changing the input files. The relevant distinction in this case is: Use grep -r with a carefully scoped path and pattern.

C:

Use grep '\.conf$' to match a literal .conf suffix at the line end. That would matter when an inventory should match only lines ending in .conf, not .conf.old filenames. It does not address this case's requirement: A configuration audit must find a keyword anywhere under a directory tree, including nested .conf files.

D:

Use grep -F with the exact text to perform a fixed-string search. That would matter when a log search should find an exact string containing brackets and dots without interpreting regex syntax. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 387

A Linux administrator faces this situation: A program reads input from standard input but the data already exists in a local 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. Pipe the command output into tee output.log so the stream reaches both the terminal and file.
  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

A:

Redirect the file to the program using command < input.txt. This corrects the case-specific failure. First verify: Inspect whether the program accepts data from stdin rather than requiring a file pathname. Then demonstrate success: The program reads precisely the input file bytes and produces the intended result.

Incorrect Answers

B:

Pipe the command output into tee output.log so the stream reaches both the terminal and file. That would matter when an operator needs to view command output on screen and retain the same stream in a file. The relevant distinction in this case is: Redirect the file to the program using command < input.txt.

C:

Redirect only stdout with command > report.txt and leave stderr separate. That would matter when a command writes reports to standard output and warnings to standard error but only reports should enter a data file. It does not address this case's requirement: A program reads input from standard input but the data already exists in a local 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 388

Before changing a Linux system, an engineer observes: A local RPM package is a newer version and should replace its installed predecessor. Which check most directly isolates the relevant cause or prerequisite?

  1. Check target package name, architecture, installed version, and dependency constraints.
  2. Confirm the installed package name and verify it is tracked by RPM.
  3. Inspect enabled YUM or DNF repositories and package availability.
  4. Check the target package's installed state and dependency requirements.

Explanation

Correct Answer

A:

Check target package name, architecture, installed version, and dependency constraints. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use rpm -Uvh package.rpm for a controlled upgrade or the distribution's dependency-aware manager.

Incorrect Answers

B:

Confirm the installed package name and verify it is tracked by RPM. 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: Check target package name, architecture, installed version, and dependency constraints.

C:

Inspect enabled YUM or DNF repositories and package availability. That would matter when a package must be installed from a configured RPM repository along with required dependencies. It does not address this case's requirement: A local RPM package is a newer version and should replace its installed predecessor.

D:

Check the target package's installed state and dependency requirements. That would matter when an RPM update is blocked and an engineer needs package metadata rather than guessing file versions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 389

A quick workaround is proposed for this Linux problem: A log-heavy Linux server uses a single root filesystem and application logs can fill all available space. Which assumption creates the most relevant technical risk?

  1. Putting /home under the same root filesystem does not offer partition-level isolation during reinstallation.
  2. A generic ext4 /boot partition does not automatically replace the FAT-based ESP used by UEFI firmware.
  3. LVM adds flexible volume management but does not eliminate filesystem resize or backup requirements.
  4. Separating /var without sufficient sizing or monitoring may only relocate the capacity problem.

Explanation

Correct Answer

D:

Separating /var without sufficient sizing or monitoring may only relocate the capacity problem. This is the scenario's misleading assumption. An engineer should investigate: Inspect expected /var growth, disk capacity, and mount-point constraints before partitioning. Appropriate evidence afterward is: Filling the log filesystem no longer exhausts root filesystem space while normal service requirements are met.

Incorrect Answers

A:

Putting /home under the same root filesystem does not offer partition-level isolation during reinstallation. That would matter when a workstation must preserve user data when its system filesystem is reinstalled. The relevant distinction in this case is: Separating /var without sufficient sizing or monitoring may only relocate the capacity problem.

B:

A generic ext4 /boot partition does not automatically replace the FAT-based ESP used by UEFI firmware. 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 log-heavy Linux server uses a single root filesystem and application logs can fill all available space.

C:

LVM adds flexible volume management but does not eliminate filesystem resize or backup requirements. 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 390

A quick workaround is proposed for this Linux problem: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory. Which assumption creates the most relevant technical risk?

  1. Treating /dev and /sys as interchangeable writable configuration stores misunderstands their roles.
  2. Using insmod without resolving dependencies or checking module compatibility can leave device initialization incomplete.
  3. Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery.
  4. Hard-coding the transient /dev node can redirect automation to a different device.

Explanation

Correct Answer

C:

Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery. This is the scenario's misleading assumption. An engineer should investigate: Check whether the device is presented to the guest and inspect lspci output and the corresponding /sys/bus/pci entries. Appropriate evidence afterward is: lspci and the driver's sysfs binding identify the controller and the associated block device becomes available.

Incorrect Answers

A:

Treating /dev and /sys as interchangeable writable configuration stores misunderstands their roles. 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: Assuming that host hardware automatically appears in a guest confuses device passthrough with guest discovery.

B:

Using insmod without resolving dependencies or checking module compatibility can leave device initialization incomplete. That would matter when a device driver is present on disk but its kernel module has not been loaded for a supported peripheral. It does not address this case's requirement: A storage controller is visible to the hypervisor but not identified in the guest's PCI inventory.

D:

Hard-coding the transient /dev node can redirect automation to a different device. That would matter when a service depends on a removable USB device whose node name changes after every reboot. That separate mechanism does not verify the needed Linux administration outcome in this case.