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 68

Question 670

A Linux troubleshooter is gathering specific evidence for this situation: A host hardening audit finds a new executable with setuid permissions and the owner cannot explain why it needs elevated identity. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Run visudo -c and test a scoped sudo -l policy for representative accounts.
  2. Use find with the setuid permission predicate and examine stat ownership and package provenance.
  3. Inspect stat ownership and mode on /etc/shadow and test unprivileged access.
  4. Compare nmap results from the approved vantage point with ss listener output.

Explanation

Correct Answer

B:

Use find with the setuid permission predicate and examine stat ownership and package provenance. This check targets the relevant state for auditing setuid binaries for unexpected privilege and directly assesses the observed behavior. The result should be evaluated against: No unapproved setuid executables remain and required privileged helpers are documented.

Incorrect Answers

A:

Run visudo -c and test a scoped sudo -l policy for representative accounts. This check is relevant to safe validation of sudo policy changes but not the most targeted diagnosis of auditing setuid binaries for unexpected privilege. The specific check is: Use find with the setuid permission predicate and examine stat ownership and package provenance.

C:

Inspect stat ownership and mode on /etc/shadow and test unprivileged access. This check is relevant to preserving shadow file confidentiality but not the most targeted diagnosis of auditing setuid binaries for unexpected privilege. The specific check is: Use find with the setuid permission predicate and examine stat ownership and package provenance.

D:

Compare nmap results from the approved vantage point with ss listener output. This check is relevant to discovering unexpected listening ports but not the most targeted diagnosis of auditing setuid binaries for unexpected privilege. The specific check is: Use find with the setuid permission predicate and examine stat ownership and package provenance.

Question 671

A Linux administrator supports a system covered by LPI exam 102-500, version 5.0: Security policy requires privileged users to rotate passwords, but one local administrator has password aging disabled. Which step MOST directly corrects the specific problem described?

  1. Place the appropriate public key in the remote account's ~/.ssh/authorized_keys with safe permissions.
  2. Inventory setuid files, validate each against approved packages and remove unnecessary elevation using controlled change management.
  3. Review the account's aging settings with chage and enforce the approved maximum interval.
  4. Use lsof with appropriate privileges or ss process output to identify the bound process.

Explanation

Correct Answer

C:

Review the account's aging settings with chage and enforce the approved maximum interval. This targets the observed issue, auditing password expiration for privileged accounts, rather than a separate Linux configuration. Underlying behavior: Password-aging metadata in the shadow account database controls credential expiry. Verify the action by checking: The privileged account reports an enforceable password lifetime within policy.

Incorrect Answers

A:

Place the appropriate public key in the remote account's ~/.ssh/authorized_keys with safe permissions. This is an appropriate response to a different issue (installing the correct authorized ssh public key) but does not MOST directly address the explicit auditing password expiration for privileged accounts failure.

B:

Inventory setuid files, validate each against approved packages and remove unnecessary elevation using controlled change management. This is an appropriate response to a different issue (auditing setuid binaries for unexpected privilege) but does not MOST directly address the explicit auditing password expiration for privileged accounts failure.

D:

Use lsof with appropriate privileges or ss process output to identify the bound process. This is an appropriate response to a different issue (mapping an open port to its owning process) but does not MOST directly address the explicit auditing password expiration for privileged accounts failure.

Question 672

A Linux team is checking the acceptance evidence for this specific situation: Security policy requires privileged users to rotate passwords, but one local administrator has password aging disabled. Which observation BEST confirms that this particular issue has been corrected?

  1. The active user and terminal list matches the planned notification audience.
  2. The privileged account reports an enforceable password lifetime within policy.
  3. A historical login record identifies the relevant account and time or a documented log gap.
  4. Non-root interactive login attempts are denied while authorized recovery access follows local policy.

Explanation

Correct Answer

B:

The privileged account reports an enforceable password lifetime within policy. That evidence specifically demonstrates recovery from auditing password expiration for privileged accounts. The technical reason is: Password-aging metadata in the shadow account database controls credential expiry.

Incorrect Answers

A:

The active user and terminal list matches the planned notification audience. This can validate reviewing currently logged-in users, but it does not establish that the described auditing password expiration for privileged accounts issue is fixed. The case-specific evidence is: The privileged account reports an enforceable password lifetime within policy.

C:

A historical login record identifies the relevant account and time or a documented log gap. This can validate auditing past login activity, but it does not establish that the described auditing password expiration for privileged accounts issue is fixed. The case-specific evidence is: The privileged account reports an enforceable password lifetime within policy.

D:

Non-root interactive login attempts are denied while authorized recovery access follows local policy. This can validate restricting non-root user login during maintenance, but it does not establish that the described auditing password expiration for privileged accounts issue is fixed. The case-specific evidence is: The privileged account reports an enforceable password lifetime within policy.

Question 673

A Linux engineer reviews the underlying behavior in this particular case: Security policy requires privileged users to rotate passwords, but one local administrator has password aging disabled. Which technical behavior BEST explains this particular failure and its remedy?

  1. The shadow password database stores sensitive credential hashes separately from publicly readable account data.
  2. Local socket inspection can associate a network endpoint with the owning process.
  3. Password-aging metadata in the shadow account database controls credential expiry.
  4. visudo checks sudoers syntax and avoids an invalid policy file being left in place.

Explanation

Correct Answer

C:

Password-aging metadata in the shadow account database controls credential expiry. This Linux behavior explains the observed symptoms and supports the precise remedy: Review the account's aging settings with chage and enforce the approved maximum interval.

Incorrect Answers

A:

The shadow password database stores sensitive credential hashes separately from publicly readable account data. This describes another behavior (preserving shadow file confidentiality) and does not explain the stated auditing password expiration for privileged accounts failure. The operative behavior is: Password-aging metadata in the shadow account database controls credential expiry.

B:

Local socket inspection can associate a network endpoint with the owning process. This describes another behavior (mapping an open port to its owning process) and does not explain the stated auditing password expiration for privileged accounts failure. The operative behavior is: Password-aging metadata in the shadow account database controls credential expiry.

D:

visudo checks sudoers syntax and avoids an invalid policy file being left in place. This describes another behavior (safe validation of sudo policy changes) and does not explain the stated auditing password expiration for privileged accounts failure. The operative behavior is: Password-aging metadata in the shadow account database controls credential expiry.

Question 674

A Linux operating control has not corrected the following specific problem: Security policy requires privileged users to rotate passwords, but one local administrator has password aging disabled. Which outcome is the MOST directly associated operational risk if this problem remains?

  1. An invalid or broad sudoers rule can lock out administrators or confer excess privilege.
  2. Stale privileged passwords can remain valid longer than permitted.
  3. A hidden on-demand service may remain accessible without a persistent process.
  4. Active administrators may be interrupted without notice.

Explanation

Correct Answer

B:

Stale privileged passwords can remain valid longer than permitted. This is the directly relevant consequence of leaving the auditing password expiration for privileged accounts problem unresolved. The appropriate preventive change is: Review the account's aging settings with chage and enforce the approved maximum interval.

Incorrect Answers

A:

An invalid or broad sudoers rule can lock out administrators or confer excess privilege. This consequence is connected to safe validation of sudo policy changes rather than the MOST direct exposure in the stated auditing password expiration for privileged accounts problem. The specific consequence is: Stale privileged passwords can remain valid longer than permitted.

C:

A hidden on-demand service may remain accessible without a persistent process. This consequence is connected to reviewing legacy xinetd service activation rather than the MOST direct exposure in the stated auditing password expiration for privileged accounts problem. The specific consequence is: Stale privileged passwords can remain valid longer than permitted.

D:

Active administrators may be interrupted without notice. This consequence is connected to reviewing currently logged-in users rather than the MOST direct exposure in the stated auditing password expiration for privileged accounts problem. The specific consequence is: Stale privileged passwords can remain valid longer than permitted.

Question 675

A Linux troubleshooter is gathering specific evidence for this situation: Security policy requires privileged users to rotate passwords, but one local administrator has password aging disabled. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Inspect lsof -i or ss -lntp for the specific port.
  2. Review account status with passwd -S and chage -l and inspect PAM configuration.
  3. Run visudo -c and test a scoped sudo -l policy for representative accounts.
  4. Inspect chage -l for the account and the relevant shadow aging fields.

Explanation

Correct Answer

D:

Inspect chage -l for the account and the relevant shadow aging fields. This check targets the relevant state for auditing password expiration for privileged accounts and directly assesses the observed behavior. The result should be evaluated against: The privileged account reports an enforceable password lifetime within policy.

Incorrect Answers

A:

Inspect lsof -i or ss -lntp for the specific port. This check is relevant to mapping an open port to its owning process but not the most targeted diagnosis of auditing password expiration for privileged accounts. The specific check is: Inspect chage -l for the account and the relevant shadow aging fields.

B:

Review account status with passwd -S and chage -l and inspect PAM configuration. This check is relevant to checking effective shadow authentication state but not the most targeted diagnosis of auditing password expiration for privileged accounts. The specific check is: Inspect chage -l for the account and the relevant shadow aging fields.

C:

Run visudo -c and test a scoped sudo -l policy for representative accounts. This check is relevant to safe validation of sudo policy changes but not the most targeted diagnosis of auditing password expiration for privileged accounts. The specific check is: Inspect chage -l for the account and the relevant shadow aging fields.

Question 676

A Linux administrator supports a system covered by LPI exam 102-500, version 5.0: A team edits /etc/sudoers with a general text editor and introduces a syntax error just before a maintenance window. Which step MOST directly corrects the specific problem described?

  1. Make the change through visudo and apply least-privilege command rules.
  2. Inventory setuid files, validate each against approved packages and remove unnecessary elevation using controlled change management.
  3. Inspect who or w to identify current sessions and their activity before the change.
  4. Disable the unnecessary service in its xinetd configuration and reload the supervisor.

Explanation

Correct Answer

A:

Make the change through visudo and apply least-privilege command rules. This targets the observed issue, safe validation of sudo policy changes, rather than a separate Linux configuration. Underlying behavior: visudo checks sudoers syntax and avoids an invalid policy file being left in place. Verify the action by checking: Sudo policy syntax validates and only authorized administrative commands are permitted.

Incorrect Answers

B:

Inventory setuid files, validate each against approved packages and remove unnecessary elevation using controlled change management. This is an appropriate response to a different issue (auditing setuid binaries for unexpected privilege) but does not MOST directly address the explicit safe validation of sudo policy changes failure.

C:

Inspect who or w to identify current sessions and their activity before the change. This is an appropriate response to a different issue (reviewing currently logged-in users) but does not MOST directly address the explicit safe validation of sudo policy changes failure.

D:

Disable the unnecessary service in its xinetd configuration and reload the supervisor. This is an appropriate response to a different issue (reviewing legacy xinetd service activation) but does not MOST directly address the explicit safe validation of sudo policy changes failure.

Question 677

A Linux team is checking the acceptance evidence for this specific situation: A team edits /etc/sudoers with a general text editor and introduces a syntax error just before a maintenance window. Which observation BEST confirms that this particular issue has been corrected?

  1. Only the holder of the matching authorized private key can decrypt the test archive.
  2. Sudo policy syntax validates and only authorized administrative commands are permitted.
  3. The scanned port list and local service binding agree on the exposed endpoint.
  4. The active user and terminal list matches the planned notification audience.

Explanation

Correct Answer

B:

Sudo policy syntax validates and only authorized administrative commands are permitted. That evidence specifically demonstrates recovery from safe validation of sudo policy changes. The technical reason is: visudo checks sudoers syntax and avoids an invalid policy file being left in place.

Incorrect Answers

A:

Only the holder of the matching authorized private key can decrypt the test archive. This can validate encrypting a file to a gnupg recipient, but it does not establish that the described safe validation of sudo policy changes issue is fixed. The case-specific evidence is: Sudo policy syntax validates and only authorized administrative commands are permitted.

C:

The scanned port list and local service binding agree on the exposed endpoint. This can validate discovering unexpected listening ports, but it does not establish that the described safe validation of sudo policy changes issue is fixed. The case-specific evidence is: Sudo policy syntax validates and only authorized administrative commands are permitted.

D:

The active user and terminal list matches the planned notification audience. This can validate reviewing currently logged-in users, but it does not establish that the described safe validation of sudo policy changes issue is fixed. The case-specific evidence is: Sudo policy syntax validates and only authorized administrative commands are permitted.

Question 678

A Linux engineer reviews the underlying behavior in this particular case: A team edits /etc/sudoers with a general text editor and introduces a syntax error just before a maintenance window. Which technical behavior BEST explains this particular failure and its remedy?

  1. who and w report current login sessions rather than all historical accounts.
  2. last displays recorded login history rather than only current active sessions.
  3. visudo checks sudoers syntax and avoids an invalid policy file being left in place.
  4. A passwd database entry does not by itself establish authentication success.

