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 53

Question 520

A support team needs a filesystem only for a one-time maintenance session and does not want to change the next boot's mounts. Which operational impact should the engineer expect if the gap remains?

  1. Applications may fail on the next boot because their required filesystem is not mounted automatically.
  2. The planned batch job may terminate early and leave incomplete output.
  3. The machine can boot into an unsuitable service state while administrators still cannot predict its target behavior.
  4. Previously dangerous arguments may run again and damage the host instead of informing a controlled procedure.

Answer & Explanations

Correct answer: A

A.

Applications may fail on the next boot because their required filesystem is not mounted automatically. This can follow from the shortcut: Treat one successful manual mount as proof that the disk will be present after every restart. The protective action is: Distinguish an immediate mount command from a reviewed persistent /etc/fstab configuration and choose the needed lifecycle. The case states: A support team needs a filesystem only for a one-time maintenance session and does not want to change the next boot's mounts.

B.

This failure concerns another situation: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The case here is: A support team needs a filesystem only for a one-time maintenance session and does not want to change the next boot's mounts. The primary consequence is: Applications may fail on the next boot because their required filesystem is not mounted automatically. The prevention is: Distinguish an immediate mount command from a reviewed persistent /etc/fstab configuration and choose the needed lifecycle.

C.

This failure concerns another situation: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The case here is: A support team needs a filesystem only for a one-time maintenance session and does not want to change the next boot's mounts. The primary consequence is: Applications may fail on the next boot because their required filesystem is not mounted automatically. The prevention is: Distinguish an immediate mount command from a reviewed persistent /etc/fstab configuration and choose the needed lifecycle.

D.

This failure concerns another situation: A junior engineer repeatedly guesses unfamiliar command flags from memory despite local manual pages describing exact usage. The case here is: A support team needs a filesystem only for a one-time maintenance session and does not want to change the next boot's mounts. The primary consequence is: Applications may fail on the next boot because their required filesystem is not mounted automatically. The prevention is: Distinguish an immediate mount command from a reviewed persistent /etc/fstab configuration and choose the needed lifecycle.

Question 521

An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. Which configuration or command decision addresses the stated failure?

  1. Identify the intended process by PID, command line and owner before sending the appropriate signal.
  2. Compare df for free blocks and inode availability before choosing a filesystem maintenance response.
  3. Identify processes and active working directories using the mount, then close them before a supported umount operation.
  4. Grant the approved directory search or execute permission together with appropriate file read rights for the intended group.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: A host has several similarly named application processes and only one worker must be restarted. The stated scenario is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The appropriate response here is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

B.

This action fits another scenario: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The stated scenario is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The appropriate response here is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

C.

Identify processes and active working directories using the mount, then close them before a supported umount operation. The scenario is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The technical reason is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

D.

This action fits another scenario: A project directory has read permission but a user still cannot open a known file inside it. The stated scenario is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The appropriate response here is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

Question 522

An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The administrator proposes: Identify processes and active working directories using the mount, then close them before a supported umount operation. Which technical explanation supports the proposed Linux action?

  1. Job control tracks foreground, background and stopped jobs associated with an interactive shell.
  2. Bus enumeration and module state reveal whether hardware is detected independently of a particular application configuration.
  3. The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.
  4. find evaluates metadata tests per entry, allowing file-type and time conditions to be combined precisely.

Answer & Explanations

Correct answer: C

A.

This principle explains another scenario: An interactive operator temporarily pauses a long-running text transformation and later needs it to continue. The situation here is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The controlling mechanism is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

B.

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: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The controlling mechanism is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

C.

The kernel prevents normal unmount while active references would make the filesystem unsafe to detach. That is why the appropriate action is: Identify processes and active working directories using the mount, then close them before a supported umount operation. The stated problem is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using.

D.

This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The controlling mechanism is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

Question 523

An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The administrator proposes: Identify processes and active working directories using the mount, then close them before a supported umount operation. What test should validate the proposed configuration or command change?

  1. Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.
  2. Boot a controlled rescue environment, verify the target is not mounted for writes, and inspect the post-repair filesystem consistency.
  3. Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.
  4. Inspect the resulting GPT partition boundaries and swap signature, then activate a test swap area and verify its status.

Answer & Explanations

Correct answer: A

A.

Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized. This verifies the action: Identify processes and active working directories using the mount, then close them before a supported umount operation. The test applies to: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using.

B.

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: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The pertinent test is: Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.

C.

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: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The pertinent test is: Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.

D.

This check is intended for another scenario: A large Linux disk needs a new GPT partition and the engineer mistakenly assumes mkswap creates partition entries. The case here is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The pertinent test is: Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.

Question 524

An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. What action would most directly undermine the intended safeguard?

  1. Assume the target command always interprets wildcard syntax instead of recognizing shell expansion.
  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. Assume a hard link creates an isolated backup copy that stays unchanged when the original is edited.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The specific case is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. Here, avoid: Detach the storage device physically while an active process still writes to the filesystem. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

B.

This is a shortcut for another issue: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The specific case is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. Here, avoid: Detach the storage device physically while an active process still writes to the filesystem. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

C.

Detach the storage device physically while an active process still writes to the filesystem. This is unsafe in: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The likely result is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

D.

This is a shortcut for another issue: A backup process creates a second filename for one file on the same filesystem and the operator expects independent contents. The specific case is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. Here, avoid: Detach the storage device physically while an active process still writes to the filesystem. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

Question 525

An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. What problem is the proposed administration change designed to prevent?

  1. Child programs may run with missing configuration even though the parent shell displays the variable correctly.
  2. One user may remove or rename another user's temporary files despite being unable to read their contents.
  3. Troubleshooting can target a nonexistent file while the real command version or fresh file remains unidentified.
  4. Buffered data can be lost and the filesystem may require recovery after unsafe removal.

