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 58

Question 570

An admin removes one filename of a hard-linked log and is surprised the data remains available under another name. 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. Operators may lose required live status during a maintenance action despite a log being created.
  3. Concurrent writes and repair operations may compound corruption or lose important files.
  4. Editing either filename can change the shared data, defeating the intended independent backup.

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: An admin removes one filename of a hard-linked log and is surprised the data remains available under another name. The primary consequence is: Editing either filename can change the shared data, defeating the intended independent backup. The prevention is: Use ls -i and link counts to recognize hard links as directory entries referring to the same inode on one filesystem.

B.

This failure concerns another situation: A deployment operator wants to watch command output live and also preserve an exact run log for review. The case here is: An admin removes one filename of a hard-linked log and is surprised the data remains available under another name. The primary consequence is: Editing either filename can change the shared data, defeating the intended independent backup. The prevention is: Use ls -i and link counts to recognize hard links as directory entries referring to the same inode on one filesystem.

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: An admin removes one filename of a hard-linked log and is surprised the data remains available under another name. The primary consequence is: Editing either filename can change the shared data, defeating the intended independent backup. The prevention is: Use ls -i and link counts to recognize hard links as directory entries referring to the same inode on one filesystem.

D.

Editing either filename can change the shared data, defeating the intended independent backup. This can follow from the shortcut: Assume a hard link creates an isolated backup copy that stays unchanged when the original is edited. The protective action is: Use ls -i and link counts to recognize hard links as directory entries referring to the same inode on one filesystem. The case states: An admin removes one filename of a hard-linked log and is surprised the data remains available under another name.

Question 571

A maintenance shortcut to /opt/app/current stops working after a release directory is moved. Which configuration or command decision addresses the stated failure?

  1. Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.
  2. Distinguish PATH-aware command lookup from locate's indexed filename database and use find or updatedb as appropriate.
  3. Grant the approved directory search or execute permission together with appropriate file read rights for the intended group.
  4. Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

Answer & Explanations

Correct answer: D

A.

This action fits another scenario: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The stated scenario is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The appropriate response here is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

B.

This action fits another scenario: An engineer wants to know which actual executable a shell will run while an outdated locate database also lists a removed copy. The stated scenario is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The appropriate response here is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

C.

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: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The appropriate response here is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

D.

Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The scenario is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The technical reason is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

Question 572

A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The administrator proposes: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. Which technical explanation supports the proposed Linux action?

  1. A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
  2. Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.
  3. A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.
  4. The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.

Answer & Explanations

Correct answer: C

A.

This principle explains another scenario: A Linux application must be archived with nested configuration and metadata before a version migration. The situation here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The controlling mechanism is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

B.

This principle explains 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 situation here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The controlling mechanism is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

C.

A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears. That is why the appropriate action is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The stated problem is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved.

D.

This principle explains another scenario: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The situation here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The controlling mechanism is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

Question 573

A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The administrator proposes: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. What test should validate the proposed configuration or command change?

  1. Inspect the resulting GPT partition boundaries and swap signature, then activate a test swap area and verify its status.
  2. Compare representative nested paths and file counts between source and destination after the test copy.
  3. Enter the selected rescue state, inspect active targets and verify the previous persistent default remains configured.
  4. Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

Answer & Explanations

Correct answer: D

A.

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: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The pertinent test is: Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

B.

This check is intended for another scenario: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The case here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The pertinent test is: Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

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: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The pertinent test is: Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

D.

Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior. This verifies the action: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The test applies to: A maintenance shortcut to /opt/app/current stops working after a release directory is moved.

Question 574

A maintenance shortcut to /opt/app/current stops working after a release directory is moved. What action would most directly undermine the intended safeguard?

  1. Reinstall every package because the host did not reach the login prompt, without isolating the failing boot stage.
  2. Run a destructive repair mode against an actively mounted production filesystem to avoid scheduling downtime.
  3. Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link.
  4. Set the setuid bit on every shared file in the belief that it forces group inheritance.

Answer & Explanations

Correct answer: C

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 maintenance shortcut to /opt/app/current stops working after a release directory is moved. Here, avoid: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

B.

This is a shortcut for another issue: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The specific case is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. Here, avoid: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

C.

Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. This is unsafe in: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The likely result is: The shortcut may fail immediately or remain broken when its target path is changed. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

D.

This is a shortcut for another issue: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The specific case is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. Here, avoid: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

Question 575

