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 59

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.

Question 581

An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. What should the system administrator do first to resolve the stated issue?

  1. Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.
  2. Identify the intended process by PID, command line and owner before sending the appropriate signal.
  3. Use dpkg query operations to inspect installed package status, versions and file ownership before making changes.
  4. Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Answer & Explanations

Correct answer: A

A.

Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The scenario is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The technical reason is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

B.

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 operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The appropriate response here is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

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 operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The appropriate response here is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

D.

This action fits another scenario: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The stated scenario is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The appropriate response here is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

Question 582

An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The administrator proposes: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. Which Linux behavior makes the proposed remediation appropriate?

  1. Directory read permission permits listing entries, while execute/search permission permits pathname traversal into the directory.
  2. Mounting now changes the current namespace, while startup mounting relies on a persistent configuration or mount unit.
  3. The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.
  4. Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A project directory has read permission but a user still cannot open a known file inside it. The situation here is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The controlling mechanism is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

B.

This principle explains another scenario: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The situation here is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The controlling mechanism is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

C.

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: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The controlling mechanism is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

D.

Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets. That is why the appropriate action is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The stated problem is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files.

Question 583

An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The administrator proposes: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. What acceptance check best distinguishes success from an unchanged issue?

  1. Run a non-destructive find listing and inspect boundary timestamps and object types before allowing any cleanup.
  2. Generate one successful output line and one intentional error and confirm each appears only in its chosen file.
  3. Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.
  4. Start a fresh child command that prints the variable and confirm its value while checking the parent assignment.

Answer & Explanations

Correct answer: C

A.

This check is intended for another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The pertinent test is: Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

B.

This check is intended for another scenario: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The case here is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The pertinent test is: Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

C.

Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected. This verifies the action: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The test applies to: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files.

D.

This check is intended for another scenario: A shell script starts a subprocess that cannot see a value assigned earlier in an interactive Bash session. The case here is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The pertinent test is: Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

Question 584

An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. What tempting response would create an avoidable operational hazard?

  1. Store growing logs next to static configuration in /etc simply because the service reads both during startup.
  2. Assume a hard link creates an isolated backup copy that stays unchanged when the original is edited.
  3. Execute mkswap on an unpartitioned entire production system drive assuming it only adds a harmless swap label.
  4. Make the directory world-writable without a sticky bit and assume file read permissions also prevent deletion.

Answer & Explanations

Correct answer: A

A.

Store growing logs next to static configuration in /etc simply because the service reads both during startup. This is unsafe in: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The likely result is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

B.

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 operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. Here, avoid: Store growing logs next to static configuration in /etc simply because the service reads both during startup. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

C.

This is a shortcut for another issue: A large Linux disk needs a new GPT partition and the engineer mistakenly assumes mkswap creates partition entries. The specific case is: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. Here, avoid: Store growing logs next to static configuration in /etc simply because the service reads both during startup. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

D.

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 operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. Here, avoid: Store growing logs next to static configuration in /etc simply because the service reads both during startup. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

Question 585

An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. Which failure can follow if this control is ignored?

  1. Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy.
  2. A different disk may be mounted or the intended filesystem can be skipped at boot.
  3. The application may continue failing file creation while the real inode limit is ignored.
  4. The script may target the wrong files or refuse valid paths whenever names contain spaces or metacharacters.

Answer & Explanations

Correct answer: A

A.

Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. This can follow from the shortcut: Store growing logs next to static configuration in /etc simply because the service reads both during startup. The protective action is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The case states: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files.

B.

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: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The primary consequence is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. The prevention is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

C.

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 operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The primary consequence is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. The prevention is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

D.

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: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The primary consequence is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. The prevention is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

Question 586

A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. Which configuration or command decision addresses the stated failure?

  1. Identify processes and active working directories using the mount, then close them before a supported umount operation.
  2. Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.
  3. Inspect command -v or type and the PATH order, then invoke the reviewed executable by full path or update PATH intentionally.
  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: B

A.

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 software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The appropriate response here is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

B.

Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The scenario is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The technical reason is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

C.

This action fits another scenario: A technician installs a program under /opt/tools but invoking its short name still runs an older executable in /usr/bin. The stated scenario is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The appropriate response here is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

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 software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The appropriate response here is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

Question 587

A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The administrator proposes: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. Which technical explanation supports the proposed Linux action?

  1. Package selection depends on repository configuration, available versions and dependency compatibility in the SUSE ecosystem.
  2. Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.
  3. Cloned system identity and host credentials should not remain identical across independently managed instances.
  4. Standard output and standard error are independent streams and require distinct redirection when separate destinations are intended.

Answer & Explanations

Correct answer: B

A.

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 software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The controlling mechanism is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

B.

Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets. That is why the appropriate action is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The stated problem is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc.

C.

This principle explains another scenario: A virtual machine template was copied to several cloud guests and all instances unexpectedly share the same machine identity. The situation here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The controlling mechanism is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

D.

This principle explains another scenario: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The situation here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The controlling mechanism is: Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.

Question 588

A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The administrator proposes: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. What test should validate the proposed configuration or command change?

  1. Create test files and subdirectories as two group members and inspect group ownership and effective permissions.
  2. Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.
  3. Run a small known input and verify matched lines are emitted while unrelated lines are excluded.
  4. Create a test hard link, compare inode numbers and contents, and remove one name to verify remaining access.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The case here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The pertinent test is: Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

B.

Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected. This verifies the action: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The test applies to: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc.

C.

This check is intended for another scenario: An operator needs only matching error records from a command that emits hundreds of status lines. The case here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The pertinent test is: Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

D.

This check is intended for another scenario: A backup process creates a second filename for one file on the same filesystem and the operator expects independent contents. The case here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The pertinent test is: Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

Question 589

A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. What action would most directly undermine the intended safeguard?

  1. Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change.
  2. Store growing logs next to static configuration in /etc simply because the service reads both during startup.
  3. Hardcode the first available /dev/sdX device as a permanent backup mount without checking its identity.
  4. Send SIGKILL to every process with a matching substring without checking ownership or workload scope.

Answer & Explanations

Correct answer: B

A.

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 software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. Here, avoid: Store growing logs next to static configuration in /etc simply because the service reads both during startup. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

B.

Store growing logs next to static configuration in /etc simply because the service reads both during startup. This is unsafe in: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The likely result is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

C.

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 software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. Here, avoid: Store growing logs next to static configuration in /etc simply because the service reads both during startup. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

D.

This is a shortcut for another issue: A host has several similarly named application processes and only one worker must be restarted. The specific case is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. Here, avoid: Store growing logs next to static configuration in /etc simply because the service reads both during startup. Instead: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

Question 590

A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. What problem is the proposed administration change designed to prevent?

  1. The shortcut may fail immediately or remain broken when its target path is changed.
  2. Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy.
  3. Troubleshooting can target a nonexistent file while the real command version or fresh file remains unidentified.
  4. Unrelated users may gain write access and alter or delete project files.

Answer & Explanations

Correct answer: B

A.

This failure concerns another situation: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The case here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The primary consequence is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. The prevention is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

B.

Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. This can follow from the shortcut: Store growing logs next to static configuration in /etc simply because the service reads both during startup. The protective action is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard. The case states: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc.

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: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The primary consequence is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. The prevention is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

D.

This failure concerns another situation: A project directory has read permission but a user still cannot open a known file inside it. The case here is: A software package installs host-specific config under /usr/share while deployment automation expects editable settings under /etc. The primary consequence is: Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy. The prevention is: Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.

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