LPI 102-500 Exam Dumps, Practice Test Questions

100% Latest & Updated LPI 102-500 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

LPI 102-500 Premium Bundle
$79.97
$59.98

102-500 Premium Bundle

  • Premium File: 120 Questions & Answers. Last update: Nov 18, 2026
  • Training Course: 126 Video Lectures
  • Study Guide: 962 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

102-500 Premium Bundle

LPI 102-500 Premium Bundle
  • Premium File: 120 Questions & Answers. Last update: Nov 18, 2026
  • Training Course: 126 Video Lectures
  • Study Guide: 962 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

LPI 102-500 Practice Test 80

Question 790

An operator authenticates with sudo on a shared maintenance console, and another approved command runs without a new prompt during the cached authorization window. Select THREE measures that follow directly from the root cause and lifecycle risk.

  1. Generate or update a suitable ssh-keygen identity with a strong passphrase and keep the private key protected.
  2. Run ssh-add -l and verify an authenticated connection uses the loaded identity.
  3. Set and review sudo authentication-cache policy for sensitive shared administrative consoles.
  4. Include listener bind addresses, not just port numbers, in host-hardening baselines.
  5. Use sudo -k and a controlled sudo command to confirm the expected authentication prompt and timeout.
  6. Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console.

Explanation

Correct Answers

C:

Set and review sudo authentication-cache policy for sensitive shared administrative consoles. This control detects or prevents the same mechanism before another incident.

E:

Use sudo -k and a controlled sudo command to confirm the expected authentication prompt and timeout. It verifies that the targeted action (Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console.) achieved its intended outcome.

F:

Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console. It is the direct response; verify the result by: Use sudo -k and a controlled sudo command to confirm the expected authentication prompt and timeout.

Incorrect Answers

A:

That choice responds to a passphrase-protected key generation failure. In this incident, sudo may cache recent authentication for a policy-defined period, and that timestamp is independent of account password expiry.

B:

It would address ssh agent does not contain key rather than the present problem. The appropriate correction here is: Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console.

D:

This option assumes The service is bound to all IPv4 interfaces rather than the intended loopback interface, unnecessarily exposing the listener. The reported symptoms instead call for: Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console.

Question 791

A host's local listener list shows TCP 22, but the security team needs to know which ports are exposed to clients from another subnet. Why does the reported configuration behave this way?

  1. Local listening state does not account for intervening host firewalls or network ACLs.
  2. A local SSH tunnel maps a local listening port to a host and port from the SSH server side.
  3. The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.
  4. TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

Explanation

Correct Answer

A:

Local listening state does not account for intervening host firewalls or network ACLs. The administrator should distinguish this from unrelated symptoms by checking: Compare remotely observed services with local ss listeners and filtering rules.

Incorrect Answers

B:

This belongs to local port forwarding to internal database, where A local SSH tunnel maps a local listening port to a host and port from the SSH server side. The current issue instead is: Local listening state does not account for intervening host firewalls or network ACLs.

C:

This option assumes The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields. The reported symptoms instead call for: Run an authorized nmap scan from the designated assessment subnet against the approved target.

D:

It would address hosts allow precedence in libwrap rather than the present problem. The appropriate correction here is: Run an authorized nmap scan from the designated assessment subnet against the approved target.

Question 792

A host's local listener list shows TCP 22, but the security team needs to know which ports are exposed to clients from another subnet. What should the administrator do to correct this behavior?

  1. Place the user's approved public key in authorized_keys and verify server host keys separately.
  2. Install the approved public key in the intended user's ~/.ssh/authorized_keys with secure ownership and permissions.
  3. Run an authorized nmap scan from the designated assessment subnet against the approved target.
  4. Generate or update a suitable ssh-keygen identity with a strong passphrase and keep the private key protected.

Explanation

Correct Answer

C:

Run an authorized nmap scan from the designated assessment subnet against the approved target. It is the direct response; verify the result by: Compare remotely observed services with local ss listeners and filtering rules.

Incorrect Answers

A:

That choice responds to a ssh public key versus server host key failure. In this incident, Local listening state does not account for intervening host firewalls or network ACLs.

B:

This belongs to user authorized ssh key, where The matching public key must be authorized for that server account and file permissions must permit sshd to read it securely. The current issue instead is: Local listening state does not account for intervening host firewalls or network ACLs.

D:

The test for passphrase-protected key generation would be: Inspect key usage in a fresh agent session and confirm unlocking is required under policy. The relevant acceptance check here is: Compare remotely observed services with local ss listeners and filtering rules.

Question 793

A host's local listener list shows TCP 22, but the security team needs to know which ports are exposed to clients from another subnet. Which observation should be used for acceptance testing?

  1. Scan the service port after restart and inspect the active xinetd configuration.
  2. Compare the verified fingerprint with the key used by gpg --verify.
  3. Compare remotely observed services with local ss listeners and filtering rules.
  4. Run ssh-add -l and verify an authenticated connection uses the loaded identity.

