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 55

Question 540

A team grants read permission to a shared directory yet group members cannot reach nested documents by pathname. What problem is the proposed administration change designed to prevent?

  1. Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy.
  2. One user may remove or rename another user's temporary files despite being unable to read their contents.
  3. Unrelated users may gain write access and alter or delete project files.
  4. Source information can be replaced or the consumer receives no filtered input.

Answer & Explanations

Correct answer: C

A.

This failure concerns another situation: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The case here is: A team grants read permission to a shared directory yet group members cannot reach nested documents by pathname. The primary consequence is: Unrelated users may gain write access and alter or delete project files. The prevention is: Grant the approved directory search or execute permission together with appropriate file read rights for the intended group.

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: A team grants read permission to a shared directory yet group members cannot reach nested documents by pathname. The primary consequence is: Unrelated users may gain write access and alter or delete project files. The prevention is: Grant the approved directory search or execute permission together with appropriate file read rights for the intended group.

C.

Unrelated users may gain write access and alter or delete project files. This can follow from the shortcut: Set every directory and file mode to 777 just to eliminate one traversal failure. The protective action is: Grant the approved directory search or execute permission together with appropriate file read rights for the intended group. The case states: A team grants read permission to a shared directory yet group members cannot reach nested documents by pathname.

D.

This failure concerns another situation: An operator needs only matching error records from a command that emits hundreds of status lines. The case here is: A team grants read permission to a shared directory yet group members cannot reach nested documents by pathname. The primary consequence is: Unrelated users may gain write access and alter or delete project files. The prevention is: Grant the approved directory search or execute permission together with appropriate file read rights for the intended group.

Question 541

Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. What is the most specific defensible operational intervention?

  1. Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
  2. Inspect the binary's linked-library dependencies with ldd and resolve missing compatible shared objects through supported packages or paths.
  3. Provide an architecture-appropriate EFI System Partition and distinct Linux root and swap arrangements as needed by the deployment.
  4. Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

Answer & Explanations

Correct answer: D

A.

This action fits another scenario: A Linux application must be archived with nested configuration and metadata before a version migration. The stated scenario is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The appropriate response here is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

B.

This action fits another scenario: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The stated scenario is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The appropriate response here is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

C.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The appropriate response here is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

D.

Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The scenario is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The technical reason is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

Question 542

Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The administrator proposes: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. Which causal relationship connects the diagnosis to the recommended step?

  1. Hard links share the underlying file data and inode, so removing one directory entry does not remove data while other links remain.
  2. nice influences a new process at launch; renice changes scheduling preference of an already running process.
  3. Kernel-assigned device names can change across discovery order; filesystem UUIDs identify the intended storage independent of that order.
  4. A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A backup process creates a second filename for one file on the same filesystem and the operator expects independent contents. The situation here is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The controlling mechanism is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The controlling mechanism is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

C.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The controlling mechanism is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

D.

A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems. That is why the appropriate action is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The stated problem is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access.

Question 543

Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The administrator proposes: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. Which observation proves the intended Linux behavior has been restored?

  1. Check scheduled shutdown status, user warning delivery and orderly service termination before confirming the maintenance action.
  2. Inspect ls -l and readlink resolution, then simulate target movement in a test tree to confirm expected link behavior.
  3. Reboot a test instance and compare systemctl get-default and active targets against the documented desired operating mode.
  4. Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

Answer & Explanations

Correct answer: D

A.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The pertinent test is: Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The pertinent test is: Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

C.

This check is intended for another scenario: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The case here is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The pertinent test is: Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

D.

Create test files and subdirectories as two group members and inspect group ownership and effective permissions. This verifies the action: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The test applies to: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access.

Question 544

Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. Which seemingly quick workaround should the administrator reject?

  1. Execute mkswap on an unpartitioned entire production system drive assuming it only adds a harmless swap label.
  2. Set the setuid bit on every shared file in the belief that it forces group inheritance.
  3. Treat one successful manual mount as proof that the disk will be present after every restart.
  4. Run a destructive repair mode against an actively mounted production filesystem to avoid scheduling downtime.

Answer & Explanations

Correct answer: B

A.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. Here, avoid: Set the setuid bit on every shared file in the belief that it forces group inheritance. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

B.

Set the setuid bit on every shared file in the belief that it forces group inheritance. This is unsafe in: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The likely result is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

C.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. Here, avoid: Set the setuid bit on every shared file in the belief that it forces group inheritance. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

D.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. Here, avoid: Set the setuid bit on every shared file in the belief that it forces group inheritance. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

