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 81

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.

Question 801

A server unnecessarily runs a legacy telnet daemon that listens on the network after every reboot. Which mechanism best explains the difference between expectation and result?

  1. The matching public key must be authorized for that server account and file permissions must permit sshd to read it securely.
  2. Unused enabled services increase attack surface and persist through restarts.
  3. A signature may authenticate integrity but leaves ordinary plaintext visible without encryption.
  4. The client's known_hosts pin no longer matches the offered server host key, which can also signal interception.

Explanation

Correct Answer

B:

Unused enabled services increase attack surface and persist through restarts. The administrator should distinguish this from unrelated symptoms by checking: Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot.

Incorrect Answers

A:

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: Unused enabled services increase attack surface and persist through restarts.

C:

The test for gpg recipient encryption would be: Use the recipient's private key in a controlled test to decrypt and compare the recovered archive. The relevant acceptance check here is: Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot.

D:

It would address ssh host identity mismatch rather than the present problem. The appropriate correction here is: Disable and stop the obsolete service with the service manager after checking dependencies.

Question 802

A server unnecessarily runs a legacy telnet daemon that listens on the network after every reboot. What should the administrator do to correct this behavior?

  1. Disable and stop the obsolete service with the service manager after checking dependencies.
  2. Run sudo -l under the user's identity to enumerate the commands sudo permits.
  3. Generate or update a suitable ssh-keygen identity with a strong passphrase and keep the private key protected.
  4. Verify the signer's public-key fingerprint through an independent trusted channel before relying on identity.

Explanation

Correct Answer

A:

Disable and stop the obsolete service with the service manager after checking dependencies. It addresses the root cause, while Maintain a minimal approved service inventory and review listeners periodically. reduces future recurrence.

Incorrect Answers

B:

Group membership or an assertion is not sufficient evidence of the actual sudoers permissions. That describes a different fault. Here, Unused enabled services increase attack surface and persist through restarts.

C:

That choice responds to a passphrase-protected key generation failure. In this incident, Unused enabled services increase attack surface and persist through restarts.

D:

That choice responds to a gpg signature from unknown key failure. In this incident, Unused enabled services increase attack surface and persist through restarts.

Question 803

A server unnecessarily runs a legacy telnet daemon that listens on the network after every reboot. Which observation should be used for acceptance testing?

  1. Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot.
  2. Compare selected user login timestamps with rotated authentication logs.
  3. Inspect ssh -G for forwardagent on the intended host and confirm that no agent socket is forwarded during the bastion session.
  4. Compare w with who and confirm the intended sessions are present.

Explanation

Correct Answer

A:

Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot. This measures the specific result of applying: Disable and stop the obsolete service with the service manager after checking dependencies.

Incorrect Answers

B:

This belongs to previous login attribution, where who lists current sessions; historical successful logins require a login-history facility such as last. The current issue instead is: Unused enabled services increase attack surface and persist through restarts.

C:

The test for agent forwarding to an untrusted bastion would be: Inspect ssh -G for forwardagent on the intended host and confirm that no agent socket is forwarded during the bastion session. The relevant acceptance check here is: Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot.

D:

This option assumes Historical login tools alone do not enumerate current session commands and idle times. The reported symptoms instead call for: Disable and stop the obsolete service with the service manager after checking dependencies.

Question 804

A server unnecessarily runs a legacy telnet daemon that listens on the network after every reboot. What longer-term control best supports this requirement?

  1. Maintain a minimal approved service inventory and review listeners periodically.
  2. Set and review sudo authentication-cache policy for sensitive shared administrative consoles.
  3. Avoid unnecessary private-key copies and scope agent access to trusted sessions.
  4. Require syntax validation and least-privilege rule reviews for sudo policy changes.

Explanation

Correct Answer

A:

Maintain a minimal approved service inventory and review listeners periodically. It makes the outcome of the targeted repair (Disable and stop the obsolete service with the service manager after checking dependencies.) repeatable.

Incorrect Answers

B:

Set and review sudo authentication-cache policy for sensitive shared administrative consoles. 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: Maintain a minimal approved service inventory and review listeners periodically.

C:

Running ssh-agent does not itself load a private key into the agent. That describes a different fault. Here, Unused enabled services increase attack surface and persist through restarts.

D:

Invalid sudoers syntax can break privilege delegation and an unvalidated edit is risky. That describes a different fault. Here, Unused enabled services increase attack surface and persist through restarts.

Question 805

A server unnecessarily runs a legacy telnet daemon that listens on the network after every reboot. Choose TWO case-specific steps: one that fixes the issue and one that proves the result.

  1. Inspect each candidate with ls -l or stat and compare with an approved package baseline.
  2. Use explicitly authorized scan scope and correlate external exposure with host settings.
  3. Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot.
  4. Disable and stop the obsolete service with the service manager after checking dependencies.
  5. Use ss -ltnp or lsof -i under appropriate privileges to identify the listener.

Explanation

Correct Answers

C:

Check systemctl is-enabled and ss -ltn to confirm no unwanted listener remains after reboot. The test is evidence-based because the underlying failure was: Unused enabled services increase attack surface and persist through restarts.

D:

Disable and stop the obsolete service with the service manager after checking dependencies. It corrects the mechanism identified in the scenario: Unused enabled services increase attack surface and persist through restarts.

Incorrect Answers

A:

It would address search unexpected setuid files rather than the present problem. The appropriate correction here is: Disable and stop the obsolete service with the service manager after checking dependencies.

B:

This option assumes Local listening state does not account for intervening host firewalls or network ACLs. The reported symptoms instead call for: Disable and stop the obsolete service with the service manager after checking dependencies.

E:

It would address find process owning tcp listener rather than the present problem. The appropriate correction here is: Disable and stop the obsolete service with the service manager after checking dependencies.

Question 806

An administrator stops a server's .service unit, but its TCP port remains bound by systemd and the service restarts on a connection. Which failure condition fits the evidence without assuming an unrelated fault?

  1. Remote forwarding places a listener on the SSH server side that carries traffic to the client-side service.
  2. A separate systemd .socket unit can listen and activate its associated service on demand.
  3. The listening port may belong to an active local process rather than a stale firewall rule.
  4. Running ssh-agent does not itself load a private key into the agent.

Explanation

Correct Answer

B:

A separate systemd .socket unit can listen and activate its associated service on demand. This is the explanation that justifies the specific remedy: Disable and stop the corresponding socket unit as well as the service when decommissioning it.

Incorrect Answers

A:

Remote forwarding places a listener on the SSH server side that carries traffic to the client-side service. That describes a different fault. Here, A separate systemd .socket unit can listen and activate its associated service on demand.

C:

That choice responds to a find process owning tcp listener failure. In this incident, A separate systemd .socket unit can listen and activate its associated service on demand.

D:

The test for ssh agent does not contain key would be: Run ssh-add -l and verify an authenticated connection uses the loaded identity. The relevant acceptance check here is: Inspect systemctl list-sockets and attempt the connection after applying the policy.

Question 807

An administrator stops a server's .service unit, but its TCP port remains bound by systemd and the service restarts on a connection. Which remedial step follows from the observed mechanism?

  1. Disable and stop the corresponding socket unit as well as the service when decommissioning it.
  2. Install the approved public key in the intended user's ~/.ssh/authorized_keys with secure ownership and permissions.
  3. Set a policy-approved ulimit -u or equivalent PAM-managed resource limit for the relevant user context.
  4. Run sudo -l under the user's identity to enumerate the commands sudo permits.

Explanation

Correct Answer

A:

Disable and stop the corresponding socket unit as well as the service when decommissioning it. It addresses the root cause, while Treat service units and socket units as separate controls when reducing attack surface. reduces future recurrence.

Incorrect Answers

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: A separate systemd .socket unit can listen and activate its associated service on demand.

C:

This option assumes Unlimited user process creation can exhaust host resources; ulimit exposes shell limits for the current context. The reported symptoms instead call for: Disable and stop the corresponding socket unit as well as the service when decommissioning it.

D:

It would address inspect effective sudo privilege rather than the present problem. The appropriate correction here is: Disable and stop the corresponding socket unit as well as the service when decommissioning it.

