Pass LPI 102-500 Exam in First Attempt Easily
Real LPI 102-500 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

102-500 Premium Bundle

  • Premium File 120 Questions & Answers
  • Last Update: Nov 10, 2026
  • Training Course 126 Lectures
  • Study Guide 962 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    120 Questions & Answers
    Last Update: Nov 10, 2026

    $76.99
    $69.99
  • Training Course

    126 Lectures

    $43.99
    $39.99
  • Study Guide

    962 Pages

    $43.99
    $39.99

LPI Level 1 102-500 Practice Test 20

Question 190

A Linux troubleshooter is gathering specific evidence for this situation: An engineer searches /etc/passwd for a corporate account and concludes the account does not exist although NSS uses LDAP. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Inspect locale output in the affected and control user sessions.
  2. Compare id or groups output before and after applying the change in a test account.
  3. Review the passwd marker and the protected shadow entry through privileged inspection.
  4. Examine /etc/nsswitch.conf and compare getent results with the local passwd file.

Explanation

Correct Answer

D:

Examine /etc/nsswitch.conf and compare getent results with the local passwd file. This check targets the relevant state for looking up identities from multiple name services and directly assesses the observed behavior. The result should be evaluated against: getent resolves the authorized remote account even when no local /etc/passwd line exists.

Incorrect Answers

A:

Inspect locale output in the affected and control user sessions. This check is relevant to setting a preferred user locale but not the most targeted diagnosis of looking up identities from multiple name services. The specific check is: Examine /etc/nsswitch.conf and compare getent results with the local passwd file.

B:

Compare id or groups output before and after applying the change in a test account. This check is relevant to appending supplemental group membership safely but not the most targeted diagnosis of looking up identities from multiple name services. The specific check is: Examine /etc/nsswitch.conf and compare getent results with the local passwd file.

C:

Review the passwd marker and the protected shadow entry through privileged inspection. This check is relevant to distinguishing local passwd fields from shadow entries but not the most targeted diagnosis of looking up identities from multiple name services. The specific check is: Examine /etc/nsswitch.conf and compare getent results with the local passwd file.

Question 191

A Linux administrator supports a system covered by LPI exam 102-500, version 5.0: A hardening script makes /etc/shadow world-readable to help support staff diagnose login failures. Which step MOST directly corrects the specific problem described?

  1. Set the intended timezone with timedatectl set-timezone or the distribution's supported configuration method.
  2. Restore restricted ownership and permissions for /etc/shadow and use privileged tools for diagnostics.
  3. Append the project group with usermod -aG instead of replacing existing supplemental memberships.
  4. Create a dedicated service account with a non-login shell and appropriately scoped UID, groups and directory rights.

Explanation

Correct Answer

B:

Restore restricted ownership and permissions for /etc/shadow and use privileged tools for diagnostics. This targets the observed issue, protecting shadow password hashes, rather than a separate Linux configuration. Underlying behavior: Linux separates general user account information from the sensitive shadow credential store. Verify the action by checking: Unprivileged users cannot read the hashed password database.

Incorrect Answers

A:

Set the intended timezone with timedatectl set-timezone or the distribution's supported configuration method. This is an appropriate response to a different issue (changing the system timezone without changing utc) but does not MOST directly address the explicit protecting shadow password hashes failure.

C:

Append the project group with usermod -aG instead of replacing existing supplemental memberships. This is an appropriate response to a different issue (appending supplemental group membership safely) but does not MOST directly address the explicit protecting shadow password hashes failure.

D:

Create a dedicated service account with a non-login shell and appropriately scoped UID, groups and directory rights. This is an appropriate response to a different issue (non-login system account for a daemon) but does not MOST directly address the explicit protecting shadow password hashes failure.

Question 192

A Linux team is checking the acceptance evidence for this specific situation: A hardening script makes /etc/shadow world-readable to help support staff diagnose login failures. Which observation BEST confirms that this particular issue has been corrected?

  1. The account resolves normally and its password state is determined from the shadow credential entry.
  2. Unprivileged users cannot read the hashed password database.
  3. Password-based authentication is blocked, while the account's UID and files remain present.
  4. A fresh process displays the intended localized date behavior without the forced C override.

Explanation

Correct Answer

B:

Unprivileged users cannot read the hashed password database. That evidence specifically demonstrates recovery from protecting shadow password hashes. The technical reason is: Linux separates general user account information from the sensitive shadow credential store.

