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 31

Question 300

Before changing a Linux system, an engineer observes: An RPM update is blocked and an engineer needs package metadata rather than guessing file versions. Which check most directly isolates the relevant cause or prerequisite?

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

Explanation

Correct Answer

C:

Check the target package's installed state and dependency requirements. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use rpm -qi package-name and appropriate dependency queries before changing the installation.

Incorrect Answers

A:

Inspect the exact executable path and verify it is managed by the RPM database. 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: Check the target package's installed state and dependency requirements.

B:

Check target package name, architecture, installed version, and dependency constraints. That would matter when a local RPM package is a newer version and should replace its installed predecessor. It does not address this case's requirement: An RPM update is blocked and an engineer needs package metadata rather than guessing file versions.

D:

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

Question 301

A Linux operator claims the following problem is resolved: A legacy SysVinit machine must transition from multi-user operation to a defined runlevel. Which result best demonstrates an effective repair?

  1. The system enters the requested runlevel and the associated init scripts start or stop as expected.
  2. The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators.
  3. The machine presents a maintenance environment and returns to normal boot after the repair.
  4. The current boot switches to multi-user.target while systemctl get-default retains the original configured default.

Explanation

Correct Answer

A:

The system enters the requested runlevel and the associated init scripts start or stop as expected. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use the appropriate telinit or init runlevel command under SysVinit with planned session impact.

Incorrect Answers

B:

The countdown stops, no unexpected shutdown occurs, and the cancellation is visible to affected operators. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. The relevant distinction in this case is: The system enters the requested runlevel and the associated init scripts start or stop as expected.

C:

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. It does not address this case's requirement: A legacy SysVinit machine must transition from multi-user operation to a defined runlevel.

D:

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

Question 302

A Linux administrator faces this situation: An administrator changed a vi buffer and needs to save the edits and exit cleanly. Which action best resolves the specific issue while preserving correct system behavior?

  1. In normal mode use :wq to write the file and quit the editor.
  2. Press i to enter insert mode and Escape to return to normal mode after editing.
  3. Press o in normal mode to open a new line below and enter insert mode.
  4. Use :q! in normal mode to quit and discard the current buffer changes.

Explanation

Correct Answer

A:

In normal mode use :wq to write the file and quit the editor. This corrects the case-specific failure. First verify: Confirm the file path and that the buffer contains the reviewed final content. Then demonstrate success: The editor exits and reopening the file shows the saved modifications.

Incorrect Answers

B:

Press i to enter insert mode and Escape to return to normal mode after editing. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. The relevant distinction in this case is: In normal mode use :wq to write the file and quit the editor.

C:

Press o in normal mode to open a new line below and enter insert mode. That would matter when an editor wants to open a blank line below the current vi line and start entering text. It does not address this case's requirement: An administrator changed a vi buffer and needs to save the edits and exit cleanly.

D:

Use :q! in normal mode to quit and discard the current buffer changes. That would matter when a mistaken edit in vi must be abandoned without writing a damaged configuration. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 303

A quick workaround is proposed for this Linux problem: An administrator needs to change only a directory tree's group ownership, preserving individual file owners. Which assumption creates the most relevant technical risk?

  1. Setting mode 4755 blindly can grant effective owner privileges to an executable and expand attack surface.
  2. Directory write access alone normally permits deletion of entries regardless of file ownership.
  3. chown user:group without careful selection can change owner identity as well as group.
  4. Directory read permission alone does not grant path traversal without execute permission.

Explanation

Correct Answer

C:

chown user:group without careful selection can change owner identity as well as group. This is the scenario's misleading assumption. An engineer should investigate: Check current owner and group fields and the target team's group membership. Appropriate evidence afterward is: Group ownership changes while the file-owner user IDs remain unchanged.

Incorrect Answers

A:

Setting mode 4755 blindly can grant effective owner privileges to an executable and expand attack surface. That would matter when an administrator finds an unexpected setuid bit on a program that runs with elevated effective privilege. The relevant distinction in this case is: chown user:group without careful selection can change owner identity as well as group.

B:

Directory write access alone normally permits deletion of entries regardless of file ownership. That would matter when a shared writable directory should prevent one regular user from deleting another user's files. It does not address this case's requirement: An administrator needs to change only a directory tree's group ownership, preserving individual file owners.

D:

Directory read permission alone does not grant path traversal without execute permission. That would matter when a user can list the name of a protected directory but receives permission denied when entering it. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 304

