LPI 102-500 Practice Test 78 - 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 78

Question 770

At fictional Sunnyside Labs, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: A support operator receives permission to execute every root command when only one service restart was approved. Which observation MOST directly supports the underlying diagnosis before any changes are made?

  1. The deciding Linux diagnostic evidence for Sunnyside Labs is: The recorded known_hosts fingerprint differs from the presented key and the host replacement record is unconfirmed.
  2. The deciding Linux diagnostic evidence for Sunnyside Labs is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path.
  3. The deciding Linux diagnostic evidence for Sunnyside Labs is: Permission inspection shows /etc/shadow accessible to users outside the intended privileged account context.
  4. The deciding Linux diagnostic evidence for Sunnyside Labs is: /etc/nologin remains present with an obsolete maintenance message while the system otherwise operates correctly.

Explanation

Correct Answer

B:

A sudoers entry contains an unrestricted command list instead of the intended narrow program path. That observation distinguishes the reported incident because sudo configuration grants scoped administrative execution and requires careful syntax validation. The appropriate response is to edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

Incorrect Answers

A:

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

C:

At Sunnyside Labs, another diagnostic finding is: Permission inspection shows /etc/shadow accessible to users outside the intended privileged account context. This would indicate another failure; here a sudoers entry contains an unrestricted command list instead of the intended narrow program path. Sudo configuration grants scoped administrative execution and requires careful syntax validation.

D:

At Sunnyside Labs, a different observation is: /etc/nologin remains present with an obsolete maintenance message while the system otherwise operates correctly. It concerns another dependency. This incident is distinguished by a sudoers entry contains an unrestricted command list instead of the intended narrow program path. Sudo configuration grants scoped administrative execution and requires careful syntax validation.

Question 771

At fictional Sunnyside Labs, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: A support operator receives permission to execute every root command when only one service restart was approved. The proposed intervention is: Edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. Which independent result BEST demonstrates a successful correction?

  1. The independent acceptance evidence for Sunnyside Labs is: A newly verified connection accepts the approved host identity and a substituted key remains rejected.
  2. The independent acceptance evidence for Sunnyside Labs is: A test unprivileged account cannot read password hashes and normal authentication continues functioning.
  3. The independent acceptance evidence for Sunnyside Labs is: The operator can perform the authorized restart but an unrelated root command is denied.
  4. The independent acceptance evidence for Sunnyside Labs is: An authorized normal account can authenticate again and an unapproved account is still rejected by policy.

Explanation

Correct Answer

C:

Verify the change by checking that the operator can perform the authorized restart but an unrelated root command is denied. The original clue was a sudoers entry contains an unrestricted command list instead of the intended narrow program path. The test is meaningful because sudo configuration grants scoped administrative execution and requires careful syntax validation. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

Incorrect Answers

A:

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

B:

At Sunnyside Labs, a different acceptance result would be: A test unprivileged account cannot read password hashes and normal authentication continues functioning. It may validate a separate setting, but not the required action: edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. The required observation is the operator can perform the authorized restart but an unrelated root command is denied.

D:

The independent acceptance evidence for Sunnyside Labs is: An authorized normal account can authenticate again and an unapproved account is still rejected by policy. The evidence relevant to this incident is a sudoers entry contains an unrestricted command list instead of the intended narrow program path. Confirm the corresponding recovery result: The operator can perform the authorized restart but an unrelated root command is denied.

Question 772

At fictional Sunnyside Labs, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: A support operator receives permission to execute every root command when only one service restart was approved. The relevant evidence is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path. Which Linux administration principle MOST accurately explains the correct response?

  1. The relevant Linux system principle for Sunnyside Labs is: SSH host keys authenticate the server and help detect man-in-the-middle substitution.
  2. The relevant Linux system principle for Sunnyside Labs is: Linux shadow password storage separates sensitive hash data from publicly readable account attributes.
  3. The relevant Linux system principle for Sunnyside Labs is: The /etc/nologin mechanism can restrict nonroot interactive logins during planned maintenance.
  4. The relevant Linux system principle for Sunnyside Labs is: sudo configuration grants scoped administrative execution and requires careful syntax validation.