Incorrect Answers

A:

The account resolves normally and its password state is determined from the shadow credential entry. This can validate distinguishing local passwd fields from shadow entries, but it does not establish that the described protecting shadow password hashes issue is fixed. The case-specific evidence is: Unprivileged users cannot read the hashed password database.

C:

Password-based authentication is blocked, while the account's UID and files remain present. This can validate locking a password without deleting an account, but it does not establish that the described protecting shadow password hashes issue is fixed. The case-specific evidence is: Unprivileged users cannot read the hashed password database.

D:

A fresh process displays the intended localized date behavior without the forced C override. This can validate lc_all override precedence, but it does not establish that the described protecting shadow password hashes issue is fixed. The case-specific evidence is: Unprivileged users cannot read the hashed password database.

Question 193

A Linux engineer reviews the underlying behavior in this particular case: A hardening script makes /etc/shadow world-readable to help support staff diagnose login failures. Which technical behavior BEST explains this particular failure and its remedy?

  1. systemd-run can create transient timer and service units for delayed work.
  2. Password locking changes the credential's usability without removing the passwd database identity.
  3. Linux separates general user account information from the sensitive shadow credential store.
  4. Group database membership determines which users may receive group-based file permissions.

Explanation

Correct Answer

C:

Linux separates general user account information from the sensitive shadow credential store. This Linux behavior explains the observed symptoms and supports the precise remedy: Restore restricted ownership and permissions for /etc/shadow and use privileged tools for diagnostics.

Incorrect Answers

A:

systemd-run can create transient timer and service units for delayed work. This describes another behavior (transient one-off systemd job) and does not explain the stated protecting shadow password hashes failure. The operative behavior is: Linux separates general user account information from the sensitive shadow credential store.

B:

Password locking changes the credential's usability without removing the passwd database identity. This describes another behavior (locking a password without deleting an account) and does not explain the stated protecting shadow password hashes failure. The operative behavior is: Linux separates general user account information from the sensitive shadow credential store.

D:

Group database membership determines which users may receive group-based file permissions. This describes another behavior (creating and verifying supplementary groups) and does not explain the stated protecting shadow password hashes failure. The operative behavior is: Linux separates general user account information from the sensitive shadow credential store.

Question 194

A Linux operating control has not corrected the following specific problem: A hardening script makes /etc/shadow world-readable to help support staff diagnose login failures. Which outcome is the MOST directly associated operational risk if this problem remains?

  1. A valid account may be unusable or write into an unintended directory.
  2. Orphaned test data can continue to expose sensitive material.
  3. Incorrect decoding can corrupt names and break log matching.
  4. Exposed password hashes may enable offline attacks against user credentials.

Explanation

Correct Answer

D:

Exposed password hashes may enable offline attacks against user credentials. This is the directly relevant consequence of leaving the protecting shadow password hashes problem unresolved. The appropriate preventive change is: Restore restricted ownership and permissions for /etc/shadow and use privileged tools for diagnostics.

Incorrect Answers

A:

A valid account may be unusable or write into an unintended directory. This consequence is connected to creating a user with a home directory rather than the MOST direct exposure in the stated protecting shadow password hashes problem. The specific consequence is: Exposed password hashes may enable offline attacks against user credentials.

B:

Orphaned test data can continue to expose sensitive material. This consequence is connected to removing an account with explicit home cleanup rather than the MOST direct exposure in the stated protecting shadow password hashes problem. The specific consequence is: Exposed password hashes may enable offline attacks against user credentials.

C:

Incorrect decoding can corrupt names and break log matching. This consequence is connected to converting file encodings for interchange rather than the MOST direct exposure in the stated protecting shadow password hashes problem. The specific consequence is: Exposed password hashes may enable offline attacks against user credentials.

Question 195

A Linux troubleshooter is gathering specific evidence for this situation: A hardening script makes /etc/shadow world-readable to help support staff diagnose login failures. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Compare date output with and without TZ in a controlled shell.
  2. Inspect stat output and ownership/mode for /etc/shadow.
  3. Inspect chage -l and corresponding /etc/shadow aging fields.
  4. Record id -gn and id -Gn before and after the group change.

Explanation

Correct Answer

B:

Inspect stat output and ownership/mode for /etc/shadow. This check targets the relevant state for protecting shadow password hashes and directly assesses the observed behavior. The result should be evaluated against: Unprivileged users cannot read the hashed password database.

Incorrect Answers

A:

Compare date output with and without TZ in a controlled shell. This check is relevant to per-process timezone override but not the most targeted diagnosis of protecting shadow password hashes. The specific check is: Inspect stat output and ownership/mode for /etc/shadow.

C:

Inspect chage -l and corresponding /etc/shadow aging fields. This check is relevant to enforcing password aging rather than an account date but not the most targeted diagnosis of protecting shadow password hashes. The specific check is: Inspect stat output and ownership/mode for /etc/shadow.

D:

Record id -gn and id -Gn before and after the group change. This check is relevant to choosing the correct primary group change but not the most targeted diagnosis of protecting shadow password hashes. The specific check is: Inspect stat output and ownership/mode for /etc/shadow.

Question 196

A Linux administrator supports a system covered by LPI exam 102-500, version 5.0: A background indexing daemon needs a distinct service identity but no interactive user login. Which step MOST directly corrects the specific problem described?

  1. Lock the account's password with passwd -l or usermod -L, and evaluate other login methods separately.
  2. Restore restricted ownership and permissions for /etc/shadow and use privileged tools for diagnostics.
  3. Identify the queued job ID with atq and remove that job using atrm.
  4. Create a dedicated service account with a non-login shell and appropriately scoped UID, groups and directory rights.

Explanation

Correct Answer

D:

Create a dedicated service account with a non-login shell and appropriately scoped UID, groups and directory rights. This targets the observed issue, non-login system account for a daemon, rather than a separate Linux configuration. Underlying behavior: Service identities can own processes without granting an ordinary interactive shell. Verify the action by checking: The service runs under its own identity while direct interactive shell login is denied.

Incorrect Answers

A:

Lock the account's password with passwd -l or usermod -L, and evaluate other login methods separately. This is an appropriate response to a different issue (locking a password without deleting an account) but does not MOST directly address the explicit non-login system account for a daemon failure.

B:

Restore restricted ownership and permissions for /etc/shadow and use privileged tools for diagnostics. This is an appropriate response to a different issue (protecting shadow password hashes) but does not MOST directly address the explicit non-login system account for a daemon failure.

C:

Identify the queued job ID with atq and remove that job using atrm. This is an appropriate response to a different issue (removing a queued at job safely) but does not MOST directly address the explicit non-login system account for a daemon failure.

Question 197

A Linux team is checking the acceptance evidence for this specific situation: A background indexing daemon needs a distinct service identity but no interactive user login. Which observation BEST confirms that this particular issue has been corrected?

  1. A test at the specified expiration boundary denies the contractor's login.
  2. A controlled downtime exercise triggers the missed service after the timer becomes active again.
  3. The service runs under its own identity while direct interactive shell login is denied.
  4. Unprivileged users cannot read the hashed password database.

Explanation

Correct Answer

C:

The service runs under its own identity while direct interactive shell login is denied. That evidence specifically demonstrates recovery from non-login system account for a daemon. The technical reason is: Service identities can own processes without granting an ordinary interactive shell.

Incorrect Answers

A:

A test at the specified expiration boundary denies the contractor's login. This can validate expiring an account after a contract ends, but it does not establish that the described non-login system account for a daemon issue is fixed. The case-specific evidence is: The service runs under its own identity while direct interactive shell login is denied.

B:

A controlled downtime exercise triggers the missed service after the timer becomes active again. This can validate catching up missed systemd timer executions, but it does not establish that the described non-login system account for a daemon issue is fixed. The case-specific evidence is: The service runs under its own identity while direct interactive shell login is denied.

D:

Unprivileged users cannot read the hashed password database. This can validate protecting shadow password hashes, but it does not establish that the described non-login system account for a daemon issue is fixed. The case-specific evidence is: The service runs under its own identity while direct interactive shell login is denied.

Question 198

A Linux engineer reviews the underlying behavior in this particular case: A background indexing daemon needs a distinct service identity but no interactive user login. Which technical behavior BEST explains this particular failure and its remedy?

  1. useradd account-creation switches and system defaults determine whether a home directory is generated.
  2. at.allow and at.deny are controls for one-time job scheduling access.
  3. Service identities can own processes without granting an ordinary interactive shell.
  4. Group database membership determines which users may receive group-based file permissions.

