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 8

Question 70

A support engineer plans an immediate power off of a remote workstation with active sessions and wants to avoid data loss. Which operational impact should the engineer expect if the gap remains?

  1. The executable may still fail to load or may execute against an incompatible untrusted library.
  2. An early boot configuration fault remains hidden beneath unrelated operating system changes.
  3. Concurrent writes and repair operations may compound corruption or lose important files.
  4. Open files and workloads may be interrupted and the filesystem may require recovery on the next boot.

Answer & Explanations

Correct answer: D

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 support engineer plans an immediate power off of a remote workstation with active sessions and wants to avoid data loss. The primary consequence is: Open files and workloads may be interrupted and the filesystem may require recovery on the next boot. The prevention is: Schedule shutdown or reboot through supported system commands and notify connected users before the planned maintenance window.

B.

This failure concerns another situation: A newly imaged laptop reaches UEFI firmware but never displays a GRUB selection after changing disk layout. The case here is: A support engineer plans an immediate power off of a remote workstation with active sessions and wants to avoid data loss. The primary consequence is: Open files and workloads may be interrupted and the filesystem may require recovery on the next boot. The prevention is: Schedule shutdown or reboot through supported system commands and notify connected users before the planned maintenance window.

C.

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 support engineer plans an immediate power off of a remote workstation with active sessions and wants to avoid data loss. The primary consequence is: Open files and workloads may be interrupted and the filesystem may require recovery on the next boot. The prevention is: Schedule shutdown or reboot through supported system commands and notify connected users before the planned maintenance window.

D.

Open files and workloads may be interrupted and the filesystem may require recovery on the next boot. This can follow from the shortcut: Cut power to the host while active writers are running merely because a shell prompt remains responsive. The protective action is: Schedule shutdown or reboot through supported system commands and notify connected users before the planned maintenance window. The case states: A support engineer plans an immediate power off of a remote workstation with active sessions and wants to avoid data loss.

Question 71

A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. Which configuration or command decision addresses the stated failure?

  1. Schedule shutdown or reboot through supported system commands and notify connected users before the planned maintenance window.
  2. Design mount points and partition or logical-volume allocations around root, /var, /home, boot requirements and expected workload growth.
  3. Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.
  4. Provide an architecture-appropriate EFI System Partition and distinct Linux root and swap arrangements as needed by the deployment.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The stated scenario is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The appropriate response here is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

B.

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: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The appropriate response here is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

C.

Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The scenario is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The technical reason is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

D.

This action fits another scenario: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The stated scenario is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The appropriate response here is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

Question 72

A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The administrator proposes: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. Which technical explanation supports the proposed Linux action?

  1. Normal-mode search and line operations act at the current cursor position, so targeted navigation matters.
  2. nice influences a new process at launch; renice changes scheduling preference of an already running process.
  3. Bus enumeration and module state reveal whether hardware is detected independently of a particular application configuration.
  4. Isolating maintenance services for the current session does not require changing the future default boot behavior.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The situation here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The controlling mechanism is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

B.

This principle explains another scenario: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The situation here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The controlling mechanism is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

C.

This principle explains another scenario: A virtualized Linux workstation cannot see a newly attached USB barcode scanner and the technician proposes rebuilding the kernel immediately. The situation here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The controlling mechanism is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

D.

Isolating maintenance services for the current session does not require changing the future default boot behavior. That is why the appropriate action is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The stated problem is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot.

Question 73

A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The administrator proposes: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. What test should validate the proposed configuration or command change?

  1. Disconnect a test session and confirm the job PID remains active and produces its expected completion log.
  2. Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
  3. Compare module state and the relevant sysfs entry before and after modprobe and verify the correct device is usable.
  4. Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

Answer & Explanations

Correct answer: D

A.

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 service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The pertinent test is: Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

B.

This check is intended for another scenario: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The case here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The pertinent test is: Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

C.

This check is intended for another scenario: A storage controller has a recognized PCI identifier but its expected driver is absent from the loaded module list. The case here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The pertinent test is: Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

D.

Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured. This verifies the action: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The test applies to: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot.

Question 74

A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. What action would most directly undermine the intended safeguard?

  1. Always send SIGKILL as the initial response to every process that does not stop instantly.
  2. Permanently change the default to emergency.target just to inspect one transient service failure.
  3. Detach the storage device physically while an active process still writes to the filesystem.
  4. Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A database helper is slow to exit and an operator wants to ensure it can flush in-memory state. The specific case is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. Here, avoid: Permanently change the default to emergency.target just to inspect one transient service failure. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

B.

Permanently change the default to emergency.target just to inspect one transient service failure. This is unsafe in: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The likely result is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

C.

This is a shortcut for another issue: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The specific case is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. Here, avoid: Permanently change the default to emergency.target just to inspect one transient service failure. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

D.

This is a shortcut for another issue: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The specific case is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. Here, avoid: Permanently change the default to emergency.target just to inspect one transient service failure. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

Question 75

