Question 650
The engineer proposes this implementation: Inspect the paired .socket unit and disable or stop it if that entry point is not authorized. The requirement is: A systemd socket-activated daemon unexpectedly starts even though its service unit is disabled. Which technical explanation best supports the proposed action?
Explanation
Correct Answer
Socket units can listen independently and trigger services on demand; disabling only the service may not close the socket. It specifically supports the proposed action of Inspect the paired .socket unit and disable or stop it if that entry point is not authorized. for the requirement described.
Incorrect Answers
This explains another Linux operation, namely Use the shadow password database with correct restrictive permissions on /etc/shadow., where Shadow passwords separate sensitive hashes from the account metadata in /etc/passwd, reducing exposure to unprivileged readers. It does not explain why Inspect the paired .socket unit and disable or stop it if that entry point is not authorized. satisfies the stated condition.
This explains another Linux operation, namely Disable that service entry in its /etc/xinetd.d/ configuration and reload xinetd where applicable., where xinetd manages individually configured on-demand network services and can disable one without deleting all service definitions. It does not explain why Inspect the paired .socket unit and disable or stop it if that entry point is not authorized. satisfies the stated condition.
This explains another Linux operation, namely Maintain an approved service baseline and compare current ss -lnt output to it., where A listener inventory reveals unexpected exposed sockets; the service status command alone does not list every bound port. It does not explain why Inspect the paired .socket unit and disable or stop it if that entry point is not authorized. satisfies the stated condition.






LPI Level 1 (102-500) Practice Tests