Question 545

Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. Which adverse result is most specifically linked to the uncorrected condition?

  1. The application may continue failing file creation while the real inode limit is ignored.
  2. The script may target the wrong files or refuse valid paths whenever names contain spaces or metacharacters.
  3. Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk.
  4. A healthy service can be interrupted while the true performance bottleneck remains.

Answer & Explanations

Correct answer: C

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The primary consequence is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. The prevention is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

B.

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: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The primary consequence is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. The prevention is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

C.

Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. This can follow from the shortcut: Set the setuid bit on every shared file in the belief that it forces group inheritance. The protective action is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The case states: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access.

D.

This failure concerns another situation: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The case here is: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The primary consequence is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. The prevention is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

Question 546

A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. What should the system administrator do first to resolve the stated issue?

  1. Use renice with the verified target PID and permitted new nice value to adjust an existing process.
  2. Distinguish PATH-aware command lookup from locate's indexed filename database and use find or updatedb as appropriate.
  3. Set the intended directory group and its setgid bit, with compatible umask and group permission policy.
  4. Preview a bounded sed substitution on a copy and verify intended occurrences before applying any file changes.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The stated scenario is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The appropriate response here is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

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 group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The appropriate response here is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

C.

Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The scenario is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The technical reason is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

D.

This action fits another scenario: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The stated scenario is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The appropriate response here is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

Question 547

A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The administrator proposes: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. Which Linux behavior makes the proposed remediation appropriate?

  1. find evaluates metadata tests per entry, allowing file-type and time conditions to be combined precisely.
  2. A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.
  3. The default systemd target determines the intended boot-time unit grouping, separate from a temporary target switch.
  4. For normal scheduler tasks, higher nice values express lower CPU scheduling priority relative to competing eligible processes.

Answer & Explanations

Correct answer: B

A.

This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The controlling mechanism is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

B.

A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems. That is why the appropriate action is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The stated problem is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group.

C.

This principle explains another scenario: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The situation here is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The controlling mechanism is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

D.

This principle explains another scenario: A CPU-intensive indexer must run on a shared Linux server while interactive workloads retain reasonable responsiveness. The situation here is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The controlling mechanism is: A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.

Question 548

A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The administrator proposes: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. What acceptance check best distinguishes success from an unchanged issue?

  1. Create two test files under different users and confirm cross-user deletion fails while own-file cleanup works.
  2. Create test files and subdirectories as two group members and inspect group ownership and effective permissions.
  3. Verify current mount state, inspect fstab and test a planned reboot or mount -a only when persistence is required.
  4. Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The case here is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The pertinent test is: Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

B.

Create test files and subdirectories as two group members and inspect group ownership and effective permissions. This verifies the action: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The test applies to: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group.

C.

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: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The pertinent test is: Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

D.

This check is intended for 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 case here is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The pertinent test is: Create test files and subdirectories as two group members and inspect group ownership and effective permissions.

Question 549

A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. What tempting response would create an avoidable operational hazard?

  1. Set the setuid bit on every shared file in the belief that it forces group inheritance.
  2. Delete the executable and guess which downloaded .deb to install without reading the package database.
  3. Format the EFI System Partition as swap because it is listed near the beginning of the partition table.
  4. Remove spaces from every production directory instead of fixing the unsafe shell parameter expansion.

Answer & Explanations

Correct answer: A

A.

Set the setuid bit on every shared file in the belief that it forces group inheritance. This is unsafe in: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The likely result is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

B.

This is a shortcut for another issue: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The specific case is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. Here, avoid: Set the setuid bit on every shared file in the belief that it forces group inheritance. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

C.

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 group project needs new subdirectories to retain its collaboration group rather than each creator's login group. Here, avoid: Set the setuid bit on every shared file in the belief that it forces group inheritance. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

D.

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: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. Here, avoid: Set the setuid bit on every shared file in the belief that it forces group inheritance. Instead: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

Question 550

A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. 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. Editing either filename can change the shared data, defeating the intended independent backup.
  3. Buffered data can be lost and the filesystem may require recovery after unsafe removal.
  4. Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The case here is: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The primary consequence is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. The prevention is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

B.

This failure concerns another situation: 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 group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The primary consequence is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. The prevention is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

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: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group. The primary consequence is: Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. The prevention is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy.

D.

Group collaboration can remain inconsistent and unnecessary privilege bits may increase risk. This can follow from the shortcut: Set the setuid bit on every shared file in the belief that it forces group inheritance. The protective action is: Set the intended directory group and its setgid bit, with compatible umask and group permission policy. The case states: A group project needs new subdirectories to retain its collaboration group rather than each creator's login group.

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