Practice Exams:

LPI 101-500 Dumps

EXAM: LPIC-1 Exam 101
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

101-500 Premium Bundle


  • Premium File 120 Questions & Answers
  • Training Course 126 Lectures
  • Study Guide 442 Pages

LPI 101-500 Practice Test 12

Question 110

A workstation cloned from a BIOS-based image is deployed as a UEFI machine and boot entries do not match the target environment. Which adverse result is most specifically linked to the uncorrected condition?

  1. The executable may still fail to load or may execute against an incompatible untrusted library.
  2. Concurrent writes and repair operations may compound corruption or lose important files.
  3. The machine may stop before the Linux kernel can be selected or started.
  4. The package may remain unconfigured or introduce an untrusted dependency chain.

Answer & Explanations

Correct answer: C

A.

This failure concerns another situation: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The case here is: A workstation cloned from a BIOS-based image is deployed as a UEFI machine and boot entries do not match the target environment. The primary consequence is: The machine may stop before the Linux kernel can be selected or started. The prevention is: Verify actual firmware mode and install or repair GRUB into the correct device or EFI environment using supported tools.

B.

This failure concerns another situation: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The case here is: A workstation cloned from a BIOS-based image is deployed as a UEFI machine and boot entries do not match the target environment. The primary consequence is: The machine may stop before the Linux kernel can be selected or started. The prevention is: Verify actual firmware mode and install or repair GRUB into the correct device or EFI environment using supported tools.

C.

The machine may stop before the Linux kernel can be selected or started. This can follow from the shortcut: Install a BIOS-only bootloader into an arbitrary partition while assuming UEFI will load it automatically. The protective action is: Verify actual firmware mode and install or repair GRUB into the correct device or EFI environment using supported tools. The case states: A workstation cloned from a BIOS-based image is deployed as a UEFI machine and boot entries do not match the target environment.

D.

This failure concerns another situation: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The case here is: A workstation cloned from a BIOS-based image is deployed as a UEFI machine and boot entries do not match the target environment. The primary consequence is: The machine may stop before the Linux kernel can be selected or started. The prevention is: Verify actual firmware mode and install or repair GRUB into the correct device or EFI environment using supported tools.

Question 111

A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. Which action best matches the required Linux behavior?

  1. Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.
  2. Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.
  3. Identify processes and active working directories using the mount, then close them before a supported umount operation.
  4. Use find with an explicit starting path, regular-file type and appropriate age predicate before any reviewed action.

Answer & Explanations

Correct answer: A

A.

Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The scenario is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The technical reason is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

B.

This action fits another scenario: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The stated scenario is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The appropriate response here is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

C.

This action fits another scenario: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The stated scenario is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The appropriate response here is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

D.

This action fits another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The stated scenario is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The appropriate response here is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

Question 112

A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The administrator proposes: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. What underlying principle explains the selected remedy?

  1. Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.
  2. The kernel ring buffer describes kernel activity while the systemd journal can associate boot messages with units and timestamps.
  3. Package selection depends on repository configuration, available versions and dependency compatibility in the SUSE ecosystem.
  4. Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

Answer & Explanations

Correct answer: A

A.

Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later. That is why the appropriate action is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The stated problem is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters.

B.

This principle explains another scenario: A workstation reboots during early service startup and the technician only checks a currently running application log. The situation here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The controlling mechanism is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

C.

This principle explains another scenario: An openSUSE workstation has conflicting repository priorities and offers an unexpected package version during upgrade. The situation here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The controlling mechanism is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

D.

This principle explains another scenario: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The situation here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The controlling mechanism is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

Question 113

A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The administrator proposes: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. Which practical check confirms the proposed fix works as intended?

  1. Use ldd to confirm the formerly missing library resolves to an expected trusted path, then rerun the application.
  2. Disconnect a test session and confirm the job PID remains active and produces its expected completion log.
  3. Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.
  4. Boot a controlled rescue environment, verify the target is not mounted for writes, and inspect the post-repair filesystem consistency.

Answer & Explanations

Correct answer: C

A.

This check is intended for another scenario: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The case here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The pertinent test is: Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.

B.

This check is intended for another scenario: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The case here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The pertinent test is: Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.

C.

Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry. This verifies the action: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The test applies to: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters.

D.

This check is intended for another scenario: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The case here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The pertinent test is: Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.

Question 114

A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. Which shortcut is most likely to worsen this exact condition?

  1. Reinstall every package because the host did not reach the login prompt, without isolating the failing boot stage.
  2. Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change.
  3. Type configuration into normal mode and then force quit while assuming keystrokes were saved.
  4. Compile random kernel modules without checking whether the PCI or USB bus detects the component.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A newly imaged laptop reaches UEFI firmware but never displays a GRUB selection after changing disk layout. The specific case is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. Here, avoid: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