Before changing a Linux system, an engineer observes: A local .deb archive must be installed on an isolated Debian host that may lack dependencies. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect APT source configuration and the last successful index refresh.
  2. Inspect the archive metadata and currently installed dependency versions.
  3. Check repository metadata availability and the exact package name.
  4. Verify the installed package name with dpkg -s before inspecting its contents.

Explanation

Correct Answer

B:

Inspect the archive metadata and currently installed dependency versions. This isolates the relevant condition before applying a change. The appropriate corrective response is: Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources.

Incorrect Answers

A:

Inspect APT source configuration and the last successful index refresh. 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: Inspect the archive metadata and currently installed dependency versions.

C:

Check repository metadata availability and the exact package name. That would matter when a technician needs package description and dependencies before installing a Debian repository package. It does not address this case's requirement: A local .deb archive must be installed on an isolated Debian host that may lack dependencies.

D:

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

Question 305

A Linux administrator faces this situation: An administrator needs to install a Debian package by name but the local repository index is stale. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use apt-get remove or dpkg -r rather than the purge operation.
  2. Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources.
  3. Run apt-get update before the planned apt-get install from configured repositories.
  4. Use apt-cache show package-name or an equivalent APT metadata query before selecting it.

Explanation

Correct Answer

C:

Run apt-get update before the planned apt-get install from configured repositories. This corrects the case-specific failure. First verify: Inspect APT source configuration and the last successful index refresh. Then demonstrate success: The package manager resolves the current repository version and installs the package with dependencies.

Incorrect Answers

A:

Use apt-get remove or dpkg -r rather than the purge operation. That would matter when a service package is no longer needed but its local configuration should remain for possible reinstallation. The relevant distinction in this case is: Run apt-get update before the planned apt-get install from configured repositories.

B:

Install the archive with dpkg -i and resolve any unmet dependencies through approved package sources. That would matter when a local .deb archive must be installed on an isolated Debian host that may lack dependencies. It does not address this case's requirement: An administrator needs to install a Debian package by name but the local repository index is stale.

D:

Use apt-cache show package-name or an equivalent APT metadata query before selecting it. That would matter when a technician needs package description and dependencies before installing a Debian repository package. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 306

A quick workaround is proposed for this Linux problem: A configuration file may have been modified after RPM installation and integrity must be assessed. Which assumption creates the most relevant technical risk?

  1. A file hash alone does not establish that a package was signed by the intended publisher.
  2. rpm -ql lists files from a named package; it is not the path-to-package ownership query.
  3. Direct rpm installation does not provide the same automatic repository dependency resolution.
  4. rpm -V can flag legitimate configuration changes and is not proof of malicious tampering by itself.

Explanation

Correct Answer

D:

rpm -V can flag legitimate configuration changes and is not proof of malicious tampering by itself. This is the scenario's misleading assumption. An engineer should investigate: Compare rpm verification output with planned local configuration changes. Appropriate evidence afterward is: Verification identifies relevant deviations for review without reinstalling the package blindly.

Incorrect Answers

A:

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. The relevant distinction in this case is: rpm -V can flag legitimate configuration changes and is not proof of malicious tampering by itself.

B:

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. It does not address this case's requirement: A configuration file may have been modified after RPM installation and integrity must be assessed.

C:

Direct rpm installation does not provide the same automatic repository dependency resolution. That would matter when a package must be installed from a configured RPM repository along with required dependencies. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 307

A Linux operator claims the following problem is resolved: A user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences. Which result best demonstrates an effective repair?

  1. The cursor visits subsequent matches of the intended pattern.
  2. Typed characters appear in the document and subsequent normal-mode keys navigate again.
  3. The cursor moves in the requested directions without relying on terminal arrow keys.
  4. The editor exits and reopening the file shows the saved modifications.

Explanation

Correct Answer

C:

The cursor moves in the requested directions without relying on terminal arrow keys. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use h, j, k, and l to move left, down, up, and right respectively.

Incorrect Answers

A:

The cursor visits subsequent matches of the intended pattern. That would matter when a large file must be searched in vi for the next occurrence of a distinctive setting. The relevant distinction in this case is: The cursor moves in the requested directions without relying on terminal arrow keys.

B:

Typed characters appear in the document and subsequent normal-mode keys navigate again. That would matter when a user opens a configuration in vi and cannot type text because keystrokes move the cursor. It does not address this case's requirement: A user navigates a remote vi session on a minimal console that does not send reliable arrow-key sequences.

