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 83

Question 820

A modern Linux service ignores /etc/hosts.deny even though the operator expects that file to block all unwanted clients. Which THREE case-specific steps cover immediate repair, test evidence and sustained control?

  1. Compare w with who and confirm the intended sessions are present.
  2. Test access from an allowed and denied client while observing the active enforcement mechanism.
  3. Confirm whether the service supports TCP wrappers and otherwise use supported host firewall or application ACL controls.
  4. Record key identity provenance alongside signature validation outcomes.
  5. Document legacy TCP-wrapper limitations and migrate network policy to supported controls.
  6. Review last or equivalent retained authentication logs for historical sessions.

Explanation

Correct Answers

B:

Test access from an allowed and denied client while observing the active enforcement mechanism. It distinguishes a genuine correction from a superficial edit that has not addressed the underlying cause: TCP wrappers affect only applications built to consult libwrap and do not serve as a universal host firewall.

C:

Confirm whether the service supports TCP wrappers and otherwise use supported host firewall or application ACL controls. It addresses the root cause, while Document legacy TCP-wrapper limitations and migrate network policy to supported controls. reduces future recurrence.

E:

Document legacy TCP-wrapper limitations and migrate network policy to supported controls. It preserves the corrective behavior established through: Confirm whether the service supports TCP wrappers and otherwise use supported host firewall or application ACL controls.

Incorrect Answers

A:

Compare w with who and confirm the intended sessions are present. belongs to a situation where Historical login tools alone do not enumerate current session commands and idle times. Here the evidence supports a different requirement: Test access from an allowed and denied client while observing the active enforcement mechanism.

D:

Record key identity provenance alongside signature validation outcomes. could help with gpg signature from unknown key; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Test access from an allowed and denied client while observing the active enforcement mechanism.

F:

This option assumes who lists current sessions; historical successful logins require a login-history facility such as last. The reported symptoms instead call for: Confirm whether the service supports TCP wrappers and otherwise use supported host firewall or application ACL controls.

Question 821

An old host exposes a diagnostic service whenever xinetd runs, although the underlying program was not started manually. Which failure condition fits the evidence without assuming an unrelated fault?

  1. A revocation certificate communicates that a key should no longer be trusted for future decisions.
  2. The client's known_hosts pin no longer matches the offered server host key, which can also signal interception.
  3. The matching public key must be authorized for that server account and file permissions must permit sshd to read it securely.
  4. A super-server such as xinetd launches enabled services in response to incoming connections.

Explanation

Correct Answer

D:

A super-server such as xinetd launches enabled services in response to incoming connections. Addressing the cause requires: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

Incorrect Answers

A:

It would address gpg revoked signing key rather than the present problem. The appropriate correction here is: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

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: Scan the service port after restart and inspect the active xinetd configuration.

C:

It would address user authorized ssh key rather than the present problem. The appropriate correction here is: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

Question 822

An old host exposes a diagnostic service whenever xinetd runs, although the underlying program was not started manually. Which remedial step follows from the observed mechanism?

  1. Generate or update a suitable ssh-keygen identity with a strong passphrase and keep the private key protected.
  2. Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.
  3. Use w to inspect current users, TTYs, idle times and active commands.
  4. Install the approved public key in the intended user's ~/.ssh/authorized_keys with secure ownership and permissions.

Explanation

Correct Answer

B:

Disable the relevant xinetd service entry and reload the appropriate supervisor configuration. This is appropriate because A super-server such as xinetd launches enabled services in response to incoming connections.

Incorrect Answers

A:

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 super-server such as xinetd launches enabled services in response to incoming connections.

C:

Historical login tools alone do not enumerate current session commands and idle times. That describes a different fault. Here, A super-server such as xinetd launches enabled services in response to incoming connections.

D:

Install the approved public key in the intended user's ~/.ssh/authorized_keys with secure ownership and permissions. belongs to a situation where The matching public key must be authorized for that server account and file permissions must permit sshd to read it securely. Here the evidence supports a different requirement: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

Question 823

An old host exposes a diagnostic service whenever xinetd runs, although the underlying program was not started manually. Which check would provide the strongest evidence that the fix worked?

  1. Verify the detached signature using gpg --verify and the independently trusted signer key.
  2. Scan the service port after restart and inspect the active xinetd configuration.
  3. Use ssh -v to inspect the authentication attempt and verify which server account is selected.
  4. Connect from the allowed bastion-side client and confirm traffic reaches the local development service.