B.

Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. This is unsafe in: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The likely result is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

C.

This is a shortcut for another issue: A new administrator can navigate a configuration file in vi but typing does not insert text because normal mode is active. The specific case is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. Here, avoid: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

D.

This is a shortcut for another issue: A virtualized Linux workstation cannot see a newly attached USB barcode scanner and the technician proposes rebuilding the kernel immediately. The specific case is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. Here, avoid: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

Question 115

A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. What consequence best illustrates this particular configuration risk?

  1. An unnecessarily destructive action can remove useful configuration without addressing the specific package setting.
  2. The wrong package may be replaced while the actual installation or dependency problem is left unresolved.
  3. Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file.
  4. The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The case here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The primary consequence is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. The prevention is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

B.

This failure concerns another situation: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The case here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The primary consequence is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. The prevention is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

C.

This failure concerns another situation: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The case here is: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The primary consequence is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. The prevention is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

D.

The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. This can follow from the shortcut: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. The protective action is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The case states: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters.

Question 116

After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. Which Linux administration step most directly corrects this problem?

  1. Design mount points and partition or logical-volume allocations around root, /var, /home, boot requirements and expected workload growth.
  2. Correlate journalctl boot records with dmesg kernel messages to isolate the failure stage and affected service or driver.
  3. Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.
  4. Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

Answer & Explanations

Correct answer: D

A.

This action fits another scenario: A logging server fills its root filesystem because variable application logs share the same small root partition. The stated scenario is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The appropriate response here is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

B.

This action fits another scenario: A workstation reboots during early service startup and the technician only checks a currently running application log. The stated scenario is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The appropriate response here is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

C.

This action fits another scenario: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The stated scenario is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The appropriate response here is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

D.

Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The scenario is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The technical reason is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

Question 117

After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The administrator proposes: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. Why would the recommended command or configuration resolve this problem?

  1. A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
  2. UEFI firmware discovers boot files on an EFI-compatible system partition; Linux root and swap fulfill different runtime roles.
  3. A shell's job lifecycle and hangup signals can terminate attached processes unless their session handling is deliberate.
  4. Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The situation here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The controlling mechanism is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

B.

This principle explains another scenario: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The situation here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The controlling mechanism is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

C.

This principle explains another scenario: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The situation here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The controlling mechanism is: Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.

D.

Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later. That is why the appropriate action is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The stated problem is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments.

Question 118

After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The administrator proposes: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. Which verification is most specifically tied to the original failure?

  1. Identify the last successful boot stage and verify the next component or configuration with a controlled recovery boot.
  2. Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.
  3. Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.
  4. Launch two isolated clones and compare assigned machine identifiers and SSH host key fingerprints after first boot.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A newly imaged laptop reaches UEFI firmware but never displays a GRUB selection after changing disk layout. The case here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The pertinent test is: Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.

B.

Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry. This verifies the action: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The test applies to: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments.

C.

This check is intended for another scenario: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The case here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The pertinent test is: Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.

D.

This check is intended for another scenario: A virtual machine template was copied to several cloud guests and all instances unexpectedly share the same machine identity. The case here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The pertinent test is: Compare the regenerated GRUB entries and kernel parameters with the approved settings, then test the selected boot entry.

Question 119

After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. Which risky choice fails to address the actual Linux problem?

  1. Use an unreviewed wildcard substitution directly on a production config file and assume it matches one hostname.
  2. Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change.
  3. Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies.
  4. Delete the executable and guess which downloaded .deb to install without reading the package database.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The specific case is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. Here, avoid: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

B.

Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. This is unsafe in: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The likely result is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

C.

This is a shortcut for another issue: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The specific case is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. Here, avoid: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

D.

This is a shortcut for another issue: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The specific case is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. Here, avoid: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. Instead: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

Question 120

After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. Which operational impact should the engineer expect if the gap remains?

  1. The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries.
  2. Applications may fail on the next boot because their required filesystem is not mounted automatically.
  3. The machine can boot into an unsuitable service state while administrators still cannot predict its target behavior.
  4. Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy.

Answer & Explanations

Correct answer: A

A.

The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. This can follow from the shortcut: Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change. The protective action is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow. The case states: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments.

B.

This failure concerns another situation: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The case here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The primary consequence is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. The prevention is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

C.

This failure concerns another situation: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The case here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The primary consequence is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. The prevention is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

D.

This failure concerns another situation: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The case here is: After adding a recovery kernel, an engineer must safely refresh visible GRUB entries without manually overwriting generated fragments. The primary consequence is: The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries. The prevention is: Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

LPIC-1 Exam 101 (101-500) Practice Tests