Explanation

Correct Answer

D:

The underlying rule is that sudo configuration grants scoped administrative execution and requires careful syntax validation. A sudoers entry contains an unrestricted command list instead of the intended narrow program path. A suitable correction is to edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

Incorrect Answers

A:

A competing Linux principle for Sunnyside Labs is: SSH host keys authenticate the server and help detect man-in-the-middle substitution. The decisive observation, a sudoers entry contains an unrestricted command list instead of the intended narrow program path, requires a different explanation: sudo configuration grants scoped administrative execution and requires careful syntax validation.

B:

A different principle is: the relevant Linux system principle for Sunnyside Labs is: Linux shadow password storage separates sensitive hash data from publicly readable account attributes. The causal link actually supported by a sudoers entry contains an unrestricted command list instead of the intended narrow program path is sudo configuration grants scoped administrative execution and requires careful syntax validation.

C:

A competing Linux principle for Sunnyside Labs is: The /etc/nologin mechanism can restrict nonroot interactive logins during planned maintenance. However, it does not explain a sudoers entry contains an unrestricted command list instead of the intended narrow program path. The applicable principle is that sudo configuration grants scoped administrative execution and requires careful syntax validation.

Question 773

At fictional Sunnyside Labs, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: A support operator receives permission to execute every root command when only one service restart was approved. The decisive evidence is: A sudoers entry contains an unrestricted command list instead of the intended narrow program path. Which paired action and independent proof BEST satisfies the requirement?

  1. For Sunnyside Labs, 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 Sunnyside Labs, 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 Sunnyside Labs, the Linux support team should: Scoped correction: Restore distribution-appropriate shadow ownership and restrictive permissions and review potential disclosure. Independent acceptance: A test unprivileged account cannot read password hashes and normal authentication continues functioning.
  4. For Sunnyside Labs, the Linux support team should: Scoped correction: Remove or update the maintenance login restriction only after confirming the approved reopening time. Independent acceptance: An authorized normal account can authenticate again and an unapproved account is still rejected by policy.

Explanation

Correct Answer

A:

The acceptance evidence is the operator can perform the authorized restart but an unrelated root command is denied. This checks the intended outcome of edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. Sudo configuration grants scoped administrative execution and requires careful syntax validation. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

Incorrect Answers

B:

Even verifying 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 leaves the reported failure unproven. An acceptance test must show that the operator can perform the authorized restart but an unrelated root command is denied. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

C:

The alternative outcome is scoped correction: Restore distribution-appropriate shadow ownership and restrictive permissions and review potential disclosure. Independent acceptance: A test unprivileged account cannot read password hashes and normal authentication continues functioning. It may validate a separate setting, but not the required action: edit and validate a least-privilege sudoers rule with visudo and specific command restrictions. The required observation is the operator can perform the authorized restart but an unrelated root command is denied. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

D:

Scoped correction: Remove or update the maintenance login restriction only after confirming the approved reopening time. Independent acceptance: An authorized normal account can authenticate again and an unapproved account is still rejected by policy. The evidence relevant to this incident is a sudoers entry contains an unrestricted command list instead of the intended narrow program path. Confirm the corresponding recovery result: The operator can perform the authorized restart but an unrelated root command is denied. In Sunnyside Labs, a support operator receives permission to execute every root command when only one service restart was approved.

Question 774

At fictional Stonebridge Council, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. The diagnostic evidence is: The process ulimit -n is lower than the expected simultaneous file and socket count. Which bounded step BEST resolves the described problem?

  1. For Stonebridge Council, the Linux support team should: Restore appropriate owner and restrictive permissions and validate authorized public-key placement.
  2. For Stonebridge Council, the Linux support team should: Apply an approved per-service open-file limit and check system-wide file limits and resource usage.
  3. For Stonebridge Council, the Linux support team should: Disable or mask the unused service and its associated socket units under the host security baseline.
  4. For Stonebridge Council, the Linux support team should: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability.