Explanation

Correct Answer

C:

Compare remotely observed services with local ss listeners and filtering rules. The test is evidence-based because the underlying failure was: Local listening state does not account for intervening host firewalls or network ACLs.

Incorrect Answers

A:

Scan the service port after restart and inspect the active xinetd configuration. could help with xinetd service enabled accidentally; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare remotely observed services with local ss listeners and filtering rules.

B:

Compare the verified fingerprint with the key used by gpg --verify. could help with gpg signature from unknown key; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare remotely observed services with local ss listeners and filtering rules.

D:

That choice responds to a ssh agent does not contain key failure. In this incident, Local listening state does not account for intervening host firewalls or network ACLs.

Question 794

A host's local listener list shows TCP 22, but the security team needs to know which ports are exposed to clients from another subnet. What longer-term control best supports this requirement?

  1. Maintain a minimal approved service inventory and review listeners periodically.
  2. Limit SSH forwarding permissions and avoid opening broad database firewall exposure.
  3. Use explicitly authorized scan scope and correlate external exposure with host settings.
  4. Default ForwardAgent to no and grant any exception only to an explicitly trusted intermediate host.

Explanation

Correct Answer

C:

Use explicitly authorized scan scope and correlate external exposure with host settings. The underlying risk is Local listening state does not account for intervening host firewalls or network ACLs.

Incorrect Answers

A:

Maintain a minimal approved service inventory and review listeners periodically. belongs to a situation where Unused enabled services increase attack surface and persist through restarts. Here the evidence supports a different requirement: Use explicitly authorized scan scope and correlate external exposure with host settings.

B:

It would address local port forwarding to internal database rather than the present problem. The appropriate correction here is: Run an authorized nmap scan from the designated assessment subnet against the approved target.

D:

That choice responds to a agent forwarding to an untrusted bastion failure. In this incident, Local listening state does not account for intervening host firewalls or network ACLs.

Question 795

A host's local listener list shows TCP 22, but the security team needs to know which ports are exposed to clients from another subnet. Choose TWO case-specific steps: one that fixes the issue and one that proves the result.

  1. Use the recipient's private key in a controlled test to decrypt and compare the recovered archive.
  2. Tighten the allow entry or remove an unintended exception for that daemon and client.
  3. Compare remotely observed services with local ss listeners and filtering rules.
  4. Distinguish confidentiality, integrity and author authentication in evidence workflows.
  5. Run an authorized nmap scan from the designated assessment subnet against the approved target.

Explanation

Correct Answers

C:

Compare remotely observed services with local ss listeners and filtering rules. This measures the specific result of applying: Run an authorized nmap scan from the designated assessment subnet against the approved target.

E:

Run an authorized nmap scan from the designated assessment subnet against the approved target. Unlike a broad workaround, it targets the observed cause: Local listening state does not account for intervening host firewalls or network ACLs.

Incorrect Answers

A:

It would address gpg recipient encryption rather than the present problem. The appropriate correction here is: Run an authorized nmap scan from the designated assessment subnet against the approved target.

B:

Tighten the allow entry or remove an unintended exception for that daemon and client. could help with hosts allow precedence in libwrap; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare remotely observed services with local ss listeners and filtering rules.

D:

It would address gpg sign versus encrypt rather than the present problem. The appropriate correction here is: Run an authorized nmap scan from the designated assessment subnet against the approved target.

Question 796

An audit finds password hashes stored in fields of the world-readable /etc/passwd file on a legacy host. Why does the reported configuration behave this way?

  1. Encryption protects confidentiality but does not alone prove the author's signing key endorsed the document.
  2. The client's known_hosts pin no longer matches the offered server host key, which can also signal interception.
  3. Local listening state does not account for intervening host firewalls or network ACLs.
  4. The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

Explanation

Correct Answer

D:

The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields. This is the explanation that justifies the specific remedy: Migrate to distribution-supported shadow password storage with approved permissions.

Incorrect Answers

A:

Encryption protects confidentiality but does not alone prove the author's signing key endorsed the document. could help with gpg sign versus encrypt; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

B:

The test for ssh host identity mismatch would be: Compare the server's trusted host-key fingerprint with the client warning before accepting it. The relevant acceptance check here is: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

C:

This option assumes Local listening state does not account for intervening host firewalls or network ACLs. The reported symptoms instead call for: Migrate to distribution-supported shadow password storage with approved permissions.

Question 797

An audit finds password hashes stored in fields of the world-readable /etc/passwd file on a legacy host. Which change most directly meets the stated requirement?

  1. Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console.
  2. Verify the signer's public-key fingerprint through an independent trusted channel before relying on identity.
  3. Migrate to distribution-supported shadow password storage with approved permissions.
  4. Place the user's approved public key in authorized_keys and verify server host keys separately.

Explanation

Correct Answer

C:

Migrate to distribution-supported shadow password storage with approved permissions. Unlike a broad workaround, it targets the observed cause: The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

Incorrect Answers

A:

Review sudo timestamp_timeout policy through visudo and end the cached authorization with sudo -k when leaving the console. belongs to a situation where sudo may cache recent authentication for a policy-defined period, and that timestamp is independent of account password expiry. Here the evidence supports a different requirement: Migrate to distribution-supported shadow password storage with approved permissions.

B:

That choice responds to a gpg signature from unknown key failure. In this incident, The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

D:

The test for ssh public key versus server host key would be: Check ssh -v to distinguish server host verification from client public-key authentication. The relevant acceptance check here is: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

Question 798

An audit finds password hashes stored in fields of the world-readable /etc/passwd file on a legacy host. Which check would provide the strongest evidence that the fix worked?

  1. Import the revocation in a clean test keyring and inspect key validity before signature acceptance.
  2. Verify the detached signature using gpg --verify and the independently trusted signer key.
  3. Inspect account record fields and effective /etc/shadow permissions in a controlled test.
  4. Compare w with who and confirm the intended sessions are present.

Explanation

Correct Answer

C:

Inspect account record fields and effective /etc/shadow permissions in a controlled test. It verifies that the targeted action (Migrate to distribution-supported shadow password storage with approved permissions.) achieved its intended outcome.

Incorrect Answers

A:

Import the revocation in a clean test keyring and inspect key validity before signature acceptance. could help with gpg revoked signing key; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

B:

This belongs to gpg sign versus encrypt, where Encryption protects confidentiality but does not alone prove the author's signing key endorsed the document. The current issue instead is: The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

D:

The test for inspect current logged-in commands would be: Compare w with who and confirm the intended sessions are present. The relevant acceptance check here is: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

Question 799

An audit finds password hashes stored in fields of the world-readable /etc/passwd file on a legacy host. What longer-term control best supports this requirement?

  1. Keep credential hashes in restricted stores and monitor mode drift.
  2. Manage authorized user keys by account and revoke them promptly on offboarding.
  3. Record key identity provenance alongside signature validation outcomes.
  4. Default ForwardAgent to no and grant any exception only to an explicitly trusted intermediate host.

Explanation

Correct Answer

A:

Keep credential hashes in restricted stores and monitor mode drift. It preserves the corrective behavior established through: Migrate to distribution-supported shadow password storage with approved permissions.

Incorrect Answers

B:

The test for user authorized ssh key would be: Use ssh -v to inspect the authentication attempt and verify which server account is selected. The relevant acceptance check here is: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

C:

This belongs to gpg signature from unknown key, where A mathematically valid signature does not independently establish who owns the public key. The current issue instead is: The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

D:

This option assumes Forwarding an SSH agent exposes its authentication socket to processes with sufficient privilege on the remote host while the connection is active. The reported symptoms instead call for: Migrate to distribution-supported shadow password storage with approved permissions.

Question 800

An audit finds password hashes stored in fields of the world-readable /etc/passwd file on a legacy host. Which THREE actions form a suitable remediation, verification and prevention plan? Select THREE.

  1. Inspect account record fields and effective /etc/shadow permissions in a controlled test.
  2. Keep credential hashes in restricted stores and monitor mode drift.
  3. Migrate to distribution-supported shadow password storage with approved permissions.
  4. Review privileged file modes regularly and remove unnecessary setuid programs.
  5. Check ssh -v to distinguish server host verification from client public-key authentication.
  6. Verify the new server host key fingerprint out of band before updating the known_hosts entry.

Explanation

Correct Answers

A:

Inspect account record fields and effective /etc/shadow permissions in a controlled test. The observation confirms the diagnosis or falsifies it before declaring the incident resolved.

B:

Keep credential hashes in restricted stores and monitor mode drift. The underlying risk is The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

C:

Migrate to distribution-supported shadow password storage with approved permissions. It addresses the root cause, while Keep credential hashes in restricted stores and monitor mode drift. reduces future recurrence.

Incorrect Answers

D:

Review privileged file modes regularly and remove unnecessary setuid programs. belongs to a situation where Setuid is a special permission bit; ordinary x permission is not evidence of effective-UID elevation. Here the evidence supports a different requirement: Keep credential hashes in restricted stores and monitor mode drift.

E:

Check ssh -v to distinguish server host verification from client public-key authentication. belongs to a situation where Server host keys identify the SSH server; user keys authenticate the connecting client identity. Here the evidence supports a different requirement: Inspect account record fields and effective /etc/shadow permissions in a controlled test.

F:

That choice responds to a ssh host identity mismatch failure. In this incident, The shadow-password model keeps hashes in restricted /etc/shadow, while passwd contains public account fields.

LPI Level 1 (102-500) Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

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

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.