Answer & Explanations

Correct answer: D

A.

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: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The primary consequence is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. The prevention is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

B.

This failure concerns another situation: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The case here is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The primary consequence is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. The prevention is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

C.

This failure concerns another situation: An engineer wants to know which actual executable a shell will run while an outdated locate database also lists a removed copy. The case here is: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The primary consequence is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. The prevention is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

D.

Buffered data can be lost and the filesystem may require recovery after unsafe removal. This can follow from the shortcut: Detach the storage device physically while an active process still writes to the filesystem. The protective action is: Identify processes and active working directories using the mount, then close them before a supported umount operation. The case states: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using.

Question 526

An automated backup completes writing data but a background process still holds an open file on the intended mount point. Which action best matches the required Linux behavior?

  1. Design mount points and partition or logical-volume allocations around root, /var, /home, boot requirements and expected workload growth.
  2. Compare lspci, lsusb, kernel messages and loaded modules to identify the device before selecting supported driver or peripheral changes.
  3. Set the intended directory group and its setgid bit, with compatible umask and group permission policy.
  4. Identify processes and active working directories using the mount, then close them before a supported umount operation.

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: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The appropriate response here is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

B.

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: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The appropriate response here is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

C.

This action fits another scenario: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The stated scenario is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The appropriate response here is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

D.

Identify processes and active working directories using the mount, then close them before a supported umount operation. The scenario is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The technical reason is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

Question 527

An automated backup completes writing data but a background process still holds an open file on the intended mount point. The administrator proposes: Identify processes and active working directories using the mount, then close them before a supported umount operation. What underlying principle explains the selected remedy?

  1. Repair tools may modify filesystem metadata and can conflict with concurrent writes when the filesystem remains active.
  2. The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.
  3. Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.
  4. The kernel ring buffer describes kernel activity while the systemd journal can associate boot messages with units and timestamps.

Answer & Explanations

Correct answer: B

A.

This principle explains another scenario: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The situation here is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The controlling mechanism is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

B.

The kernel prevents normal unmount while active references would make the filesystem unsafe to detach. That is why the appropriate action is: Identify processes and active working directories using the mount, then close them before a supported umount operation. The stated problem is: An automated backup completes writing data but a background process still holds an open file on the intended mount point.

C.

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: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The controlling mechanism is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

D.

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: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The controlling mechanism is: The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

Question 528

An automated backup completes writing data but a background process still holds an open file on the intended mount point. The administrator proposes: Identify processes and active working directories using the mount, then close them before a supported umount operation. Which practical check confirms the proposed fix works as intended?

  1. Compare module state and the relevant sysfs entry before and after modprobe and verify the correct device is usable.
  2. Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
  3. Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.
  4. Check scheduled shutdown status, user warning delivery and orderly service termination before confirming the maintenance action.

Answer & Explanations

Correct answer: C

A.

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: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The pertinent test is: Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.

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: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The pertinent test is: Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.

C.

Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized. This verifies the action: Identify processes and active working directories using the mount, then close them before a supported umount operation. The test applies to: An automated backup completes writing data but a background process still holds an open file on the intended mount point.

D.

This check is intended for another scenario: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The case here is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The pertinent test is: Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.

Question 529

An automated backup completes writing data but a background process still holds an open file on the intended mount point. Which shortcut is most likely to worsen this exact condition?

  1. Make the directory world-writable without a sticky bit and assume file read permissions also prevent deletion.
  2. Treat one successful manual mount as proof that the disk will be present after every restart.
  3. Detach the storage device physically while an active process still writes to the filesystem.
  4. Set every directory and file mode to 777 just to eliminate one traversal failure.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The specific case is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. Here, avoid: Detach the storage device physically while an active process still writes to the filesystem. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

B.

This is a shortcut for another issue: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The specific case is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. Here, avoid: Detach the storage device physically while an active process still writes to the filesystem. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

C.

Detach the storage device physically while an active process still writes to the filesystem. This is unsafe in: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The likely result is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

D.

This is a shortcut for another issue: A project directory has read permission but a user still cannot open a known file inside it. The specific case is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. Here, avoid: Detach the storage device physically while an active process still writes to the filesystem. Instead: Identify processes and active working directories using the mount, then close them before a supported umount operation.

Question 530

An automated backup completes writing data but a background process still holds an open file on the intended mount point. What consequence best illustrates this particular configuration risk?

  1. The host can become consistently unbootable because an untested parameter was made permanent.
  2. Existing filesystems may be destroyed when the wrong disk or partition is formatted.
  3. Duplicate operations can compete for resources or overwrite the same output.
  4. Buffered data can be lost and the filesystem may require recovery after unsafe removal.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A test system boots normally until a changed kernel argument prevents access to required storage. The case here is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The primary consequence is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. The prevention is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

B.

This failure concerns another situation: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The case here is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The primary consequence is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. The prevention is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

C.

This failure concerns another situation: An interactive operator temporarily pauses a long-running text transformation and later needs it to continue. The case here is: An automated backup completes writing data but a background process still holds an open file on the intended mount point. The primary consequence is: Buffered data can be lost and the filesystem may require recovery after unsafe removal. The prevention is: Identify processes and active working directories using the mount, then close them before a supported umount operation.

D.

Buffered data can be lost and the filesystem may require recovery after unsafe removal. This can follow from the shortcut: Detach the storage device physically while an active process still writes to the filesystem. The protective action is: Identify processes and active working directories using the mount, then close them before a supported umount operation. The case states: An automated backup completes writing data but a background process still holds an open file on the intended mount point.

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