Explanation

Correct Answer

B:

A log collector fails with too many open files under bursty load despite free system memory. The clue the process ulimit -n is lower than the expected simultaneous file and socket count supports the bounded action: Apply an approved per-service open-file limit and check system-wide file limits and resource usage. Confirm that a representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

Incorrect Answers

A:

Restore appropriate owner and restrictive permissions and validate authorized public-key placement. It could be useful for another problem, but it does not change the process ulimit -n is lower than the expected simultaneous file and socket count. The response needs to apply an approved per-service open-file limit and check system-wide file limits and resource usage.

C:

An alternative action is disable or mask the unused service and its associated socket units under the host security baseline. This incident instead involves the process ulimit -n is lower than the expected simultaneous file and socket count. Confirm the scoped change through a representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

D:

Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. That would not correct the reported the process ulimit -n is lower than the expected simultaneous file and socket count. The supported response is to apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Question 775

At fictional Stonebridge Council, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. Which observation MOST directly supports the underlying diagnosis before any changes are made?

  1. The deciding Linux diagnostic evidence for Stonebridge Council is: The SSH server log reports unsafe permissions on the user's home or .ssh/authorized_keys path.
  2. The deciding Linux diagnostic evidence for Stonebridge Council is: systemctl lists a matching active socket unit that can activate the service on demand.
  3. The deciding Linux diagnostic evidence for Stonebridge Council is: The process ulimit -n is lower than the expected simultaneous file and socket count.
  4. The deciding Linux diagnostic evidence for Stonebridge Council is: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic.

Explanation

Correct Answer

C:

The process ulimit -n is lower than the expected simultaneous file and socket count. Per-process resource limits can constrain workloads independently of physical system capacity. This finding supports the targeted response: Apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Incorrect Answers

A:

A competing Linux diagnostic finding for Stonebridge Council is: The SSH server log reports unsafe permissions on the user's home or .ssh/authorized_keys path. That finding does not isolate the reported issue: a log collector fails with too many open files under bursty load despite free system memory. The determining evidence is the process ulimit -n is lower than the expected simultaneous file and socket count.

B:

At Stonebridge Council, that alternative suggests: systemctl lists a matching active socket unit that can activate the service on demand. The actual diagnostic record shows the process ulimit -n is lower than the expected simultaneous file and socket count instead. The difference matters because Per-process resource limits can constrain workloads independently of physical system capacity.

D:

At Stonebridge Council, another potential finding is: The active daemon is not linked with TCP wrappers and its systemd socket or firewall policy permits the traffic. That would not establish the cause here. The process ulimit -n is lower than the expected simultaneous file and socket count. The case-specific correction is to apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Question 776

At fictional Stonebridge Council, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. The proposed intervention is: Apply an approved per-service open-file limit and check system-wide file limits and resource usage. Which independent result BEST demonstrates a successful correction?

  1. The independent acceptance evidence for Stonebridge Council is: The approved key logs in while an unrelated public key remains rejected.
  2. The independent acceptance evidence for Stonebridge Council is: A controlled connection cannot activate the retired service and approved services remain available.
  3. The independent acceptance evidence for Stonebridge Council is: A permitted client can connect and a prohibited client is denied in a controlled network test.
  4. The independent acceptance evidence for Stonebridge Council is: A representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

Explanation

Correct Answer

D:

A representative load processes the expected connections within monitored limits without unrelated resource exhaustion. This measures whether the response corrected the process ulimit -n is lower than the expected simultaneous file and socket count rather than merely completing a configuration step.

Incorrect Answers

A:

A separate test at Stonebridge Council could show: The approved key logs in while an unrelated public key remains rejected. That would not demonstrate closure of this condition. The needed proof is a representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

B:

The independent acceptance evidence for Stonebridge Council is: A controlled connection cannot activate the retired service and approved services remain available. That does not demonstrate the case-specific success condition: a representative load processes the expected connections within monitored limits without unrelated resource exhaustion. Per-process resource limits can constrain workloads independently of physical system capacity.

C:

The independent acceptance evidence for Stonebridge Council is: A permitted client can connect and a prohibited client is denied in a controlled network test. That result does not test the original problem, identified by the process ulimit -n is lower than the expected simultaneous file and socket count. Recovery must show that a representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

Question 777

At fictional Stonebridge Council, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. The relevant evidence is: The process ulimit -n is lower than the expected simultaneous file and socket count. Which Linux administration principle MOST accurately explains the correct response?

  1. The relevant Linux system principle for Stonebridge Council is: Per-process resource limits can constrain workloads independently of physical system capacity.
  2. The relevant Linux system principle for Stonebridge Council is: OpenSSH enforces ownership and permission constraints around public-key authorization files.
  3. The relevant Linux system principle for Stonebridge Council is: Systemd socket activation can start a service without its main daemon running continuously.
  4. The relevant Linux system principle for Stonebridge Council is: TCP wrappers only affect programs that support them and do not replace kernel firewall policy.

Explanation

Correct Answer

A:

Per-process resource limits can constrain workloads independently of physical system capacity. The reported symptom arises where the process ulimit -n is lower than the expected simultaneous file and socket count. Address it through apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Incorrect Answers

B:

At Stonebridge Council, another Linux system principle is: OpenSSH enforces ownership and permission constraints around public-key authorization files. The present evidence is the process ulimit -n is lower than the expected simultaneous file and socket count, which instead follows from Per-process resource limits can constrain workloads independently of physical system capacity.

C:

A competing Linux principle for Stonebridge Council is: Systemd socket activation can start a service without its main daemon running continuously. This describes another relationship, not the cause of a log collector fails with too many open files under bursty load despite free system memory. Per-process resource limits can constrain workloads independently of physical system capacity.

D:

At Stonebridge Council, a different Linux system principle is: TCP wrappers only affect programs that support them and do not replace kernel firewall policy does not account for the process ulimit -n is lower than the expected simultaneous file and socket count. This case is governed by Per-process resource limits can constrain workloads independently of physical system capacity.

Question 778

At fictional Stonebridge Council, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. The decisive evidence is: The process ulimit -n is lower than the expected simultaneous file and socket count. Which paired action and independent proof BEST satisfies the requirement?

  1. For Stonebridge Council, the Linux support team should: Scoped correction: Restore appropriate owner and restrictive permissions and validate authorized public-key placement. Independent acceptance: The approved key logs in while an unrelated public key remains rejected.
  2. For Stonebridge Council, the Linux support team should: Scoped correction: Apply an approved per-service open-file limit and check system-wide file limits and resource usage. Independent acceptance: A representative load processes the expected connections within monitored limits without unrelated resource exhaustion.
  3. For Stonebridge Council, 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.
  4. For Stonebridge Council, 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

B:

A representative load processes the expected connections within monitored limits without unrelated resource exhaustion. Without that result, the finding the process ulimit -n is lower than the expected simultaneous file and socket count would remain unresolved.

Incorrect Answers

A:

A test that scoped correction: Restore appropriate owner and restrictive permissions and validate authorized public-key placement. Independent acceptance: The approved key logs in while an unrelated public key remains rejected would not demonstrate closure of this condition. The needed proof is a representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

C:

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 does not demonstrate the case-specific success condition: a representative load processes the expected connections within monitored limits without unrelated resource exhaustion. Per-process resource limits can constrain workloads independently of physical system capacity.

D:

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 result does not test the original problem, identified by the process ulimit -n is lower than the expected simultaneous file and socket count. Recovery must show that a representative load processes the expected connections within monitored limits without unrelated resource exhaustion.

Question 779

At fictional Stonebridge Council, the Linux security administration team is working during a controlled system-configuration acceptance test. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. The correct action has been proposed as: Apply an approved per-service open-file limit and check system-wide file limits and resource usage. Which operational limitation should the administrator MOST carefully preserve?

  1. The important Linux maintenance caveat for Stonebridge Council is: Do not make private key material readable to others while repairing server-side key permissions.
  2. The important Linux maintenance caveat for Stonebridge Council is: Do not mask shared sockets without checking dependent services.
  3. The important Linux maintenance caveat for Stonebridge Council is: Raising limits without investigating descriptor leaks can mask a software defect.
  4. The important Linux maintenance caveat for Stonebridge Council is: Avoid claiming /etc/hosts.deny protects every Linux network service on modern distributions.

Explanation

Correct Answer

C:

The case reveals the process ulimit -n is lower than the expected simultaneous file and socket count. That matters because Per-process resource limits can constrain workloads independently of physical system capacity. The corrective step is to apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Incorrect Answers

A:

Another possible response is to the important Linux maintenance caveat for Stonebridge Council is: Do not make private key material readable to others while repairing server-side key permissions. The case evidence instead shows that the process ulimit -n is lower than the expected simultaneous file and socket count. Per-process resource limits can constrain workloads independently of physical system capacity.

B:

The important Linux maintenance caveat for Stonebridge Council is: Do not mask shared sockets without checking dependent services. This does not address the reported incident: a log collector fails with too many open files under bursty load despite free system memory. The process ulimit -n is lower than the expected simultaneous file and socket count. The case-specific correction is to apply an approved per-service open-file limit and check system-wide file limits and resource usage.

D:

One alternative would be to the important Linux maintenance caveat for Stonebridge Council is: Avoid claiming /etc/hosts.deny protects every Linux network service on modern distributions. The observed evidence instead shows that the process ulimit -n is lower than the expected simultaneous file and socket count. The more relevant correction is to apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Question 780

At fictional Eastgate Commerce, the Linux security administration team is working while investigating an observed production-like support incident. The Linux scenario is: A log collector fails with too many open files under bursty load despite free system memory. The diagnostic evidence is: The process ulimit -n is lower than the expected simultaneous file and socket count. Which bounded step BEST resolves the described problem?

  1. For Eastgate Commerce, the Linux support team should: Restore appropriate owner and restrictive permissions and validate authorized public-key placement.
  2. For Eastgate Commerce, the Linux support team should: Disable or mask the unused service and its associated socket units under the host security baseline.
  3. For Eastgate Commerce, the Linux support team should: Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability.
  4. For Eastgate Commerce, the Linux support team should: Apply an approved per-service open-file limit and check system-wide file limits and resource usage.

Explanation

Correct Answer

D:

A log collector fails with too many open files under bursty load despite free system memory. The clue the process ulimit -n is lower than the expected simultaneous file and socket count supports the bounded action: Apply an approved per-service open-file limit and check system-wide file limits and resource usage. Confirm that a representative load processes the expected connections within monitored limits without unrelated resource exhaustion. In Eastgate Commerce, a log collector fails with too many open files under bursty load despite free system memory.

Incorrect Answers

A:

Restore appropriate owner and restrictive permissions and validate authorized public-key placement. It could be useful for another problem, but it does not change the process ulimit -n is lower than the expected simultaneous file and socket count. The response needs to apply an approved per-service open-file limit and check system-wide file limits and resource usage. In Eastgate Commerce, a log collector fails with too many open files under bursty load despite free system memory.

B:

An alternative action is disable or mask the unused service and its associated socket units under the host security baseline. This incident instead involves the process ulimit -n is lower than the expected simultaneous file and socket count. Confirm the scoped change through a representative load processes the expected connections within monitored limits without unrelated resource exhaustion. In Eastgate Commerce, a log collector fails with too many open files under bursty load despite free system memory.

C:

Use the supported service configuration and current host firewall controls while documenting legacy TCP-wrapper applicability. That would not correct the reported the process ulimit -n is lower than the expected simultaneous file and socket count. The supported response is to apply an approved per-service open-file limit and check system-wide file limits and resource usage. In Eastgate Commerce, a log collector fails with too many open files under bursty load despite free system memory.

LPI Level 1 (102-500) Practice Tests