LPI 102-500 Practice Test 85 - Prepaway
Practice Exams:

Pass LPI 102-500 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$29.98
$79.99 $109.97

102-500 Premium Bundle


  • Premium File 120 Questions & Answers. Last update: Nov 13, 2026
  • Training Course 126 Lectures
  • Study Guide 962 Pages

LPI 102-500 Practice Test 85

Question 840

At fictional Redridge Insurance, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: A host hardening script writes /etc/hosts.deny rules but a modern system service remains exposed to untrusted connections. The decisive evidence is: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic. Which paired action and independent proof BEST satisfies the requirement?

  1. For Redridge Insurance, the Linux support team should: Scoped correction: Investigate the binary's provenance and remove or correct excessive privilege and directory access under change control. Independent acceptance: A repeat inventory matches the approved SUID baseline and ordinary users cannot alter the helper.
  2. For Redridge Insurance, the Linux support team should: Scoped correction: Start or connect to an approved ssh-agent and add the intended key with appropriate key-handling practices. Independent acceptance: An authorized SSH connection succeeds using the expected offered identity without exposing key material.
  3. For Redridge Insurance, the Linux support team should: Scoped correction: Import verified current key material and revocation status and reject signatures made by a revoked signer under policy. Independent acceptance: A test signature from the revoked key is rejected while a trusted current signer validates correctly.
  4. For Redridge Insurance, the Linux support team should: Scoped correction: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. Independent acceptance: A permitted client can connect and a prohibited client is denied in a controlled network test.

Explanation

Correct Answer

D:

To close the incident, demonstrate that a permitted client can connect and a prohibited client is denied in a controlled network test. That addresses the active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic and reflects the rule that TCP wrappers only affect programs that support them and do not replace kernel firewall policy. In Redridge Insurance, a host hardening script writes /etc/hosts.deny rules but a modern system service remains exposed to untrusted connections.

Incorrect Answers

A:

A test that scoped correction: Investigate the binary's provenance and remove or correct excessive privilege and directory access under change control. Independent acceptance: A repeat inventory matches the approved SUID baseline and ordinary users cannot alter the helper would not demonstrate closure of this condition. The needed proof is a permitted client can connect and a prohibited client is denied in a controlled network test. In Redridge Insurance, a host hardening script writes /etc/hosts.deny rules but a modern system service remains exposed to untrusted connections.

B:

Scoped correction: Start or connect to an approved ssh-agent and add the intended key with appropriate key-handling practices. Independent acceptance: An authorized SSH connection succeeds using the expected offered identity without exposing key material. That does not demonstrate the case-specific success condition: a permitted client can connect and a prohibited client is denied in a controlled network test. TCP wrappers only affect programs that support them and do not replace kernel firewall policy. In Redridge Insurance, a host hardening script writes /etc/hosts.deny rules but a modern system service remains exposed to untrusted connections.

C:

Scoped correction: Import verified current key material and revocation status and reject signatures made by a revoked signer under policy. Independent acceptance: A test signature from the revoked key is rejected while a trusted current signer validates correctly. That result does not test the original problem, identified by the active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic. Recovery must show that a permitted client can connect and a prohibited client is denied in a controlled network test. In Redridge Insurance, a host hardening script writes /etc/hosts.deny rules but a modern system service remains exposed to untrusted connections.

Question 841

At fictional Harborview Library, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The diagnostic evidence is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Which bounded step BEST resolves the described problem?

  1. For Harborview Library, the Linux support team should: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.
  2. For Harborview Library, the Linux support team should: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions.
  3. For Harborview Library, the Linux support team should: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability.
  4. For Harborview Library, the Linux support team should: Disable or mask the unused service and its associated socket units under the host security baseline.

Explanation

Correct Answer

A:

The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. SSH host keys authenticate the server and help detect man-in-the-middle substitution. The case-specific correction is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. Preserve this constraint during the change: Never use StrictHostKeyChecking=no as a blanket answer to unexpected host-key changes.

Incorrect Answers

B:

Another possible response is to edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. The case evidence instead shows that the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

C:

Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. This does not address the reported incident: an administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The case-specific correction is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

D:

One alternative would be to disable or mask the unused service and its associated socket units under the host security baseline. The observed evidence instead shows that the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The more relevant correction is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Question 842

At fictional Harborview Library, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. Which observation MOST directly supports the underlying diagnosis before any changes are made?

  1. The deciding Linux diagnostic evidence for Harborview Library is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path.
  2. The deciding Linux diagnostic evidence for Harborview Library is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed.
  3. The deciding Linux diagnostic evidence for Harborview Library is: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic.
  4. The deciding Linux diagnostic evidence for Harborview Library is: systemctl lists a matching active socket unit that can activate the service on demand.

Explanation

Correct Answer

B:

The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. That observation distinguishes the reported incident because SSH host keys authenticate the server and help detect man-in-the-middle substitution. The appropriate response is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Incorrect Answers

A:

A competing Linux diagnostic finding for Harborview Library is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path. It does not account for the observation the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed in the reported situation.

C:

At Harborview Library, another diagnostic finding is: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic. This would indicate another failure; here the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

D:

At Harborview Library, a different observation is: systemctl lists a matching active socket unit that can activate the service on demand. It concerns another dependency. This incident is distinguished by the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

Question 843

At fictional Harborview Library, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The proposed intervention is: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. Which independent result BEST demonstrates a successful correction?

  1. The independent acceptance evidence for Harborview Library is: The operator can perform the authorized restart but an unrelated root command is denied.
  2. The independent acceptance evidence for Harborview Library is: A permitted client can connect and a prohibited client is denied in a controlled network test.
  3. The independent acceptance evidence for Harborview Library is: A newly verified connection accepts the approved host identity and a substituted key remains rejected.
  4. The independent acceptance evidence for Harborview Library is: A controlled connection cannot activate the retired service and approved services remain available.

Explanation

Correct Answer

C:

Verify the change by checking that a newly verified connection accepts the approved host identity and a substituted key remains rejected. The original clue was the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The test is meaningful because SSH host keys authenticate the server and help detect man-in-the-middle substitution.

Incorrect Answers

A:

At Harborview Library, another acceptance finding might be: The operator can perform the authorized restart but an unrelated root command is denied. That would still leave the reported failure unproven. An acceptance test must show that a newly verified connection accepts the approved host identity and a substituted key remains rejected.

B:

At Harborview Library, a different acceptance result would be: A permitted client can connect and a prohibited client is denied in a controlled network test. It may validate a separate setting, but not the required action: verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. The required observation is a newly verified connection accepts the approved host identity and a substituted key remains rejected.

D:

The independent acceptance evidence for Harborview Library is: A controlled connection cannot activate the retired service and approved services remain available. The evidence relevant to this incident is the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Confirm the corresponding recovery result: A newly verified connection accepts the approved host identity and a substituted key remains rejected.

Question 844

At fictional Harborview Library, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The relevant evidence is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Which Linux administration principle MOST accurately explains the correct response?

  1. The relevant Linux system principle for Harborview Library is: sudo configuration grants scoped administrative execution and requires careful syntax validation.
  2. The relevant Linux system principle for Harborview Library is: TCP wrappers only affect programs that support them and do not replace kernel firewall policy.
  3. The relevant Linux system principle for Harborview Library is: Systemd socket activation can start a service without its main daemon running continuously.
  4. The relevant Linux system principle for Harborview Library is: SSH host keys authenticate the server and help detect man-in-the-middle substitution.

Explanation

Correct Answer

D:

The underlying rule is that SSH host keys authenticate the server and help detect man-in-the-middle substitution. The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. A suitable correction is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Incorrect Answers

A:

A competing Linux principle for Harborview Library is: sudo configuration grants scoped administrative execution and requires careful syntax validation. The decisive observation, the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed, requires a different explanation: SSH host keys authenticate the server and help detect man-in-the-middle substitution.

B:

A different principle is: the relevant Linux system principle for Harborview Library is: TCP wrappers only affect programs that support them and do not replace kernel firewall policy. The causal link actually supported by the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed is SSH host keys authenticate the server and help detect man-in-the-middle substitution.

C:

A competing Linux principle for Harborview Library is: Systemd socket activation can start a service without its main daemon running continuously. However, it does not explain the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The applicable principle is that SSH host keys authenticate the server and help detect man-in-the-middle substitution.

Question 845

At fictional Harborview Library, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The decisive evidence is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Which paired action and independent proof BEST satisfies the requirement?

  1. For Harborview Library, the Linux support team should: Scoped correction: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. Independent acceptance: A newly verified connection accepts the approved host identity and a substituted key remains rejected.
  2. For Harborview Library, the Linux support team should: Scoped correction: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. Independent acceptance: The operator can perform the authorized restart but an unrelated root command is denied.
  3. For Harborview Library, the Linux support team should: Scoped correction: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. Independent acceptance: A permitted client can connect and a prohibited client is denied in a controlled network test.
  4. For Harborview Library, the Linux support team should: Scoped correction: Disable or mask the unused service and its associated socket units under the host security baseline. Independent acceptance: A controlled connection cannot activate the retired service and approved services remain available.

Explanation

Correct Answer

A:

The acceptance evidence is a newly verified connection accepts the approved host identity and a substituted key remains rejected. This checks the intended outcome of verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

Incorrect Answers

B:

Even verifying scoped correction: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. Independent acceptance: The operator can perform the authorized restart but an unrelated root command is denied leaves the reported failure unproven. An acceptance test must show that a newly verified connection accepts the approved host identity and a substituted key remains rejected.

C:

The alternative outcome is scoped correction: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. Independent acceptance: A permitted client can connect and a prohibited client is denied in a controlled network test. It may validate a separate setting, but not the required action: verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. The required observation is a newly verified connection accepts the approved host identity and a substituted key remains rejected.

D:

Scoped correction: Disable or mask the unused service and its associated socket units under the host security baseline. Independent acceptance: A controlled connection cannot activate the retired service and approved services remain available. The evidence relevant to this incident is the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Confirm the corresponding recovery result: A newly verified connection accepts the approved host identity and a substituted key remains rejected.

Question 846

At fictional Oakridge Services, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The diagnostic evidence is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Which bounded step BEST resolves the described problem?

  1. For Oakridge Services, the Linux support team should: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions.
  2. For Oakridge Services, the Linux support team should: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.
  3. For Oakridge Services, the Linux support team should: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability.
  4. For Oakridge Services, the Linux support team should: Disable or mask the unused service and its associated socket units under the host security baseline.

Explanation

Correct Answer

B:

An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The clue the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed supports the bounded action: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. Confirm that a newly verified connection accepts the approved host identity and a substituted key remains rejected. Preserve this constraint during the change: Never use StrictHostKeyChecking=no as a blanket answer to unexpected host-key changes.

Incorrect Answers

A:

Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. It could be useful for another problem, but it does not change the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The response needs to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

C:

An alternative action is use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. This incident instead involves the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Confirm the scoped change through a newly verified connection accepts the approved host identity and a substituted key remains rejected.

D:

Disable or mask the unused service and its associated socket units under the host security baseline. That would not correct the reported the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The supported response is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Question 847

At fictional Oakridge Services, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. Which observation MOST directly supports the underlying diagnosis before any changes are made?

  1. The deciding Linux diagnostic evidence for Oakridge Services is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path.
  2. The deciding Linux diagnostic evidence for Oakridge Services is: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic.
  3. The deciding Linux diagnostic evidence for Oakridge Services is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed.
  4. The deciding Linux diagnostic evidence for Oakridge Services is: systemctl lists a matching active socket unit that can activate the service on demand.

Explanation

Correct Answer

C:

The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. SSH host keys authenticate the server and help detect man-in-the-middle substitution. This finding supports the targeted response: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Incorrect Answers

A:

A competing Linux diagnostic finding for Oakridge Services is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path. That finding does not isolate the reported issue: an administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The determining evidence is the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed.

B:

At Oakridge Services, that alternative suggests: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic. The actual diagnostic record shows the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed instead. The difference matters because SSH host keys authenticate the server and help detect man-in-the-middle substitution.

D:

At Oakridge Services, another potential finding is: systemctl lists a matching active socket unit that can activate the service on demand. That would not establish the cause here. The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. The case-specific correction is to verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Question 848

At fictional Oakridge Services, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The proposed intervention is: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. Which independent result BEST demonstrates a successful correction?

  1. The independent acceptance evidence for Oakridge Services is: The operator can perform the authorized restart but an unrelated root command is denied.
  2. The independent acceptance evidence for Oakridge Services is: A permitted client can connect and a prohibited client is denied in a controlled network test.
  3. The independent acceptance evidence for Oakridge Services is: A controlled connection cannot activate the retired service and approved services remain available.
  4. The independent acceptance evidence for Oakridge Services is: A newly verified connection accepts the approved host identity and a substituted key remains rejected.

Explanation

Correct Answer

D:

A newly verified connection accepts the approved host identity and a substituted key remains rejected. This measures whether the response corrected the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed rather than merely completing a configuration step.

Incorrect Answers

A:

A separate test at Oakridge Services could show: The operator can perform the authorized restart but an unrelated root command is denied. That would not demonstrate closure of this condition. The needed proof is a newly verified connection accepts the approved host identity and a substituted key remains rejected.

B:

The independent acceptance evidence for Oakridge Services is: A permitted client can connect and a prohibited client is denied in a controlled network test. That does not demonstrate the case-specific success condition: a newly verified connection accepts the approved host identity and a substituted key remains rejected. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

C:

The independent acceptance evidence for Oakridge Services is: A controlled connection cannot activate the retired service and approved services remain available. That result does not test the original problem, identified by the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Recovery must show that a newly verified connection accepts the approved host identity and a substituted key remains rejected.

Question 849

At fictional Oakridge Services, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The relevant evidence is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Which Linux administration principle MOST accurately explains the correct response?

  1. The relevant Linux system principle for Oakridge Services is: SSH host keys authenticate the server and help detect man-in-the-middle substitution.
  2. The relevant Linux system principle for Oakridge Services is: sudo configuration grants scoped administrative execution and requires careful syntax validation.
  3. The relevant Linux system principle for Oakridge Services is: TCP wrappers only affect programs that support them and do not replace kernel firewall policy.
  4. The relevant Linux system principle for Oakridge Services is: Systemd socket activation can start a service without its main daemon running continuously.

Explanation

Correct Answer

A:

SSH host keys authenticate the server and help detect man-in-the-middle substitution. The reported symptom arises where the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Address it through verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts.

Incorrect Answers

B:

At Oakridge Services, another Linux system principle is: sudo configuration grants scoped administrative execution and requires careful syntax validation. The present evidence is the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed, which instead follows from SSH host keys authenticate the server and help detect man-in-the-middle substitution.

C:

A competing Linux principle for Oakridge Services is: TCP wrappers only affect programs that support them and do not replace kernel firewall policy. This describes another relationship, not the cause of an administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

D:

At Oakridge Services, a different Linux system principle is: Systemd socket activation can start a service without its main daemon running continuously does not account for the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. This case is governed by SSH host keys authenticate the server and help detect man-in-the-middle substitution.

Question 850

At fictional Oakridge Services, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: An administrator receives a changed SSH host-key warning after a server is rebuilt and is tempted to disable verification. The decisive evidence is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Which paired action and independent proof BEST satisfies the requirement?

  1. For Oakridge Services, the Linux support team should: Scoped correction: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. Independent acceptance: The operator can perform the authorized restart but an unrelated root command is denied.
  2. For Oakridge Services, the Linux support team should: Scoped correction: Verify the new server host key fingerprint through a trusted out-of-band channel before updating known_hosts. Independent acceptance: A newly verified connection accepts the approved host identity and a substituted key remains rejected.
  3. For Oakridge Services, the Linux support team should: Scoped correction: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. Independent acceptance: A permitted client can connect and a prohibited client is denied in a controlled network test.
  4. For Oakridge Services, the Linux support team should: Scoped correction: Disable or mask the unused service and its associated socket units under the host security baseline. Independent acceptance: A controlled connection cannot activate the retired service and approved services remain available.

Explanation

Correct Answer

B:

A newly verified connection accepts the approved host identity and a substituted key remains rejected. Without that result, the finding the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed would remain unresolved.

Incorrect Answers

A:

A test that scoped correction: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. Independent acceptance: The operator can perform the authorized restart but an unrelated root command is denied would not demonstrate closure of this condition. The needed proof is a newly verified connection accepts the approved host identity and a substituted key remains rejected.

C:

Scoped correction: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. Independent acceptance: A permitted client can connect and a prohibited client is denied in a controlled network test. That does not demonstrate the case-specific success condition: a newly verified connection accepts the approved host identity and a substituted key remains rejected. SSH host keys authenticate the server and help detect man-in-the-middle substitution.

D:

Scoped correction: Disable or mask the unused service and its associated socket units under the host security baseline. Independent acceptance: A controlled connection cannot activate the retired service and approved services remain available. That result does not test the original problem, identified by the recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed. Recovery must show that a newly verified connection accepts the approved host identity and a substituted key remains rejected.

LPI Level 1 (102-500) Practice Tests