Explanation

Correct Answer

B:

Scan the service port after restart and inspect the active xinetd configuration. It distinguishes a genuine correction from a superficial edit that has not addressed the underlying cause: A super-server such as xinetd launches enabled services in response to incoming connections.

Incorrect Answers

A:

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: Scan the service port after restart and inspect the active xinetd configuration.

C:

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 super-server such as xinetd launches enabled services in response to incoming connections.

D:

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 super-server such as xinetd launches enabled services in response to incoming connections.

Question 824

An old host exposes a diagnostic service whenever xinetd runs, although the underlying program was not started manually. What should the team standardize to prevent similar incidents?

  1. Manage resource limits in persistent policy rather than manual transient shell commands.
  2. Avoid unnecessary private-key copies and scope agent access to trusted sessions.
  3. Inventory super-server service definitions as part of hardening.
  4. Set and review sudo authentication-cache policy for sensitive shared administrative consoles.

Explanation

Correct Answer

C:

Inventory super-server service definitions as part of hardening. It prevents repetition of the condition: A super-server such as xinetd launches enabled services in response to incoming connections.

Incorrect Answers

A:

This belongs to shell process limits, where Unlimited user process creation can exhaust host resources; ulimit exposes shell limits for the current context. The current issue instead is: A super-server such as xinetd launches enabled services in response to incoming connections.

B:

This option assumes Running ssh-agent does not itself load a private key into the agent. The reported symptoms instead call for: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

D:

That choice responds to a sudo credential cache on shared console failure. In this incident, A super-server such as xinetd launches enabled services in response to incoming connections.

Question 825

An old host exposes a diagnostic service whenever xinetd runs, although the underlying program was not started manually. Choose TWO case-specific steps: one that fixes the issue and one that proves the result.

  1. Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.
  2. Audit effective privilege grants rather than relying on role names alone.
  3. Scan the service port after restart and inspect the active xinetd configuration.
  4. Run an authorized nmap scan from the designated assessment subnet against the approved target.
  5. Run ssh-add -l and verify an authenticated connection uses the loaded identity.

Explanation

Correct Answers

A:

Disable the relevant xinetd service entry and reload the appropriate supervisor configuration. It is the direct response; verify the result by: Scan the service port after restart and inspect the active xinetd configuration.

C:

Scan the service port after restart and inspect the active xinetd configuration. This check is tied to the expected behavior rather than mere process uptime.

Incorrect Answers

B:

It would address inspect effective sudo privilege rather than the present problem. The appropriate correction here is: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

D:

It would address external port scan scope rather than the present problem. The appropriate correction here is: Disable the relevant xinetd service entry and reload the appropriate supervisor configuration.

E:

Run ssh-add -l and verify an authenticated connection uses the loaded identity. belongs to a situation where Running ssh-agent does not itself load a private key into the agent. Here the evidence supports a different requirement: Scan the service port after restart and inspect the active xinetd configuration.

Question 826

A libwrap-enabled legacy daemon has a broad hosts.deny rule but still accepts a particular client from a matching hosts.allow entry. Which failure condition fits the evidence without assuming an unrelated fault?

  1. A private key without a protective passphrase increases exposure if its file is stolen.
  2. A signature may authenticate integrity but leaves ordinary plaintext visible without encryption.
  3. TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.
  4. A local SSH tunnel maps a local listening port to a host and port from the SSH server side.

Explanation

Correct Answer

C:

TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny. Addressing the cause requires: Tighten the allow entry or remove an unintended exception for that daemon and client.

Incorrect Answers

A:

It would address passphrase-protected key generation rather than the present problem. The appropriate correction here is: Tighten the allow entry or remove an unintended exception for that daemon and client.

B:

A signature may authenticate integrity but leaves ordinary plaintext visible without encryption. could help with gpg recipient encryption; it neither resolves nor demonstrates the current requirement. The distinguishing check is: Attempt access from the formerly matched client and review wrapper logs.

D:

The test for local port forwarding to internal database would be: Connect to localhost:localport and verify it reaches only the intended internal service. The relevant acceptance check here is: Attempt access from the formerly matched client and review wrapper logs.

Question 827

