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 1

Question 1

A Linux operator claims the following problem is resolved: A service package is no longer needed but its local configuration should remain for possible reinstallation. Which result best demonstrates an effective repair?

  1. The package manager resolves the current repository version and installs the package with dependencies.
  2. Package-owned configuration entries are removed and the package no longer appears installed.
  3. The listed paths match files owned by the installed package.
  4. The binaries are removed while package configuration designated for retention remains.

Explanation

Correct Answer

D:

The binaries are removed while package configuration designated for retention remains. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use apt-get remove or dpkg -r rather than the purge operation.

Incorrect Answers

A:

The package manager resolves the current repository version and installs the package with dependencies. That would matter when an administrator needs to install a Debian package by name but the local repository index is stale. The relevant distinction in this case is: The binaries are removed while package configuration designated for retention remains.

B:

Package-owned configuration entries are removed and the package no longer appears installed. That would matter when an obsolete package must be removed together with its package-managed configuration files. It does not address this case's requirement: A service package is no longer needed but its local configuration should remain for possible reinstallation.

C:

The listed paths match files owned by the installed package. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 2

A Linux administrator faces this situation: A newly installed system library under a standard configured path is not found by the dynamic linker. Which action best resolves the specific issue while preserving correct system behavior?

  1. Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate.
  2. Run yum install package-name or dnf install package-name as supported by the distribution.
  3. Update approved library configuration and run ldconfig to rebuild the loader cache.
  4. Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged.

Explanation

Correct Answer

C:

Update approved library configuration and run ldconfig to rebuild the loader cache. This corrects the case-specific failure. First verify: Inspect /etc/ld.so.conf and its include files and compare them with ldconfig -p output. Then demonstrate success: ldconfig -p lists the intended soname and the linked executable loads the library successfully.

Incorrect Answers

A:

Install the matching compatible library in a supported library search path and refresh the loader cache where appropriate. That would matter when an executable reports a missing shared-object dependency although its binary file exists. The relevant distinction in this case is: Update approved library configuration and run ldconfig to rebuild the loader cache.

B:

Run yum install package-name or dnf install package-name as supported by the distribution. 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 newly installed system library under a standard configured path is not found by the dynamic linker.

D:

Set LD_LIBRARY_PATH only for the controlled test process while keeping production linker paths unchanged. That would matter when a developer temporarily tests a private library build without replacing the system-wide shared object. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 3

A Linux administrator faces this situation: A previously scheduled system shutdown must be canceled because a maintenance change was postponed. Which action best resolves the specific issue while preserving correct system behavior?

  1. Boot with the supported rescue option or isolate rescue.target through authorized local access.
  2. Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.
  3. Cancel the pending shutdown with shutdown -c and communicate the change.
  4. Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved.

Explanation

Correct Answer

C:

Cancel the pending shutdown with shutdown -c and communicate the change. This corrects the case-specific failure. First verify: Check whether a shutdown countdown remains scheduled and what warning users received. Then demonstrate success: The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators.

Incorrect Answers

A:

Boot with the supported rescue option or isolate rescue.target through authorized local access. That would matter when a database host must boot into recovery mode to repair a local configuration before normal services start. The relevant distinction in this case is: Cancel the pending shutdown with shutdown -c and communicate the change.

B:

Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users. 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 previously scheduled system shutdown must be canceled because a maintenance change was postponed.

D:

Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 4

A Linux administrator faces this situation: An administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use dd with carefully checked input and output operands to copy the intended raw device.
  2. Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive.
  3. Use rm -r only against the verified temporary directory with appropriate safety checks.
  4. Use cp -a source_directory destination_directory where supported and review the destination path.

Explanation

Correct Answer

D:

Use cp -a source_directory destination_directory where supported and review the destination path. This corrects the case-specific failure. First verify: Inspect ownership and permissions of the source and identify whether archive-style preservation is required. Then demonstrate success: The copied tree retains expected symlinks, modes, and timestamps without dereferencing links unexpectedly.

Incorrect Answers

A:

Use dd with carefully checked input and output operands to copy the intended raw device. That would matter when an operator must produce a byte-for-byte image of an offline removable device before analysis. The relevant distinction in this case is: Use cp -a source_directory destination_directory where supported and review the destination path.

B:

Use tar -czf backup.tar.gz -C /source/parent directory to create a gzip-compressed archive. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. It does not address this case's requirement: An administrator must copy a directory tree while retaining timestamps, modes, and symbolic links.

C:

Use rm -r only against the verified temporary directory with appropriate safety checks. That would matter when a temporary build directory must be deleted recursively while the adjacent production tree remains untouched. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 5

A quick workaround is proposed for this Linux problem: An administrator deletes the original file but expects its symbolic link to keep working as a stored copy. Which assumption creates the most relevant technical risk?

  1. A hard link follows an inode and does not automatically switch when a versioned target path changes.
  2. Ordinary hard links cannot span separate filesystems, while symlinks can store path references.
  3. A hard link is another directory entry for the inode, not a separate byte-for-byte copy.
  4. A symbolic link stores a target path and can become dangling when that path disappears.

Explanation

Correct Answer

D:

A symbolic link stores a target path and can become dangling when that path disappears. This is the scenario's misleading assumption. An engineer should investigate: Inspect the symlink target and confirm whether its referenced pathname still exists. Appropriate evidence afterward is: The symlink resolves after the target is restored, or the copied file remains readable independently.

Incorrect Answers

A:

A hard link follows an inode and does not automatically switch when a versioned target path changes. That would matter when an application needs a versioned executable alias that can be repointed to a new release without replacing the binary. The relevant distinction in this case is: A symbolic link stores a target path and can become dangling when that path disappears.

B:

Ordinary hard links cannot span separate filesystems, while symlinks can store path references. 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.

C:

A hard link is another directory entry for the inode, not a separate byte-for-byte copy. 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 6

Before changing a Linux system, an engineer observes: A line of a text file should be deleted in vi without selecting individual characters. Which check most directly isolates the relevant cause or prerequisite?

  1. Locate the exact target line in normal mode before editing.
  2. Inspect whether there are unsaved changes and whether the on-disk original should remain untouched.
  3. Confirm vi is in normal mode and choose the correct search direction.
  4. Identify the line to duplicate and the destination cursor position in normal mode.

Explanation

Correct Answer

A:

Locate the exact target line in normal mode before editing. This isolates the relevant condition before applying a change. The appropriate corrective response is: Press dd to delete the current line and verify the surrounding lines.

Incorrect Answers

B:

Inspect whether there are unsaved changes and whether the on-disk original should remain untouched. That would matter when a mistaken edit in vi must be abandoned without writing a damaged configuration. The relevant distinction in this case is: Locate the exact target line in normal mode before editing.

C:

Confirm vi is in normal mode and choose the correct search direction. 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: A line of a text file should be deleted in vi without selecting individual characters.

D:

Identify the line to duplicate and the destination cursor position in normal mode. 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.

Question 7

A quick workaround is proposed for this Linux problem: A configuration file must be referenced through an alias on a different filesystem. Which assumption creates the most relevant technical risk?

  1. Ordinary hard links cannot span separate filesystems, while symlinks can store path references.
  2. A symbolic link stores a target path and can become dangling when that path disappears.
  3. A hard link follows an inode and does not automatically switch when a versioned target path changes.
  4. A hard link is another directory entry for the inode, not a separate byte-for-byte copy.

Explanation

Correct Answer

A:

Ordinary hard links cannot span separate filesystems, while symlinks can store path references. This is the scenario's misleading assumption. An engineer should investigate: Check the source path and whether the alias may need to cross filesystem boundaries. Appropriate evidence afterward is: readlink identifies the target and opening the alias reaches the original file.

Incorrect Answers

B:

A symbolic link stores a target path and can become dangling when that path disappears. That would matter when an administrator deletes the original file but expects its symbolic link to keep working as a stored copy. The relevant distinction in this case is: Ordinary hard links cannot span separate filesystems, while symlinks can store path references.