D:

The editor exits and reopening the file shows the saved modifications. That would matter when an administrator changed a vi buffer and needs to save the edits and exit cleanly. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 308

Before changing a Linux system, an engineer observes: A noisy command must append diagnostic errors to an existing audit file without replacing its contents. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect whether names may contain whitespace or newlines before choosing a delimiter.
  2. Inspect the target file's current contents and which descriptor needs to be saved.
  3. Inspect the stream containing errors and the existing contents of the target audit log.
  4. Confirm the command writes relevant results to stdout and unneeded diagnostics to stderr.

Explanation

Correct Answer

C:

Inspect the stream containing errors and the existing contents of the target audit log. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use command 2>> errors.log to append standard error messages.

Incorrect Answers

A:

Inspect whether names may contain whitespace or newlines before choosing a delimiter. That relates to File names containing spaces must be passed from find to a command that accepts file arguments. The relevant distinction in this case is: Inspect the stream containing errors and the existing contents of the target audit log.

B:

Inspect the target file's current contents and which descriptor needs to be saved. That would matter when a maintenance script should append standard output to a cumulative log while retaining earlier runs. It does not address this case's requirement: A noisy command must append diagnostic errors to an existing audit file without replacing its contents.

D:

Confirm the command writes relevant results to stdout and unneeded diagnostics to stderr. That would matter when a command's errors must be discarded while its normal output remains available to a user. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 309

A Linux operator claims the following problem is resolved: A command started from an SSH terminal must continue after logout and store its output in a file. Which result best demonstrates an effective repair?

  1. The session remains available and the operator can reattach to its running programs.
  2. After the operator logs out, the command remains running and its output is captured.
  3. The display refreshes at the chosen cadence without requiring repeated manual invocation.
  4. The job continues and the shell prompt is available for other commands.

Explanation

Correct Answer

B:

After the operator logs out, the command remains running and its output is captured. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Launch it with nohup and appropriate output redirection or use a persistent session manager.

Incorrect Answers

A:

The session remains available and the operator can reattach to its running programs. That would matter when a terminal disconnection frequently interrupts an interactive maintenance session that must be reattached later. The relevant distinction in this case is: After the operator logs out, the command remains running and its output is captured.

C:

The display refreshes at the chosen cadence without requiring repeated manual invocation. That would matter when a monitoring script must run a small diagnostic command repeatedly and display its changing output. 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.

D:

The job continues and the shell prompt is available for other commands. That would matter when a foreground command must continue executing while the operator performs other work in the same shell. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 310

A quick workaround is proposed for this Linux problem: A host is stranded at the GRUB prompt after a disk change but the Linux partitions remain intact. Which assumption creates the most relevant technical risk?

  1. Repartitioning a healthy disk is unnecessary when the bootloader simply has stale paths.
  2. Changing /etc/default/grub without rebuilding the generated menu does not update the active entries.
  3. Generating grub.cfg alone does not install a missing first-stage bootloader.
  4. GRUB Legacy menu.lst and GRUB 2 grub.cfg are not interchangeable configuration formats.

Explanation

Correct Answer

A:

Repartitioning a healthy disk is unnecessary when the bootloader simply has stale paths. This is the scenario's misleading assumption. An engineer should investigate: Inspect GRUB's visible devices and kernel and initramfs paths before changing partitions. Appropriate evidence afterward is: The machine boots the existing installation and the repaired permanent menu survives reboot.

Incorrect Answers

B:

Changing /etc/default/grub without rebuilding the generated menu does not update the active entries. That would matter when an administrator edits /etc/default/grub but the kernel command line is unchanged after reboot. The relevant distinction in this case is: Repartitioning a healthy disk is unnecessary when the bootloader simply has stale paths.

C:

Generating grub.cfg alone does not install a missing first-stage bootloader. That would matter when a newly installed Linux root filesystem contains GRUB packages but the disk lacks executable bootloader installation. It does not address this case's requirement: A host is stranded at the GRUB prompt after a disk change but the Linux partitions remain intact.

D:

GRUB Legacy menu.lst and GRUB 2 grub.cfg are not interchangeable configuration formats. That would matter when an older GRUB Legacy server uses menu.lst, but the operator follows GRUB 2 syntax from a new runbook. That separate mechanism does not verify the needed Linux administration outcome in this case.