A libwrap-enabled legacy daemon has a broad hosts.deny rule but still accepts a particular client from a matching hosts.allow entry. 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 new server host key fingerprint out of band before updating the known_hosts entry.
  3. Tighten the allow entry or remove an unintended exception for that daemon and client.
  4. Create a digital signature with the author's appropriate GPG private key and distribute the verification key securely.

Explanation

Correct Answer

C:

Tighten the allow entry or remove an unintended exception for that daemon and client. It addresses the root cause, while Review allow and deny policies together when maintaining legacy libwrap services. reduces future recurrence.

Incorrect Answers

A:

sudo may cache recent authentication for a policy-defined period, and that timestamp is independent of account password expiry. That describes a different fault. Here, TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

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: Attempt access from the formerly matched client and review wrapper logs.

D:

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: Attempt access from the formerly matched client and review wrapper logs.

Question 828

A libwrap-enabled legacy daemon has a broad hosts.deny rule but still accepts a particular client from a matching hosts.allow entry. Which observation should be used for acceptance testing?

  1. Run ssh-add -l and verify an authenticated connection uses the loaded identity.
  2. Inspect ssh -G for forwardagent on the intended host and confirm that no agent socket is forwarded during the bastion session.
  3. Verify the detached signature using gpg --verify and the independently trusted signer key.
  4. Attempt access from the formerly matched client and review wrapper logs.

Explanation

Correct Answer

D:

Attempt access from the formerly matched client and review wrapper logs. This check is tied to the expected behavior rather than mere process uptime.

Incorrect Answers

A:

That choice responds to a ssh agent does not contain key failure. In this incident, TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

B:

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, TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

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: Attempt access from the formerly matched client and review wrapper logs.

Question 829

A libwrap-enabled legacy daemon has a broad hosts.deny rule but still accepts a particular client from a matching hosts.allow entry. What longer-term control best supports this requirement?

  1. Require syntax validation and least-privilege rule reviews for sudo policy changes.
  2. Review allow and deny policies together when maintaining legacy libwrap services.
  3. Distinguish confidentiality, integrity and author authentication in evidence workflows.
  4. Default ForwardAgent to no and grant any exception only to an explicitly trusted intermediate host.

Explanation

Correct Answer

B:

Review allow and deny policies together when maintaining legacy libwrap services. This control detects or prevents the same mechanism before another incident.

Incorrect Answers

A:

That choice responds to a edit sudo policy safely failure. In this incident, TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

C:

That choice responds to a gpg sign versus encrypt failure. In this incident, TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

D:

Default ForwardAgent to no and grant any exception only to an explicitly trusted intermediate host. belongs to a situation where Forwarding an SSH agent exposes its authentication socket to processes with sufficient privilege on the remote host while the connection is active. Here the evidence supports a different requirement: Review allow and deny policies together when maintaining legacy libwrap services.

Question 830

A libwrap-enabled legacy daemon has a broad hosts.deny rule but still accepts a particular client from a matching hosts.allow entry. Select THREE measures that follow directly from the root cause and lifecycle risk.

  1. Audit effective privilege grants rather than relying on role names alone.
  2. Publish an appropriate GPG key revocation and distribute the replacement trust path.
  3. Attempt access from the formerly matched client and review wrapper logs.
  4. Connect to localhost:localport and verify it reaches only the intended internal service.
  5. Review allow and deny policies together when maintaining legacy libwrap services.
  6. Tighten the allow entry or remove an unintended exception for that daemon and client.

Explanation

Correct Answers

C:

Attempt access from the formerly matched client and review wrapper logs. The observation confirms the diagnosis or falsifies it before declaring the incident resolved.

E:

Review allow and deny policies together when maintaining legacy libwrap services. It makes the outcome of the targeted repair (Tighten the allow entry or remove an unintended exception for that daemon and client.) repeatable.

F:

Tighten the allow entry or remove an unintended exception for that daemon and client. It addresses the root cause, while Review allow and deny policies together when maintaining legacy libwrap services. reduces future recurrence.

Incorrect Answers

A:

This option assumes Group membership or an assertion is not sufficient evidence of the actual sudoers permissions. The reported symptoms instead call for: Tighten the allow entry or remove an unintended exception for that daemon and client.

B:

It would address gpg revoked signing key rather than the present problem. The appropriate correction here is: Tighten the allow entry or remove an unintended exception for that daemon and client.

D:

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: TCP wrappers normally evaluate a matching hosts.allow rule before hosts.deny.

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.