LPI 102-500 Practice Test 20 - Prepaway
Practice Exams:

Pass LPI 102-500 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$29.98
$79.99 $109.97

102-500 Premium Bundle


  • Premium File 120 Questions & Answers. Last update: Nov 13, 2026
  • Training Course 126 Lectures
  • Study Guide 962 Pages

LPI 102-500 Practice Test 20

Question 190

At fictional Redridge Insurance, the Linux identity and scheduled operations team is working while investigating an observed production-like support incident. The Linux scenario is: A developer's newly created user account has a home directory but SSH login ends immediately with a shell error. The decisive evidence is: getent passwd shows an invalid shell path for the account despite a valid password and home. Which paired action and independent proof BEST satisfies the requirement?

  1. For Redridge Insurance, the Linux support team should: Scoped correction: Set the service unit's intended execution identity and permissions, then reload and test the timer. Independent acceptance: A scheduled run creates the report with correct ownership and does not receive unnecessary root privileges.
  2. For Redridge Insurance, the Linux support team should: Scoped correction: Correct the account's shell using the supported user management tools and validate the intended login policy. Independent acceptance: An authorized interactive user obtains the correct shell while a noninteractive service identity remains restricted.
  3. For Redridge Insurance, the Linux support team should: Scoped correction: Set the desired durable system zone or an explicit unit-level TZ environment according to policy. Independent acceptance: New process instances use the intended time zone and archived reports retain the correct timestamp interpretation.
  4. For Redridge Insurance, the Linux support team should: Scoped correction: Adjust approved user scheduling permissions and use the appropriate owner for shared system tasks. Independent acceptance: An authorized test user can list and schedule a harmless job while an unapproved account is still denied.

Explanation

Correct Answer

B:

An authorized interactive user obtains the correct shell while a noninteractive service identity remains restricted. Without that result, the finding getent passwd shows an invalid shell path for the account despite a valid password and home would remain unresolved.

Incorrect Answers

A:

A test that scoped correction: Set the service unit's intended execution identity and permissions, then reload and test the timer. Independent acceptance: A scheduled run creates the report with correct ownership and does not receive unnecessary root privileges would not demonstrate closure of this condition. The needed proof is an authorized interactive user obtains the correct shell while a noninteractive service identity remains restricted.

C:

Scoped correction: Set the desired durable system zone or an explicit unit-level TZ environment according to policy. Independent acceptance: New process instances use the intended time zone and archived reports retain the correct timestamp interpretation. That does not demonstrate the case-specific success condition: an authorized interactive user obtains the correct shell while a noninteractive service identity remains restricted. The passwd account database records login shell and home location separately from password hashes.

D:

Scoped correction: Adjust approved user scheduling permissions and use the appropriate owner for shared system tasks. Independent acceptance: An authorized test user can list and schedule a harmless job while an unapproved account is still denied. That result does not test the original problem, identified by getent passwd shows an invalid shell path for the account despite a valid password and home. Recovery must show that an authorized interactive user obtains the correct shell while a noninteractive service identity remains restricted.

Question 191

At fictional Harborview Library, the Linux identity and scheduled operations team is working during a controlled system-configuration acceptance test. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The diagnostic evidence is: Before and after group lists show usermod -G replaced the full supplementary group list. Which bounded step BEST resolves the described problem?

  1. For Harborview Library, the Linux support team should: Use absolute binary paths or set an explicit safe cron environment for the scheduled task.
  2. For Harborview Library, the Linux support team should: Set the intended process locale or normalize numeric input rather than assuming an English formatting convention.
  3. For Harborview Library, the Linux support team should: Use an additive usermod operation where appropriate and restore the intended group membership set.
  4. For Harborview Library, the Linux support team should: Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented.

Explanation

Correct Answer

C:

The case reveals before and after group lists show usermod -G replaced the full supplementary group list. That matters because without the append modifier, supplementary group replacement can remove earlier memberships. The corrective step is to use an additive usermod operation where appropriate and restore the intended group membership set. Preserve this constraint during the change: New group membership normally requires a new login or session refresh to take effect.

Incorrect Answers

A:

Another possible response is to use absolute binary paths or set an explicit safe cron environment for the scheduled task. The case evidence instead shows that before and after group lists show usermod -G replaced the full supplementary group list. Without the append modifier, supplementary group replacement can remove earlier memberships.

B:

Set the intended process locale or normalize numeric input rather than assuming an English formatting convention. This does not address the reported incident: a helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. Before and after group lists show usermod -G replaced the full supplementary group list. The case-specific correction is to use an additive usermod operation where appropriate and restore the intended group membership set.