A maintenance shortcut to /opt/app/current stops working after a release directory is moved. What problem is the proposed administration change designed to prevent?

  1. The script may target the wrong files or refuse valid paths whenever names contain spaces or metacharacters.
  2. Active files or subdirectories may be erased along with the intended stale regular files.
  3. The machine may stop before the Linux kernel can be selected or started.
  4. The shortcut may fail immediately or remain broken when its target path is changed.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A maintenance script fails when a filename includes spaces because an unquoted variable expands into several command arguments. The case here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The primary consequence is: The shortcut may fail immediately or remain broken when its target path is changed. The prevention is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

B.

This failure concerns another situation: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The primary consequence is: The shortcut may fail immediately or remain broken when its target path is changed. The prevention is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

C.

This failure concerns another situation: A server has an installed GRUB configuration but its firmware cannot find the correct bootloader after a disk replacement. The case here is: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The primary consequence is: The shortcut may fail immediately or remain broken when its target path is changed. The prevention is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

D.

The shortcut may fail immediately or remain broken when its target path is changed. This can follow from the shortcut: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. The protective action is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The case states: A maintenance shortcut to /opt/app/current stops working after a release directory is moved.

Question 576

An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. 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. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.
  3. Use dpkg query operations to inspect installed package status, versions and file ownership before making changes.
  4. Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

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 engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The appropriate response here is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

B.

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: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The appropriate response here is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

C.

This action fits another scenario: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The stated scenario is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The appropriate response here is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

D.

Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The scenario is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The technical reason is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

Question 577

An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The administrator proposes: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. What underlying principle explains the selected remedy?

  1. A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.
  2. Kernel-assigned device names can change across discovery order; filesystem UUIDs identify the intended storage independent of that order.
  3. Partition tables define block extents; mkswap initializes a chosen area for use as swap and does not design the table itself.
  4. On a shared writable directory, the sticky bit restricts unlink and rename actions to permitted owners or privileged accounts.

Answer & Explanations

Correct answer: A

A.

A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears. That is why the appropriate action is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The stated problem is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support.

B.

This principle explains another scenario: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The situation here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The controlling mechanism is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

C.

This principle explains another scenario: A large Linux disk needs a new GPT partition and the engineer mistakenly assumes mkswap creates partition entries. The situation here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The controlling mechanism is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

D.

This principle explains another scenario: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The situation here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The controlling mechanism is: A symbolic link stores a target pathname, can cross filesystem boundaries, and becomes dangling if that target disappears.

Question 578

An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The administrator proposes: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. Which practical check confirms the proposed fix works as intended?

  1. Verify current mount state, inspect fstab and test a planned reboot or mount -a only when persistence is required.
  2. Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.
  3. Identify the last successful boot stage and verify the next component or configuration with a controlled recovery boot.
  4. Search in a copy, remove the verified line, save and compare the resulting document with the expected change.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The case here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The pertinent test is: Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

B.

Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior. This verifies the action: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The test applies to: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support.

C.

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: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The pertinent test is: Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

D.

This check is intended for another scenario: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The case here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The pertinent test is: Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.

Question 579

An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. Which shortcut is most likely to worsen this exact condition?

  1. Remove spaces from every production directory instead of fixing the unsafe shell parameter expansion.
  2. Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link.
  3. Store growing logs next to static configuration in /etc simply because the service reads both during startup.
  4. Disable essential boot services randomly instead of adjusting the appropriate default target.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A maintenance script fails when a filename includes spaces because an unquoted variable expands into several command arguments. The specific case is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. Here, avoid: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

B.

Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. This is unsafe in: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The likely result is: The shortcut may fail immediately or remain broken when its target path is changed. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

C.

This is a shortcut for another issue: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The specific case is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. Here, avoid: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

D.

This is a shortcut for another issue: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The specific case is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. Here, avoid: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. Instead: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

Question 580

An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. What consequence best illustrates this particular configuration risk?

  1. The application may continue failing file creation while the real inode limit is ignored.
  2. Open files and workloads may be interrupted and the filesystem may require recovery on the next boot.
  3. Buffered data can be lost and the filesystem may require recovery after unsafe removal.
  4. The shortcut may fail immediately or remain broken when its target path is changed.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The case here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The primary consequence is: The shortcut may fail immediately or remain broken when its target path is changed. The prevention is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

B.

This failure concerns another situation: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The case here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The primary consequence is: The shortcut may fail immediately or remain broken when its target path is changed. The prevention is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

C.

This failure concerns another situation: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The case here is: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support. The primary consequence is: The shortcut may fail immediately or remain broken when its target path is changed. The prevention is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes.

D.

The shortcut may fail immediately or remain broken when its target path is changed. This can follow from the shortcut: Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link. The protective action is: Create a symbolic link to the intended target path and verify it resolves after planned deployment changes. The case states: An engineer needs a filesystem link to a directory on another mounted filesystem, which a hard link would not normally support.

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