C:

A hard link follows an inode and does not automatically switch when a versioned target path changes. That would matter when an application needs a versioned executable alias that can be repointed to a new release without replacing the binary. It does not address this case's requirement: A configuration file must be referenced through an alias on a different filesystem.

D:

A hard link is another directory entry for the inode, not a separate byte-for-byte copy. 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 8

A quick workaround is proposed for this Linux problem: A package must be installed from a configured RPM repository along with required dependencies. 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. A file hash alone does not establish that a package was signed by the intended publisher.
  3. Direct rpm installation does not provide the same automatic repository dependency resolution.
  4. Reinstalling an old RPM file does not correct stale Zypper repository metadata.

Explanation

Correct Answer

C:

Direct rpm installation does not provide the same automatic repository dependency resolution. This is the scenario's misleading assumption. An engineer should investigate: Inspect enabled YUM or DNF repositories and package availability. Appropriate evidence afterward is: The manager resolves dependencies and the requested package is installed from an approved source.

Incorrect Answers

A:

rpm -ql lists files from a named package; it is not the path-to-package ownership query. That would matter when a Red Hat family host contains an unfamiliar executable and an engineer must identify which installed RPM owns it. The relevant distinction in this case is: Direct rpm installation does not provide the same automatic repository dependency resolution.

B:

A file hash alone does not establish that a package was signed by the intended publisher. That would matter when a package file is downloaded from a mirror and must be checked for authenticity before installation. It does not address this case's requirement: A package must be installed from a configured RPM repository along with required dependencies.

D:

Reinstalling an old RPM file does not correct stale Zypper repository metadata. That would matter when a SUSE administrator cannot find a recently published package through the configured Zypper repositories. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 9

A quick workaround is proposed for this Linux problem: A new large data disk must use GPT because its planned capacity exceeds the practical MBR partitioning limits. Which assumption creates the most relevant technical risk?

  1. Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap.
  2. Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss.
  3. A Btrfs subvolume is not the same as an independent block partition or a new physical disk.
  4. Choosing a legacy MBR label for a very large disk can prevent using its full planned space.

Explanation

Correct Answer

D:

Choosing a legacy MBR label for a very large disk can prevent using its full planned space. This is the scenario's misleading assumption. An engineer should investigate: Inspect the disk size and existing partition-table label using parted or gdisk before writing. Appropriate evidence afterward is: The disk reports GPT metadata and the required partitions can be created across the intended capacity.

Incorrect Answers

A:

Formatting a partition with an ordinary mkfs command does not make it usable as Linux swap. That would matter when a newly allocated swap partition is present but the kernel refuses to activate it as swap. The relevant distinction in this case is: Choosing a legacy MBR label for a very large disk can prevent using its full planned space.

B:

Running mkfs against a device containing needed data destroys filesystem metadata and may cause data loss. That would matter when a partition is ready for an ext4 filesystem but mount attempts fail because it has no recognized filesystem. 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.

C:

A Btrfs subvolume is not the same as an independent block partition or a new physical disk. That would matter when a Btrfs installation needs a logical subdivision for snapshots without allocating more disk partitions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 10

A Linux administrator faces this situation: An import file has colon-separated fields and only its third field is needed for reporting. 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. Extract the third field with cut -d: -f3 on the correctly delimited stream.
  3. Use tr '[:upper:]' '[:lower:]' in the supported locale for a text stream.
  4. Use tail -n 10 on the intended file and tail -f only when live following is required.

Explanation

Correct Answer

B:

Extract the third field with cut -d: -f3 on the correctly delimited stream. This corrects the case-specific failure. First verify: Inspect the input delimiter and verify the field count on representative lines. Then demonstrate success: Sample rows return precisely the third colon-separated value without adjacent fields.

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: Extract the third field with cut -d: -f3 on the correctly delimited stream.

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. It does not address this case's requirement: An import file has colon-separated fields and only its third field is needed for reporting.

D:

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