D:

One alternative would be to use a stable machine-readable interface or a narrowly scoped LANG=C command where documented. The observed evidence instead shows that before and after group lists show usermod -G replaced the full supplementary group list. The more relevant correction is to use an additive usermod operation where appropriate and restore the intended group membership set.

Question 192

At fictional Harborview Library, the Linux identity and scheduled operations team is working during a controlled system-configuration acceptance test. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. Which observation MOST directly supports the underlying diagnosis before any changes are made?

  1. The deciding Linux diagnostic evidence for Harborview Library is: Cron's environment lacks a custom PATH set only by the interactive user's profile.
  2. The deciding Linux diagnostic evidence for Harborview Library is: locale output shows LC_NUMERIC differs from the format expected by the parser.
  3. The deciding Linux diagnostic evidence for Harborview Library is: The command output language changes with LANG and the script parses localized human messages.
  4. The deciding Linux diagnostic evidence for Harborview Library is: Before and after group lists show usermod -G replaced the full supplementary group list.

Explanation

Correct Answer

D:

Before and after group lists show usermod -G replaced the full supplementary group list. It identifies the problem behind a helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. Without the append modifier, supplementary group replacement can remove earlier memberships.

Incorrect Answers

A:

A competing Linux diagnostic finding for Harborview Library is: Cron's environment lacks a custom PATH set only by the interactive user's profile. It does not account for the observation before and after group lists show usermod -G replaced the full supplementary group list in the reported situation.

B:

At Harborview Library, another diagnostic finding is: locale output shows LC_NUMERIC differs from the format expected by the parser. This would indicate another failure; here before and after group lists show usermod -G replaced the full supplementary group list. Without the append modifier, supplementary group replacement can remove earlier memberships.

C:

At Harborview Library, a different observation is: The command output language changes with LANG and the script parses localized human messages. It concerns another dependency. This incident is distinguished by before and after group lists show usermod -G replaced the full supplementary group list. Without the append modifier, supplementary group replacement can remove earlier memberships.

Question 193

At fictional Harborview Library, the Linux identity and scheduled operations team is working during a controlled system-configuration acceptance test. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The proposed intervention is: Use an additive usermod operation where appropriate and restore the intended group membership set. Which independent result BEST demonstrates a successful correction?

  1. The independent acceptance evidence for Harborview Library is: A fresh login belongs to both authorized groups and cannot enter unrelated groups.
  2. The independent acceptance evidence for Harborview Library is: The scheduled execution finds the intended tools and emits an expected, validated backup result.
  3. The independent acceptance evidence for Harborview Library is: A unit test parses the same measured value consistently under two user locales.
  4. The independent acceptance evidence for Harborview Library is: The script produces the same result in two test user locales and preserves user interface localization.

Explanation

Correct Answer

A:

Success requires a fresh login belongs to both authorized groups and cannot enter unrelated groups. That result tests the previously observed condition: before and after group lists show usermod -G replaced the full supplementary group list. Without the append modifier, supplementary group replacement can remove earlier memberships.

Incorrect Answers

B:

At Harborview Library, another acceptance finding might be: The scheduled execution finds the intended tools and emits an expected, validated backup result. That would still leave the reported failure unproven. An acceptance test must show that a fresh login belongs to both authorized groups and cannot enter unrelated groups.

C:

At Harborview Library, a different acceptance result would be: A unit test parses the same measured value consistently under two user locales. It may validate a separate setting, but not the required action: use an additive usermod operation where appropriate and restore the intended group membership set. The required observation is a fresh login belongs to both authorized groups and cannot enter unrelated groups.

D:

The independent acceptance evidence for Harborview Library is: The script produces the same result in two test user locales and preserves user interface localization. The evidence relevant to this incident is before and after group lists show usermod -G replaced the full supplementary group list. Confirm the corresponding recovery result: A fresh login belongs to both authorized groups and cannot enter unrelated groups.

Question 194

At fictional Harborview Library, the Linux identity and scheduled operations team is working during a controlled system-configuration acceptance test. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The relevant evidence is: Before and after group lists show usermod -G replaced the full supplementary group list. Which Linux administration principle MOST accurately explains the correct response?

  1. The relevant Linux system principle for Harborview Library is: Cron jobs do not necessarily inherit interactive shell startup configuration.
  2. The relevant Linux system principle for Harborview Library is: Without the append modifier, supplementary group replacement can remove earlier memberships.
  3. The relevant Linux system principle for Harborview Library is: Locale categories affect formatting independently of application data types.
  4. The relevant Linux system principle for Harborview Library is: Locale settings influence human-readable command output and can alter brittle text parsers.