Explanation

Correct Answer

C:

visudo checks sudoers syntax and avoids an invalid policy file being left in place. This Linux behavior explains the observed symptoms and supports the precise remedy: Make the change through visudo and apply least-privilege command rules.

Incorrect Answers

A:

who and w report current login sessions rather than all historical accounts. This describes another behavior (reviewing currently logged-in users) and does not explain the stated safe validation of sudo policy changes failure. The operative behavior is: visudo checks sudoers syntax and avoids an invalid policy file being left in place.

B:

last displays recorded login history rather than only current active sessions. This describes another behavior (auditing past login activity) and does not explain the stated safe validation of sudo policy changes failure. The operative behavior is: visudo checks sudoers syntax and avoids an invalid policy file being left in place.

D:

A passwd database entry does not by itself establish authentication success. This describes another behavior (checking effective shadow authentication state) and does not explain the stated safe validation of sudo policy changes failure. The operative behavior is: visudo checks sudoers syntax and avoids an invalid policy file being left in place.

Question 679

A Linux operating control has not corrected the following specific problem: A team edits /etc/sudoers with a general text editor and introduces a syntax error just before a maintenance window. Which outcome is the MOST directly associated operational risk if this problem remains?

  1. Stale privileged passwords can remain valid longer than permitted.
  2. An invalid or broad sudoers rule can lock out administrators or confer excess privilege.
  3. Sharing a private key can let an attacker impersonate the administrator.
  4. An unapproved network service could increase the attack surface.

Explanation

Correct Answer

B:

An invalid or broad sudoers rule can lock out administrators or confer excess privilege. This is the directly relevant consequence of leaving the safe validation of sudo policy changes problem unresolved. The appropriate preventive change is: Make the change through visudo and apply least-privilege command rules.

Incorrect Answers

A:

Stale privileged passwords can remain valid longer than permitted. This consequence is connected to auditing password expiration for privileged accounts rather than the MOST direct exposure in the stated safe validation of sudo policy changes problem. The specific consequence is: An invalid or broad sudoers rule can lock out administrators or confer excess privilege.

C:

Sharing a private key can let an attacker impersonate the administrator. This consequence is connected to generating an ssh client key pair rather than the MOST direct exposure in the stated safe validation of sudo policy changes problem. The specific consequence is: An invalid or broad sudoers rule can lock out administrators or confer excess privilege.

D:

An unapproved network service could increase the attack surface. This consequence is connected to discovering unexpected listening ports rather than the MOST direct exposure in the stated safe validation of sudo policy changes problem. The specific consequence is: An invalid or broad sudoers rule can lock out administrators or confer excess privilege.

Question 680

A Linux troubleshooter is gathering specific evidence for this situation: A team edits /etc/sudoers with a general text editor and introduces a syntax error just before a maintenance window. Which check MOST directly diagnoses or confirms the technical condition described?

  1. Compare the trusted server fingerprint with the client's known_hosts entry.
  2. Run visudo -c and test a scoped sudo -l policy for representative accounts.
  3. Compare who and w outputs with known session endpoints.
  4. Inspect lsof -i or ss -lntp for the specific port.

Explanation

Correct Answer

B:

Run visudo -c and test a scoped sudo -l policy for representative accounts. This check targets the relevant state for safe validation of sudo policy changes and directly assesses the observed behavior. The result should be evaluated against: Sudo policy syntax validates and only authorized administrative commands are permitted.

Incorrect Answers

A:

Compare the trusted server fingerprint with the client's known_hosts entry. This check is relevant to validating a changed ssh server host key but not the most targeted diagnosis of safe validation of sudo policy changes. The specific check is: Run visudo -c and test a scoped sudo -l policy for representative accounts.

C:

Compare who and w outputs with known session endpoints. This check is relevant to reviewing currently logged-in users but not the most targeted diagnosis of safe validation of sudo policy changes. The specific check is: Run visudo -c and test a scoped sudo -l policy for representative accounts.

D:

Inspect lsof -i or ss -lntp for the specific port. This check is relevant to mapping an open port to its owning process but not the most targeted diagnosis of safe validation of sudo policy changes. The specific check is: Run visudo -c and test a scoped sudo -l policy for representative accounts.

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