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 78

Question 770

A security scanner reports an unexpected open local TCP port and the team needs its owning process before disabling it. Which THREE case-specific steps cover immediate repair, test evidence and sustained control?

  1. Manage authorized user keys by account and revoke them promptly on offboarding.
  2. Correlate PID, executable and service unit with the observed bound address and port.
  3. Use ss -ltnp or lsof -i under appropriate privileges to identify the listener.
  4. Maintain approved service-port inventory and alert on unexpected listeners.
  5. Use ssh -v to inspect the authentication attempt and verify which server account is selected.
  6. Use ssh -L localport:db-host:dbport bastion after obtaining forwarding approval.

Explanation

Correct Answers

B:

Correlate PID, executable and service unit with the observed bound address and port. The test is evidence-based because the underlying failure was: The listening port may belong to an active local process rather than a stale firewall rule.

C:

Use ss -ltnp or lsof -i under appropriate privileges to identify the listener. It is the direct response; verify the result by: Correlate PID, executable and service unit with the observed bound address and port.

D:

Maintain approved service-port inventory and alert on unexpected listeners. It makes the outcome of the targeted repair (Use ss -ltnp or lsof -i under appropriate privileges to identify the listener.) repeatable.

Incorrect Answers

A:

The matching public key must be authorized for that server account and file permissions must permit sshd to read it securely. That describes a different fault. Here, The listening port may belong to an active local process rather than a stale firewall rule.

E:

The matching public key must be authorized for that server account and file permissions must permit sshd to read it securely. That describes a different fault. Here, The listening port may belong to an active local process rather than a stale firewall rule.

F:

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: The listening port may belong to an active local process rather than a stale firewall rule.

Question 771

A privileged account shows evidence of recent activity, but who shows no currently logged-in session. Which diagnosis is supported by the observations?

  1. The service is bound to all IPv4 interfaces rather than the intended loopback interface, unnecessarily exposing the listener.
  2. who lists current sessions; historical successful logins require a login-history facility such as last.
  3. Unused enabled services increase attack surface and persist through restarts.
  4. Server host keys identify the SSH server; user keys authenticate the connecting client identity.

Explanation

Correct Answer

B:

who lists current sessions; historical successful logins require a login-history facility such as last. That cause connects the stated symptom to the corrective action: Review last or equivalent retained authentication logs for historical sessions.

Incorrect Answers

A:

The service is bound to all IPv4 interfaces rather than the intended loopback interface, unnecessarily exposing the listener. could help with local-only service binds every interface; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare selected user login timestamps with rotated authentication logs.

C:

This option assumes Unused enabled services increase attack surface and persist through restarts. The reported symptoms instead call for: Review last or equivalent retained authentication logs for historical sessions.

D:

This belongs to ssh public key versus server host key, where Server host keys identify the SSH server; user keys authenticate the connecting client identity. The current issue instead is: who lists current sessions; historical successful logins require a login-history facility such as last.

Question 772

A privileged account shows evidence of recent activity, but who shows no currently logged-in session. Which configuration approach is appropriate for this requirement?

  1. Disable and stop the corresponding socket unit as well as the service when decommissioning it.
  2. Review last or equivalent retained authentication logs for historical sessions.
  3. Create a digital signature with the author's appropriate GPG private key and distribute the verification key securely.
  4. Use an approved ssh -R forwarding rule with restricted bind address and port.

Explanation

Correct Answer

B:

Review last or equivalent retained authentication logs for historical sessions. It corrects the mechanism identified in the scenario: who lists current sessions; historical successful logins require a login-history facility such as last.

Incorrect Answers

A:

Disable and stop the corresponding socket unit as well as the service when decommissioning it. could help with socket activation keeps port open; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare selected user login timestamps with rotated authentication logs.

C:

Create a digital signature with the author's appropriate GPG private key and distribute the verification key securely. could help with gpg sign versus encrypt; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare selected user login timestamps with rotated authentication logs.

D:

The test for remote forwarding for support callback would be: Connect from the allowed bastion-side client and confirm traffic reaches the local development service. The relevant acceptance check here is: Compare selected user login timestamps with rotated authentication logs.

Question 773

A privileged account shows evidence of recent activity, but who shows no currently logged-in session. Which test would confirm the suspected Linux mechanism?

  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. Attempt access from the formerly matched client and review wrapper logs.
  4. Inspect account record fields and effective /etc/shadow permissions in a controlled test.

Explanation

Correct Answer

B:

Compare selected user login timestamps with rotated authentication logs. It distinguishes a genuine correction from a superficial edit that has not addressed the underlying cause: who lists current sessions; historical successful logins require a login-history facility such as last.