Question 808

An administrator stops a server's .service unit, but its TCP port remains bound by systemd and the service restarts on a connection. What focused test would distinguish a real correction from a cosmetic change?

  1. Compare w with who and confirm the intended sessions are present.
  2. Inspect systemctl list-sockets and attempt the connection after applying the policy.
  3. Compare the server's trusted host-key fingerprint with the client warning before accepting it.
  4. Connect from the allowed bastion-side client and confirm traffic reaches the local development service.

Explanation

Correct Answer

B:

Inspect systemctl list-sockets and attempt the connection after applying the policy. This check is tied to the expected behavior rather than mere process uptime.

Incorrect Answers

A:

That choice responds to a inspect current logged-in commands failure. In this incident, A separate systemd .socket unit can listen and activate its associated service on demand.

C:

This belongs to ssh host identity mismatch, where The client's known_hosts pin no longer matches the offered server host key, which can also signal interception. The current issue instead is: A separate systemd .socket unit can listen and activate its associated service on demand.

D:

Connect from the allowed bastion-side client and confirm traffic reaches the local development service. belongs to a situation where Remote forwarding places a listener on the SSH server side that carries traffic to the client-side service. Here the evidence supports a different requirement: Inspect systemctl list-sockets and attempt the connection after applying the policy.

Question 809

An administrator stops a server's .service unit, but its TCP port remains bound by systemd and the service restarts on a connection. Which practice is most useful after the immediate repair succeeds?

  1. Track user authentication and server identity keys as distinct lifecycles.
  2. Use unique protected keys per identity and device and revoke lost keys promptly.
  3. Maintain approved service-port inventory and alert on unexpected listeners.
  4. Treat service units and socket units as separate controls when reducing attack surface.

Explanation

Correct Answer

D:

Treat service units and socket units as separate controls when reducing attack surface. It makes the outcome of the targeted repair (Disable and stop the corresponding socket unit as well as the service when decommissioning it.) repeatable.

Incorrect Answers

A:

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 systemctl list-sockets and attempt the connection after applying the policy.

B:

This belongs to passphrase-protected key generation, where A private key without a protective passphrase increases exposure if its file is stolen. The current issue instead is: A separate systemd .socket unit can listen and activate its associated service on demand.

C:

The listening port may belong to an active local process rather than a stale firewall rule. That describes a different fault. Here, A separate systemd .socket unit can listen and activate its associated service on demand.

Question 810

An administrator stops a server's .service unit, but its TCP port remains bound by systemd and the service restarts on a connection. Which THREE case-specific steps cover immediate repair, test evidence and sustained control?

  1. Treat service units and socket units as separate controls when reducing attack surface.
  2. Disable and stop the corresponding socket unit as well as the service when decommissioning it.
  3. Inspect systemctl list-sockets and attempt the connection after applying the policy.
  4. Use unique protected keys per identity and device and revoke lost keys promptly.
  5. Compare w with who and confirm the intended sessions are present.
  6. Install the approved public key in the intended user's ~/.ssh/authorized_keys with secure ownership and permissions.

Explanation

Correct Answers

A:

Treat service units and socket units as separate controls when reducing attack surface. This control detects or prevents the same mechanism before another incident.

B:

Disable and stop the corresponding socket unit as well as the service when decommissioning it. It addresses the root cause, while Treat service units and socket units as separate controls when reducing attack surface. reduces future recurrence.

C:

Inspect systemctl list-sockets and attempt the connection after applying the policy. The test is evidence-based because the underlying failure was: A separate systemd .socket unit can listen and activate its associated service on demand.

Incorrect Answers

D:

This option assumes A private key without a protective passphrase increases exposure if its file is stolen. The reported symptoms instead call for: Disable and stop the corresponding socket unit as well as the service when decommissioning it.

E:

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 systemctl list-sockets and attempt the connection after applying the policy.

F:

Install the approved public key in the intended user's ~/.ssh/authorized_keys with secure ownership and permissions. could help with user authorized ssh key; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Inspect systemctl list-sockets and attempt the connection after applying the policy.

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.