A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. What problem is the proposed administration change designed to prevent?

  1. The original driver or service fault loses its diagnostic timeline and may recur without explanation.
  2. The configuration remains unchanged or unwanted editor commands execute instead of adding text.
  3. A different disk may be mounted or the intended filesystem can be skipped at boot.
  4. The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A workstation reboots during early service startup and the technician only checks a currently running application log. The case here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The primary consequence is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. The prevention is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

B.

This failure concerns another situation: A new administrator can navigate a configuration file in vi but typing does not insert text because normal mode is active. The case here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The primary consequence is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. The prevention is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

C.

This failure concerns another situation: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The case here is: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The primary consequence is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. The prevention is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

D.

The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. This can follow from the shortcut: Permanently change the default to emergency.target just to inspect one transient service failure. The protective action is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The case states: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot.

Question 76

A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. Which action best matches the required Linux behavior?

  1. Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.
  2. Edit the intended boot entry temporarily and validate kernel command-line parameters before updating persistent bootloader defaults.
  3. Compare lspci, lsusb, kernel messages and loaded modules to identify the device before selecting supported driver or peripheral changes.
  4. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

Answer & Explanations

Correct answer: A

A.

Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The scenario is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The technical reason is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

B.

This action fits another scenario: A test system boots normally until a changed kernel argument prevents access to required storage. The stated scenario is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The appropriate response here is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

C.

This action fits another scenario: A virtualized Linux workstation cannot see a newly attached USB barcode scanner and the technician proposes rebuilding the kernel immediately. The stated scenario is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The appropriate response here is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

D.

This action fits another scenario: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The stated scenario is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The appropriate response here is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

Question 77

A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The administrator proposes: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. What underlying principle explains the selected remedy?

  1. Kernel modules provide device drivers while the sysfs device model and udev help expose recognized hardware to user space.
  2. Isolating maintenance services for the current session does not require changing the future default boot behavior.
  3. Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.
  4. Firmware selects a boot target, the bootloader loads the kernel, and early user-space initialization precedes service startup.

Answer & Explanations

Correct answer: B

A.

This principle explains another scenario: A storage controller has a recognized PCI identifier but its expected driver is absent from the loaded module list. The situation here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The controlling mechanism is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

B.

Isolating maintenance services for the current session does not require changing the future default boot behavior. That is why the appropriate action is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The stated problem is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target.

C.

This principle explains another scenario: A host has several similarly named application processes and only one worker must be restarted. The situation here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The controlling mechanism is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

D.

This principle explains another scenario: A newly imaged laptop reaches UEFI firmware but never displays a GRUB selection after changing disk layout. The situation here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The controlling mechanism is: Isolating maintenance services for the current session does not require changing the future default boot behavior.

Question 78

A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The administrator proposes: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. Which practical check confirms the proposed fix works as intended?

  1. Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.
  2. Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.
  3. Boot a controlled rescue environment, verify the target is not mounted for writes, and inspect the post-repair filesystem consistency.
  4. Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

Answer & Explanations

Correct answer: D

A.

This check is intended for another scenario: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The case here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The pertinent test is: Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

B.

This check is intended for another scenario: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The case here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The pertinent test is: Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

C.

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 server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The pertinent test is: Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.

D.

Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured. This verifies the action: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The test applies to: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target.

Question 79

A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. Which shortcut is most likely to worsen this exact condition?

  1. Hardcode the first available /dev/sdX device as a permanent backup mount without checking its identity.
  2. Format the EFI System Partition as swap because it is listed near the beginning of the partition table.
  3. Permanently change the default to emergency.target just to inspect one transient service failure.
  4. Install a BIOS-only bootloader into an arbitrary partition while assuming UEFI will load it automatically.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The specific case is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. Here, avoid: Permanently change the default to emergency.target just to inspect one transient service failure. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

B.

This is a shortcut for another issue: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The specific case is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. Here, avoid: Permanently change the default to emergency.target just to inspect one transient service failure. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

C.

Permanently change the default to emergency.target just to inspect one transient service failure. This is unsafe in: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The likely result is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

D.

This is a shortcut for another issue: A server has an installed GRUB configuration but its firmware cannot find the correct bootloader after a disk replacement. The specific case is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. Here, avoid: Permanently change the default to emergency.target just to inspect one transient service failure. Instead: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

Question 80

A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. What consequence best illustrates this particular configuration risk?

  1. The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished.
  2. A failure may be missed by operators because its error stream was never captured where expected.
  3. Unrelated configuration can be erased and the obsolete directive may remain.
  4. Child programs may run with missing configuration even though the parent shell displays the variable correctly.

Answer & Explanations

Correct answer: A

A.

The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. This can follow from the shortcut: Permanently change the default to emergency.target just to inspect one transient service failure. The protective action is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default. The case states: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target.

B.

This failure concerns another situation: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The case here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The primary consequence is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. The prevention is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

C.

This failure concerns another situation: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The case here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The primary consequence is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. The prevention is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

D.

This failure concerns another situation: A shell script starts a subprocess that cannot see a value assigned earlier in an interactive Bash session. The case here is: A server is temporarily switched to rescue mode but the engineer must ensure subsequent boots return to its documented normal target. The primary consequence is: The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished. The prevention is: Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

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