Incorrect Answers

A:

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

C:

It would address hosts allow precedence in libwrap rather than the present problem. The appropriate correction here is: Review last or equivalent retained authentication logs for historical sessions.

D:

The test for separate shadow hashes from public identities would be: Inspect account record fields and effective /etc/shadow permissions in a controlled test. The relevant acceptance check here is: Compare selected user login timestamps with rotated authentication logs.

Question 774

A privileged account shows evidence of recent activity, but who shows no currently logged-in session. What should the team standardize to prevent similar incidents?

  1. Default ForwardAgent to no and grant any exception only to an explicitly trusted intermediate host.
  2. Review allow and deny policies together when maintaining legacy libwrap services.
  3. Validate recipient public-key identity before protecting sensitive material.
  4. Protect and retain login history centrally for incident reconstruction.

Explanation

Correct Answer

D:

Protect and retain login history centrally for incident reconstruction. It prevents repetition of the condition: who lists current sessions; historical successful logins require a login-history facility such as last.

Incorrect Answers

A:

Forwarding an SSH agent exposes its authentication socket to processes with sufficient privilege on the remote host while the connection is active. That describes a different fault. Here, who lists current sessions; historical successful logins require a login-history facility such as last.

B:

TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny. That describes a different fault. Here, who lists current sessions; historical successful logins require a login-history facility such as last.

C:

Validate recipient public-key identity before protecting sensitive material. could help with gpg recipient encryption; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare selected user login timestamps with rotated authentication logs.

Question 775

A privileged account shows evidence of recent activity, but who shows no currently logged-in session. Which TWO options provide a coherent remediation-and-test response to this incident?

  1. Compare selected user login timestamps with rotated authentication logs.
  2. Review service state and firewall scope as separate layers of host security.
  3. Run ssh-add -l and verify an authenticated connection uses the loaded identity.
  4. Review last or equivalent retained authentication logs for historical sessions.
  5. Use ssh -L localport:db-host:dbport bastion after obtaining forwarding approval.

Explanation

Correct Answers

A:

Compare selected user login timestamps with rotated authentication logs. This check is tied to the expected behavior rather than mere process uptime.

D:

Review last or equivalent retained authentication logs for historical sessions. Unlike a broad workaround, it targets the observed cause: who lists current sessions; historical successful logins require a login-history facility such as last.

Incorrect Answers

B:

That choice responds to a firewall status versus service status failure. In this incident, who lists current sessions; historical successful logins require a login-history facility such as last.

C:

It would address ssh agent does not contain key rather than the present problem. The appropriate correction here is: Review last or equivalent retained authentication logs for historical sessions.

E:

Use ssh -L localport:db-host:dbport bastion after obtaining forwarding approval. could help with local port forwarding to internal database; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare selected user login timestamps with rotated authentication logs.

Question 776

A help desk sees two simultaneous SSH sessions but needs to know who is currently logged in and their activity. Which diagnosis is supported by the observations?

  1. The client's known_hosts pin no longer matches the offered server host key, which can also signal interception.
  2. The service is bound to all IPv4 interfaces rather than the intended loopback interface, unnecessarily exposing the listener.
  3. Historical login tools alone do not enumerate current session commands and idle times.
  4. Encryption protects confidentiality but does not alone prove the author's signing key endorsed the document.

Explanation

Correct Answer

C:

Historical login tools alone do not enumerate current session commands and idle times. A good follow-up is to test this explanation through: Compare w with who and confirm the intended sessions are present.

Incorrect Answers

A:

This option assumes The client's known_hosts pin no longer matches the offered server host key, which can also signal interception. The reported symptoms instead call for: Use w to inspect current users, TTYs, idle times and active commands.

B:

The service is bound to all IPv4 interfaces rather than the intended loopback interface, unnecessarily exposing the listener. belongs to a situation where The service is bound to all IPv4 interfaces rather than the intended loopback interface, unnecessarily exposing the listener. Here the evidence supports a different requirement: Historical login tools alone do not enumerate current session commands and idle times.

D:

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: Historical login tools alone do not enumerate current session commands and idle times.

Question 777

A help desk sees two simultaneous SSH sessions but needs to know who is currently logged in and their activity. Which intervention addresses the specific problem with the least unrelated change?

  1. Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.
  2. Use w to inspect current users, TTYs, idle times and active commands.
  3. Publish an appropriate GPG key revocation and distribute the replacement trust path.
  4. Avoid agent forwarding to the untrusted jump server; use a reviewed jump-host connection without ForwardAgent or a more restrictive design.

Explanation

Correct Answer

B:

Use w to inspect current users, TTYs, idle times and active commands. It is the direct response; verify the result by: Compare w with who and confirm the intended sessions are present.

Incorrect Answers

A:

It would address xinetd service enabled accidentally rather than the present problem. The appropriate correction here is: Use w to inspect current users, TTYs, idle times and active commands.

C:

Publish an appropriate GPG key revocation and distribute the replacement trust path. belongs to a situation where A revocation certificate communicates that a key should no longer be trusted for future decisions. Here the evidence supports a different requirement: Use w to inspect current users, TTYs, idle times and active commands.

D:

That choice responds to a agent forwarding to an untrusted bastion failure. In this incident, Historical login tools alone do not enumerate current session commands and idle times.

Question 778

A help desk sees two simultaneous SSH sessions but needs to know who is currently logged in and their activity. What focused test would distinguish a real correction from a cosmetic change?

  1. Attempt a test non-root login and confirm rejection plus the displayed notice.
  2. Inspect key usage in a fresh agent session and confirm unlocking is required under policy.
  3. Compare w with who and confirm the intended sessions are present.
  4. Attempt access from the formerly matched client and review wrapper logs.

Explanation

Correct Answer

C:

Compare w with who and confirm the intended sessions are present. This check is tied to the expected behavior rather than mere process uptime.

Incorrect Answers

A:

Attempt a test non-root login and confirm rejection plus the displayed notice. belongs to a situation where A system's login policy can use /etc/nologin to reject standard logins on supporting login services. Here the evidence supports a different requirement: Compare w with who and confirm the intended sessions are present.

B:

Inspect key usage in a fresh agent session and confirm unlocking is required under policy. could help with passphrase-protected key generation; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Compare w with who and confirm the intended sessions are present.

D:

The test for hosts allow precedence in libwrap would be: Attempt access from the formerly matched client and review wrapper logs. The relevant acceptance check here is: Compare w with who and confirm the intended sessions are present.

Question 779

A help desk sees two simultaneous SSH sessions but needs to know who is currently logged in and their activity. What should the team standardize to prevent similar incidents?

  1. Record key identity provenance alongside signature validation outcomes.
  2. Use controlled session visibility during incident triage while honoring privacy policy.
  3. Distinguish confidentiality, integrity and author authentication in evidence workflows.
  4. Remove maintenance login blocks promptly and test PAM service behavior.

Explanation

Correct Answer

B:

Use controlled session visibility during incident triage while honoring privacy policy. It makes the outcome of the targeted repair (Use w to inspect current users, TTYs, idle times and active commands.) repeatable.

Incorrect Answers

A:

It would address gpg signature from unknown key rather than the present problem. The appropriate correction here is: Use w to inspect current users, TTYs, idle times and active commands.

C:

The test for gpg sign versus encrypt would be: Verify the detached signature using gpg --verify and the independently trusted signer key. The relevant acceptance check here is: Compare w with who and confirm the intended sessions are present.

D:

This option assumes A system's login policy can use /etc/nologin to reject standard logins on supporting login services. The reported symptoms instead call for: Use w to inspect current users, TTYs, idle times and active commands.

Question 780

A help desk sees two simultaneous SSH sessions but needs to know who is currently logged in and their activity. Choose THREE measures that together correct the failure, demonstrate success and reduce recurrence.

  1. Document legacy TCP-wrapper limitations and migrate network policy to supported controls.
  2. Import the revocation in a clean test keyring and inspect key validity before signature acceptance.
  3. Use controlled session visibility during incident triage while honoring privacy policy.
  4. Compare w with who and confirm the intended sessions are present.
  5. Use w to inspect current users, TTYs, idle times and active commands.
  6. Disable and stop the corresponding socket unit as well as the service when decommissioning it.

Explanation

Correct Answers

C:

Use controlled session visibility during incident triage while honoring privacy policy. The underlying risk is Historical login tools alone do not enumerate current session commands and idle times.

D:

Compare w with who and confirm the intended sessions are present. The test is evidence-based because the underlying failure was: Historical login tools alone do not enumerate current session commands and idle times.

E:

Use w to inspect current users, TTYs, idle times and active commands. It is the direct response; verify the result by: Compare w with who and confirm the intended sessions are present.

Incorrect Answers

A:

That choice responds to a tcp wrappers are legacy failure. In this incident, Historical login tools alone do not enumerate current session commands and idle times.

B:

That choice responds to a gpg revoked signing key failure. In this incident, Historical login tools alone do not enumerate current session commands and idle times.

F:

This option assumes A separate systemd .socket unit can listen and activate its associated service on demand. The reported symptoms instead call for: Use w to inspect current users, TTYs, idle times and active commands.

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.