Explanation

Correct Answer

B:

The governing distinction is that without the append modifier, supplementary group replacement can remove earlier memberships. Here, before and after group lists show usermod -G replaced the full supplementary group list. Use an additive usermod operation where appropriate and restore the intended group membership set.

Incorrect Answers

A:

A competing Linux principle for Harborview Library is: Cron jobs do not necessarily inherit interactive shell startup configuration. The decisive observation, before and after group lists show usermod -G replaced the full supplementary group list, requires a different explanation: Without the append modifier, supplementary group replacement can remove earlier memberships.

C:

A different principle is: the relevant Linux system principle for Harborview Library is: Locale categories affect formatting independently of application data types. The causal link actually supported by before and after group lists show usermod -G replaced the full supplementary group list is without the append modifier, supplementary group replacement can remove earlier memberships.

D:

A competing Linux principle for Harborview Library is: Locale settings influence human-readable command output and can alter brittle text parsers. However, it does not explain before and after group lists show usermod -G replaced the full supplementary group list. The applicable principle is that without the append modifier, supplementary group replacement can remove earlier memberships.

Question 195

At fictional Harborview Library, the Linux identity and scheduled operations team is working during a controlled system-configuration acceptance test. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The decisive evidence is: Before and after group lists show usermod -G replaced the full supplementary group list. Which paired action and independent proof BEST satisfies the requirement?

  1. For Harborview Library, the Linux support team should: Scoped correction: Use absolute binary paths or set an explicit safe cron environment for the scheduled task. Independent acceptance: The scheduled execution finds the intended tools and emits an expected, validated backup result.
  2. For Harborview Library, the Linux support team should: Scoped correction: Set the intended process locale or normalize numeric input rather than assuming an English formatting convention. Independent acceptance: A unit test parses the same measured value consistently under two user locales.
  3. For Harborview Library, the Linux support team should: Scoped correction: Use an additive usermod operation where appropriate and restore the intended group membership set. Independent acceptance: A fresh login belongs to both authorized groups and cannot enter unrelated groups.
  4. For Harborview Library, the Linux support team should: Scoped correction: Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented. Independent acceptance: The script produces the same result in two test user locales and preserves user interface localization.

Explanation

Correct Answer

C:

Verify the change by checking that a fresh login belongs to both authorized groups and cannot enter unrelated groups. The original clue was before and after group lists show usermod -G replaced the full supplementary group list. The test is meaningful because without the append modifier, supplementary group replacement can remove earlier memberships.

Incorrect Answers

A:

Even verifying scoped correction: Use absolute binary paths or set an explicit safe cron environment for the scheduled task. Independent acceptance: The scheduled execution finds the intended tools and emits an expected, validated backup result leaves the reported failure unproven. An acceptance test must show that a fresh login belongs to both authorized groups and cannot enter unrelated groups.

B:

The alternative outcome is scoped correction: Set the intended process locale or normalize numeric input rather than assuming an English formatting convention. Independent acceptance: A unit test parses the same measured value consistently under two user locales. It may validate a separate setting, but not the required action: use an additive usermod operation where appropriate and restore the intended group membership set. The required observation is a fresh login belongs to both authorized groups and cannot enter unrelated groups.

D:

Scoped correction: Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented. Independent acceptance: The script produces the same result in two test user locales and preserves user interface localization. The evidence relevant to this incident is before and after group lists show usermod -G replaced the full supplementary group list. Confirm the corresponding recovery result: A fresh login belongs to both authorized groups and cannot enter unrelated groups.

Question 196

At fictional Oakridge Services, the Linux identity and scheduled operations team is working while investigating an observed production-like support incident. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The diagnostic evidence is: Before and after group lists show usermod -G replaced the full supplementary group list. Which bounded step BEST resolves the described problem?

  1. For Oakridge Services, the Linux support team should: Use absolute binary paths or set an explicit safe cron environment for the scheduled task.
  2. For Oakridge Services, the Linux support team should: Set the intended process locale or normalize numeric input rather than assuming an English formatting convention.
  3. For Oakridge Services, the Linux support team should: Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented.
  4. For Oakridge Services, the Linux support team should: Use an additive usermod operation where appropriate and restore the intended group membership set.

Explanation

Correct Answer

D:

Before and after group lists show usermod -G replaced the full supplementary group list. Instead of unrelated changes, use an additive usermod operation where appropriate and restore the intended group membership set. The expected result is a fresh login belongs to both authorized groups and cannot enter unrelated groups. Preserve this constraint during the change: New group membership normally requires a new login or session refresh to take effect.

Incorrect Answers

A:

Use absolute binary paths or set an explicit safe cron environment for the scheduled task. It could be useful for another problem, but it does not change before and after group lists show usermod -G replaced the full supplementary group list. The response needs to use an additive usermod operation where appropriate and restore the intended group membership set.

B:

An alternative action is set the intended process locale or normalize numeric input rather than assuming an English formatting convention. This incident instead involves before and after group lists show usermod -G replaced the full supplementary group list. Confirm the scoped change through a fresh login belongs to both authorized groups and cannot enter unrelated groups.

C:

Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented. That would not correct the reported before and after group lists show usermod -G replaced the full supplementary group list. The supported response is to use an additive usermod operation where appropriate and restore the intended group membership set.

Question 197

At fictional Oakridge Services, the Linux identity and scheduled operations team is working while investigating an observed production-like support incident. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. Which observation MOST directly supports the underlying diagnosis before any changes are made?

  1. The deciding Linux diagnostic evidence for Oakridge Services is: Before and after group lists show usermod -G replaced the full supplementary group list.
  2. The deciding Linux diagnostic evidence for Oakridge Services is: Cron's environment lacks a custom PATH set only by the interactive user's profile.
  3. The deciding Linux diagnostic evidence for Oakridge Services is: locale output shows LC_NUMERIC differs from the format expected by the parser.
  4. The deciding Linux diagnostic evidence for Oakridge Services is: The command output language changes with LANG and the script parses localized human messages.

Explanation

Correct Answer

A:

Look for the recorded condition: Before and after group lists show usermod -G replaced the full supplementary group list. That is decisive because without the append modifier, supplementary group replacement can remove earlier memberships. Correction should target use an additive usermod operation where appropriate and restore the intended group membership set.

Incorrect Answers

B:

A competing Linux diagnostic finding for Oakridge Services is: Cron's environment lacks a custom PATH set only by the interactive user's profile. That finding does not isolate the reported issue: a helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The determining evidence is before and after group lists show usermod -G replaced the full supplementary group list.

C:

At Oakridge Services, that alternative suggests: locale output shows LC_NUMERIC differs from the format expected by the parser. The actual diagnostic record shows before and after group lists show usermod -G replaced the full supplementary group list instead. The difference matters because without the append modifier, supplementary group replacement can remove earlier memberships.

D:

At Oakridge Services, another potential finding is: The command output language changes with LANG and the script parses localized human messages. That would not establish the cause here. Before and after group lists show usermod -G replaced the full supplementary group list. The case-specific correction is to use an additive usermod operation where appropriate and restore the intended group membership set.

Question 198

At fictional Oakridge Services, the Linux identity and scheduled operations team is working while investigating an observed production-like support incident. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The proposed intervention is: Use an additive usermod operation where appropriate and restore the intended group membership set. Which independent result BEST demonstrates a successful correction?

  1. The independent acceptance evidence for Oakridge Services is: The scheduled execution finds the intended tools and emits an expected, validated backup result.
  2. The independent acceptance evidence for Oakridge Services is: A fresh login belongs to both authorized groups and cannot enter unrelated groups.
  3. The independent acceptance evidence for Oakridge Services is: A unit test parses the same measured value consistently under two user locales.
  4. The independent acceptance evidence for Oakridge Services is: The script produces the same result in two test user locales and preserves user interface localization.

Explanation

Correct Answer

B:

To close the incident, demonstrate that a fresh login belongs to both authorized groups and cannot enter unrelated groups. That addresses before and after group lists show usermod -G replaced the full supplementary group list and reflects the rule that without the append modifier, supplementary group replacement can remove earlier memberships.

Incorrect Answers

A:

A separate test at Oakridge Services could show: The scheduled execution finds the intended tools and emits an expected, validated backup result. That would not demonstrate closure of this condition. The needed proof is a fresh login belongs to both authorized groups and cannot enter unrelated groups.

C:

The independent acceptance evidence for Oakridge Services is: A unit test parses the same measured value consistently under two user locales. That does not demonstrate the case-specific success condition: a fresh login belongs to both authorized groups and cannot enter unrelated groups. Without the append modifier, supplementary group replacement can remove earlier memberships.

D:

The independent acceptance evidence for Oakridge Services is: The script produces the same result in two test user locales and preserves user interface localization. That result does not test the original problem, identified by before and after group lists show usermod -G replaced the full supplementary group list. Recovery must show that a fresh login belongs to both authorized groups and cannot enter unrelated groups.

Question 199

At fictional Oakridge Services, the Linux identity and scheduled operations team is working while investigating an observed production-like support incident. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The relevant evidence is: Before and after group lists show usermod -G replaced the full supplementary group list. Which Linux administration principle MOST accurately explains the correct response?

  1. The relevant Linux system principle for Oakridge Services is: Cron jobs do not necessarily inherit interactive shell startup configuration.
  2. The relevant Linux system principle for Oakridge Services is: Locale categories affect formatting independently of application data types.
  3. The relevant Linux system principle for Oakridge Services is: Without the append modifier, supplementary group replacement can remove earlier memberships.
  4. The relevant Linux system principle for Oakridge Services is: Locale settings influence human-readable command output and can alter brittle text parsers.

Explanation

Correct Answer

C:

Without the append modifier, supplementary group replacement can remove earlier memberships. That explains the observed condition: before and after group lists show usermod -G replaced the full supplementary group list. The scoped response is to use an additive usermod operation where appropriate and restore the intended group membership set.

Incorrect Answers

A:

At Oakridge Services, another Linux system principle is: Cron jobs do not necessarily inherit interactive shell startup configuration. The present evidence is before and after group lists show usermod -G replaced the full supplementary group list, which instead follows from without the append modifier, supplementary group replacement can remove earlier memberships.

B:

A competing Linux principle for Oakridge Services is: Locale categories affect formatting independently of application data types. This describes another relationship, not the cause of a helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. Without the append modifier, supplementary group replacement can remove earlier memberships.

D:

At Oakridge Services, a different Linux system principle is: Locale settings influence human-readable command output and can alter brittle text parsers does not account for before and after group lists show usermod -G replaced the full supplementary group list. This case is governed by without the append modifier, supplementary group replacement can remove earlier memberships.

Question 200

At fictional Oakridge Services, the Linux identity and scheduled operations team is working while investigating an observed production-like support incident. The Linux scenario is: A helpdesk agent gains access to a printer group but loses membership in the audit-readers group afterward. The decisive evidence is: Before and after group lists show usermod -G replaced the full supplementary group list. Which paired action and independent proof BEST satisfies the requirement?

  1. For Oakridge Services, the Linux support team should: Scoped correction: Use absolute binary paths or set an explicit safe cron environment for the scheduled task. Independent acceptance: The scheduled execution finds the intended tools and emits an expected, validated backup result.
  2. For Oakridge Services, the Linux support team should: Scoped correction: Set the intended process locale or normalize numeric input rather than assuming an English formatting convention. Independent acceptance: A unit test parses the same measured value consistently under two user locales.
  3. For Oakridge Services, the Linux support team should: Scoped correction: Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented. Independent acceptance: The script produces the same result in two test user locales and preserves user interface localization.
  4. For Oakridge Services, the Linux support team should: Scoped correction: Use an additive usermod operation where appropriate and restore the intended group membership set. Independent acceptance: A fresh login belongs to both authorized groups and cannot enter unrelated groups.

Explanation

Correct Answer

D:

A fresh login belongs to both authorized groups and cannot enter unrelated groups. This measures whether the response corrected before and after group lists show usermod -G replaced the full supplementary group list rather than merely completing a configuration step.

Incorrect Answers

A:

A test that scoped correction: Use absolute binary paths or set an explicit safe cron environment for the scheduled task. Independent acceptance: The scheduled execution finds the intended tools and emits an expected, validated backup result would not demonstrate closure of this condition. The needed proof is a fresh login belongs to both authorized groups and cannot enter unrelated groups.

B:

Scoped correction: Set the intended process locale or normalize numeric input rather than assuming an English formatting convention. Independent acceptance: A unit test parses the same measured value consistently under two user locales. That does not demonstrate the case-specific success condition: a fresh login belongs to both authorized groups and cannot enter unrelated groups. Without the append modifier, supplementary group replacement can remove earlier memberships.

C:

Scoped correction: Use a stable machine-readable interface or a narrowly scoped LANG=C command where documented. Independent acceptance: The script produces the same result in two test user locales and preserves user interface localization. That result does not test the original problem, identified by before and after group lists show usermod -G replaced the full supplementary group list. Recovery must show that a fresh login belongs to both authorized groups and cannot enter unrelated groups.

LPI Level 1 (102-500) Practice Tests