Explanation

Correct Answer

C:

Service identities can own processes without granting an ordinary interactive shell. This Linux behavior explains the observed symptoms and supports the precise remedy: Create a dedicated service account with a non-login shell and appropriately scoped UID, groups and directory rights.

Incorrect Answers

A:

useradd account-creation switches and system defaults determine whether a home directory is generated. This describes another behavior (creating a user with a home directory) and does not explain the stated non-login system account for a daemon failure. The operative behavior is: Service identities can own processes without granting an ordinary interactive shell.

B:

at.allow and at.deny are controls for one-time job scheduling access. This describes another behavior (restricting at job submission) and does not explain the stated non-login system account for a daemon failure. The operative behavior is: Service identities can own processes without granting an ordinary interactive shell.

D:

Group database membership determines which users may receive group-based file permissions. This describes another behavior (creating and verifying supplementary groups) and does not explain the stated non-login system account for a daemon failure. The operative behavior is: Service identities can own processes without granting an ordinary interactive shell.

Question 199

A Linux operating control has not corrected the following specific problem: A background indexing daemon needs a distinct service identity but no interactive user login. Which outcome is the MOST directly associated operational risk if this problem remains?

  1. Exposed password hashes may enable offline attacks against user credentials.
  2. Stale credentials may remain usable beyond the intended policy interval.
  3. An interactive-capable daemon account widens the attack surface after compromise.
  4. Skipped maintenance can accumulate after extended shutdown periods.

Explanation

Correct Answer

C:

An interactive-capable daemon account widens the attack surface after compromise. This is the directly relevant consequence of leaving the non-login system account for a daemon problem unresolved. The appropriate preventive change is: Create a dedicated service account with a non-login shell and appropriately scoped UID, groups and directory rights.

Incorrect Answers

A:

Exposed password hashes may enable offline attacks against user credentials. This consequence is connected to protecting shadow password hashes rather than the MOST direct exposure in the stated non-login system account for a daemon problem. The specific consequence is: An interactive-capable daemon account widens the attack surface after compromise.

B:

Stale credentials may remain usable beyond the intended policy interval. This consequence is connected to enforcing password aging rather than an account date rather than the MOST direct exposure in the stated non-login system account for a daemon problem. The specific consequence is: An interactive-capable daemon account widens the attack surface after compromise.

D:

Skipped maintenance can accumulate after extended shutdown periods. This consequence is connected to catching up missed systemd timer executions rather than the MOST direct exposure in the stated non-login system account for a daemon problem. The specific consequence is: An interactive-capable daemon account widens the attack surface after compromise.

Question 200

A Linux troubleshooter is gathering specific evidence for this situation: A background indexing daemon needs a distinct service identity but no interactive user login. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Inspect chage -l and corresponding /etc/shadow aging fields.
  2. Check the service's UID, login shell and effective writable directories.
  3. Run run-parts --test against the target directory and inspect cron execution logs.
  4. Compare id or groups output before and after applying the change in a test account.

Explanation

Correct Answer

B:

Check the service's UID, login shell and effective writable directories. This check targets the relevant state for non-login system account for a daemon and directly assesses the observed behavior. The result should be evaluated against: The service runs under its own identity while direct interactive shell login is denied.

Incorrect Answers

A:

Inspect chage -l and corresponding /etc/shadow aging fields. This check is relevant to enforcing password aging rather than an account date but not the most targeted diagnosis of non-login system account for a daemon. The specific check is: Check the service's UID, login shell and effective writable directories.

C:

Run run-parts --test against the target directory and inspect cron execution logs. This check is relevant to run-parts filename compatibility but not the most targeted diagnosis of non-login system account for a daemon. The specific check is: Check the service's UID, login shell and effective writable directories.

D:

Compare id or groups output before and after applying the change in a test account. This check is relevant to appending supplemental group membership safely but not the most targeted diagnosis of non-login system account for a daemon. The specific check is: Check the service's UID, login shell and effective writable directories.

LPI Level 1 (102-500) Practice Tests

Purchase Individually

  • Premium File

    120 Questions & Answers
    Last Update: Nov 10, 2026

    $76.99
    $69.99
  • Training Course

    126 Lectures

    $43.99
    $39.99
  • Study Guide

    962 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports