cert
cert-1
cert-2

Pass LPI 102-500 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
102-500 Exam - Verified By Experts
102-500 Premium Bundle
$29.98

102-500 Premium Bundle

$79.99
$109.97
  • Premium File 120 Questions & Answers. Last update: Nov 13, 2026
  • Training Course 126 Video Lectures
  • Study Guide 962 Pages
 
$109.97
$79.99
accept 15 downloads in last 7 days
block-screenshots
Purchase LPI 102-500 Exam Training Products Individually
LPI 102-500 Premium File
Premium File 120 Q&A
$76.99$69.99
LPI 102-500 Video Training Course
Training Course 126 Lectures
$21.99 $19.99
LPI 102-500 PDF Study Guide
Study Guide 962 Pages
$21.99 $19.99
LPI 102-500 Practice Test 66

Question 650

While verifying a Linux change request, an engineer finds: A workstation exposes a remote management daemon that is no longer needed but the operator removes only its desktop shortcut. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.

  1. Identify the listening service and any associated systemd .socket activation unit, then disable or mask unnecessary network entry points according to policy.
  2. Inspect `systemctl list-sockets`, service and socket unit states, live listeners and a controlled remote connection attempt.
  3. Grant narrowly scoped sudo privileges using visudo or a validated sudoers.d fragment, then test as the intended identity.
  4. Assume `systemctl stop old.service` always removes every socket-activated listener and that hiding an application shortcut disables its daemon.
  5. Compare server host key fingerprint to an approved inventory, inspect /etc/ssh/ssh_host_* files and examine the user's known_hosts entry.

Explanation

Correct Answers

A:

Recommended administrative action: Identify the listening service and any associated systemd .socket activation unit, then disable or mask unnecessary network entry points according to policy. Linux principle: Systemd socket activation can create listeners and start services on demand even when the associated service process is not currently running.

B:

Most direct verification evidence: Inspect `systemctl list-sockets`, service and socket unit states, live listeners and a controlled remote connection attempt. Linux principle: Systemd socket activation can create listeners and start services on demand even when the associated service process is not currently running.

Incorrect Answers

C:

This alternative addresses Sudoers least privilege and safe editing, not the specific issue of Disabling unnecessary systemd and socket-activated services: Grant narrowly scoped sudo privileges using visudo or a validated sudoers.d fragment, then test as the intended identity.

D:

This shortcut is unsafe for the present Linux issue: Assume `systemctl stop old.service` always removes every socket-activated listener and that hiding an application shortcut disables its daemon. Systemd socket activation can create listeners and start services on demand even when the associated service process is not currently running.

E:

That option would compare server host key fingerprint to an approved inventory, inspect /etc/ssh/ssh_host_* files and examine the user's known_hosts entry, but it addresses a different concern. Systemd socket activation can create listeners and start services on demand even when the associated service process is not currently running.

Question 651

A Linux administrator investigates the following system incident: An administrator writes /etc/hosts.deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.

  1. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  2. Use `who`, `w` and `last` to distinguish active from historical logins and apply appropriate shell or PAM resource limits with ulimit and policy.
  3. Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control.
  4. Verify host-key fingerprints through a trusted channel and provision distinct server host keys for each machine, updating client trust only after authorized verification.

Explanation

Correct Answer

C:

Recommended administrative action: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked.

Incorrect Answers

A:

That option would assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

B:

That option would use `who`, `w` and `last` to distinguish active from historical logins and apply appropriate shell or PAM resource limits with ulimit and policy, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

D:

That option would verify host-key fingerprints through a trusted channel and provision distinct server host keys for each machine, updating client trust only after authorized verification, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

Question 652

On a production Linux workstation or server, a technician observes: An administrator writes /etc/hosts.deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.

  1. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  2. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.
  3. sudo applies policy to which user may execute particular commands as another identity; unrestricted root privileges and unvalidated configuration edits are avoidable risks.
  4. Systemd socket activation can create listeners and start services on demand even when the associated service process is not currently running.

Explanation

Correct Answer

B:

Relevant Linux operating principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked.

Incorrect Answers

A:

That option would assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts, but it addresses a different concern. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

C:

This alternative addresses Sudoers least privilege and safe editing, not the specific issue of TCP wrappers legacy access control and modern alternatives: sudo applies policy to which user may execute particular commands as another identity; unrestricted root privileges and unvalidated configuration edits are avoidable risks. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

D:

This alternative addresses Disabling unnecessary systemd and socket-activated services, not the specific issue of TCP wrappers legacy access control and modern alternatives: Systemd socket activation can create listeners and start services on demand even when the associated service process is not currently running. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Question 653

During an LPIC-1 practice lab, the operator encounters this condition: An administrator writes /etc/hosts.deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.

  1. Inspect `systemctl list-sockets`, service and socket unit states, live listeners and a controlled remote connection attempt.
  2. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  3. Inspect `ss -tulpen`, `lsof -i`, approved nmap results, service ownership and active firewall rules.
  4. Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test.

Explanation

Correct Answer

D:

Most direct verification evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked.

Incorrect Answers

A:

That option would inspect `systemctl list-sockets`, service and socket unit states, live listeners and a controlled remote connection attempt, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

B:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

C:

That option would inspect `ss -tulpen`, `lsof -i`, approved nmap results, service ownership and active firewall rules, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

Question 654

A helpdesk escalation describes this Linux behavior: An administrator writes /etc/hosts.deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.

  1. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  2. The audit identifies accurate session ownership and resource-heavy workloads obey documented per-account limits without affecting unrelated users.
  3. The unwanted port no longer accepts connections after reboot while approved system services remain available.
  4. The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Explanation

Correct Answer

D:

Observable acceptance criterion: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked.

B:

This alternative addresses Login history, active sessions and process limits, not the specific issue of TCP wrappers legacy access control and modern alternatives: The audit identifies accurate session ownership and resource-heavy workloads obey documented per-account limits without affecting unrelated users. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

C:

This alternative addresses Disabling unnecessary systemd and socket-activated services, not the specific issue of TCP wrappers legacy access control and modern alternatives: The unwanted port no longer accepts connections after reboot while approved system services remain available. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Question 655

An operations handoff identifies this problem: An administrator writes /etc/hosts.deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Which misleading assumption MOST directly contributes to this failure and should be rejected? Select ONE best answer.

  1. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  2. Assume whoami lists all active users on the host and that setting ulimit in one shell automatically applies to every existing login session.
  3. Use `ALL=(ALL) NOPASSWD: ALL` for every support user and edit sudoers blindly with no syntax validation.
  4. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.

Explanation

Correct Answer

D:

Reject this specific misconception: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. It incorrectly assumes behavior that conflicts with the observed Linux conditions.

Incorrect Answers

A:

This alternative addresses SSH port forwarding and X11 tunnel purpose, not the specific issue of TCP wrappers legacy access control and modern alternatives: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. deny rules for a daemon that is not built with libwrap and assumes the TCP port is blocked. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

B:

That option would assume whoami lists all active users on the host and that setting ulimit in one shell automatically applies to every existing login session, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

C:

That option would use `ALL=(ALL) NOPASSWD: ALL` for every support user and edit sudoers blindly with no syntax validation, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

Question 656

A team maintaining a Linux host reports: An engineer studies TCP wrappers only as a universal current firewall replacement without checking which service honors those files. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.

  1. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  2. Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control.
  3. Install only the user's public key in the authorized_keys file, protect the private key and use ssh-agent or ssh-add when appropriate for approved key handling.
  4. Restore restricted shadow database ownership and permissions using distribution-supported account tools and protect password hashes from general reads.

Explanation

Correct Answer

B:

Recommended administrative action: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

C:

That option would install only the user's public key in the authorized_keys file, protect the private key and use ssh-agent or ssh-add when appropriate for approved key handling, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

D:

This alternative addresses Shadow password file permissions and hash protection, not the specific issue of TCP wrappers legacy access control and modern alternatives: Restore restricted shadow database ownership and permissions using distribution-supported account tools and protect password hashes from general reads. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Question 657

While verifying a Linux change request, an engineer finds: An engineer studies TCP wrappers only as a universal current firewall replacement without checking which service honors those files. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.

  1. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.
  2. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  3. /etc/shadow exists to separate sensitive hashed password and aging data from the broadly readable identity fields of /etc/passwd.
  4. Current sessions and login history answer different operational questions; per-process shell resource limits can constrain activity but are not equivalent to user authentication policies.

Explanation

Correct Answer

A:

Relevant Linux operating principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

Incorrect Answers

B:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. It cannot establish a safe correction. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

C:

This alternative addresses Shadow password file permissions and hash protection, not the specific issue of TCP wrappers legacy access control and modern alternatives: /etc/shadow exists to separate sensitive hashed password and aging data from the broadly readable identity fields of /etc/passwd. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

D:

This alternative addresses Login history, active sessions and process limits, not the specific issue of TCP wrappers legacy access control and modern alternatives: Current sessions and login history answer different operational questions; per-process shell resource limits can constrain activity but are not equivalent to user authentication policies. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Question 658

A Linux administrator investigates the following system incident: An engineer studies TCP wrappers only as a universal current firewall replacement without checking which service honors those files. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.

  1. Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test.
  2. Inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status.
  3. Compare server host key fingerprint to an approved inventory, inspect /etc/ssh/ssh_host_* files and examine the user's known_hosts entry.
  4. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.

Explanation

Correct Answer

A:

Most direct verification evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test.

Incorrect Answers

B:

That option would inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

C:

That option would compare server host key fingerprint to an approved inventory, inspect /etc/ssh/ssh_host_* files and examine the user's known_hosts entry, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

D:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. It cannot establish a safe correction. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Question 659

On a production Linux workstation or server, a technician observes: An engineer studies TCP wrappers only as a universal current firewall replacement without checking which service honors those files. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.

  1. The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.
  2. The audit identifies accurate session ownership and resource-heavy workloads obey documented per-account limits without affecting unrelated users.
  3. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  4. Ordinary users cannot read password hashes and the system still resolves account and login metadata correctly.

Explanation

Correct Answer

A:

Observable acceptance criterion: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Incorrect Answers

B:

This alternative addresses Login history, active sessions and process limits, not the specific issue of TCP wrappers legacy access control and modern alternatives: The audit identifies accurate session ownership and resource-heavy workloads obey documented per-account limits without affecting unrelated users. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

C:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

D:

This alternative addresses Shadow password file permissions and hash protection, not the specific issue of TCP wrappers legacy access control and modern alternatives: Ordinary users cannot read password hashes and the system still resolves account and login metadata correctly. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely. Appropriate response: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Root-cause evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Independent acceptance: The intended client restrictions are enforced by a mechanism the actual running service honors rather than by unused legacy files.

Question 660

During an LPIC-1 practice lab, the operator encounters this condition: An engineer studies TCP wrappers only as a universal current firewall replacement without checking which service honors those files. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.

  1. Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test.
  2. Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control.
  3. Run carefully scoped `find` checks for -perm -4000 and -perm -2000, review file ownership, ACLs, package provenance and intended use.
  4. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  5. Grant narrowly scoped sudo privileges using visudo or a validated sudoers.d fragment, then test as the intended identity.

Explanation

Correct Answers

A:

Most direct verification evidence: Inspect daemon documentation, linked support if relevant, actual listener behavior and an approved remote denied-client test. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

B:

Recommended administrative action: Verify whether a specific legacy daemon actually supports TCP wrappers and use supported firewalls or service-native authorization for current host access control. Linux principle: hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

Incorrect Answers

C:

That option would run carefully scoped `find` checks for -perm -4000 and -perm -2000, review file ownership, ACLs, package provenance and intended use, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

D:

This shortcut is unsafe for the present Linux issue: Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts. hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

E:

That option would grant narrowly scoped sudo privileges using visudo or a validated sudoers.d fragment, then test as the intended identity, but it addresses a different concern. Hosts.allow and hosts.deny are legacy libwrap mechanisms that affect only applications using them; modern services may ignore these files entirely.

LPI Level 1 (102-500) Practice Tests