Question 610
The engineer proposes this implementation: Apply an appropriate ulimit -u or enforced PAM limits policy for process count. The requirement is: A team must impose a per-shell process limit on a Linux user to reduce accidental fork storms. Which technical explanation best supports the proposed action?
- sudo can delegate specific commands with auditing rather than requiring shared direct-root credentials.
- Resource limits constrain the number of permitted processes for a session or account depending on enforcement context.
- Socket inspection associates a bound listener with its PID/executable; discovering the port alone does not identify its owner.
- last reads the login history database, unlike who which reports active sessions.
Explanation
Correct Answer
B:Resource limits constrain the number of permitted processes for a session or account depending on enforcement context. It specifically supports the proposed action of Apply an appropriate ulimit -u or enforced PAM limits policy for process count. for the requirement described.
Incorrect Answers
A:This explains another Linux operation, namely Define a narrowly scoped sudoers rule with visudo and use sudo for authorized commands., where sudo can delegate specific commands with auditing rather than requiring shared direct-root credentials. It does not explain why Apply an appropriate ulimit -u or enforced PAM limits policy for process count. satisfies the stated condition.
C:This explains another Linux operation, namely Run ss -lntp or a suitable privileged lsof -i query to map sockets to processes., where Socket inspection associates a bound listener with its PID/executable; discovering the port alone does not identify its owner. It does not explain why Apply an appropriate ulimit -u or enforced PAM limits policy for process count. satisfies the stated condition.
D:This explains another Linux operation, namely Use last with suitable time filtering to examine historical login records., where last reads the login history database, unlike who which reports active sessions. It does not explain why Apply an appropriate ulimit -u or enforced PAM limits policy for process count. satisfies the stated condition.
Question 611
The action Apply an appropriate ulimit -u or enforced PAM limits policy for process count. was applied for this goal: A team must impose a per-shell process limit on a Linux user to reduce accidental fork storms. Which observation provides the most direct acceptance evidence?
- chage -l displays the intended maximum age and warning interval.
- A member of the approved group runs the permitted command while a nonmember is denied.
- The configured test session is blocked from spawning processes beyond its defined limit.
- The listener's PID and binary path correspond to the unexpected service and can be investigated.
Explanation
Correct Answer
C:The configured test session is blocked from spawning processes beyond its defined limit. This checks the effect of Apply an appropriate ulimit -u or enforced PAM limits policy for process count. against the stated operational goal.
Incorrect Answers
A:That observation checks An account's password must expire after a defined number of days with advance warning. In this scenario it does not demonstrate Apply an appropriate ulimit -u or enforced PAM limits policy for process count.; the relevant evidence must establish The configured test session is blocked from spawning processes beyond its defined limit.
B:That observation checks A privileged command should be granted to a named role without distributing the root password. In this scenario it does not demonstrate Apply an appropriate ulimit -u or enforced PAM limits policy for process count.; the relevant evidence must establish The configured test session is blocked from spawning processes beyond its defined limit.
D:That observation checks A security engineer must see which process currently owns an unexpected listening network port. In this scenario it does not demonstrate Apply an appropriate ulimit -u or enforced PAM limits policy for process count.; the relevant evidence must establish The configured test session is blocked from spawning processes beyond its defined limit.
Question 612
A team is validating its implementation of this requirement: A team must impose a per-shell process limit on a Linux user to reduce accidental fork storms. Which observed mistake most specifically identifies that the intended perform security administration tasks behavior has NOT been met?
- A network port scan detects the port but the responder never identifies the local service.
- who shows no active users so the administrator incorrectly concludes no one accessed the host.
- The administrator relies on last and mistakes an earlier session for one still connected.
- The team edits a log-rotation setting but the user can still spawn unlimited processes.
Explanation
Correct Answer
D:The team edits a log-rotation setting but the user can still spawn unlimited processes. This shows the requested behavior is absent, so the deployment needs the correction: Apply a real process-resource limit in the relevant shell or PAM limit configuration.
Incorrect Answers
A:That symptom concerns A security engineer must see which process currently owns an unexpected listening network port. This concerns a separate requirement, not the one being tested. The relevant failure is The team edits a log-rotation setting but the user can still spawn unlimited processes. The current requirement calls for a different check.
B:That symptom concerns An administrator must review who logged into a host during the previous weekend, not just who is online now. This concerns a separate requirement, not the one being tested. The relevant failure is The team edits a log-rotation setting but the user can still spawn unlimited processes. The current requirement calls for a different check.
C:That symptom concerns A Linux admin wants to list currently logged-in users including their remote terminal origins. This concerns a separate requirement, not the one being tested. The relevant failure is The team edits a log-rotation setting but the user can still spawn unlimited processes. The current requirement calls for a different check.
Question 613
During validation, this problem was found: The team edits a log-rotation setting but the user can still spawn unlimited processes. The original goal was: A team must impose a per-shell process limit on a Linux user to reduce accidental fork storms. Which targeted correction best resolves it?
- Apply a real process-resource limit in the relevant shell or PAM limit configuration.
- Query prior session history with last and correlate with preserved authentication logs.
- Configure the actual password-aging fields with chage and inspect them.
- Add a reviewed sudoers policy and test both allowed and denied commands.
Explanation
Correct Answer
A:Apply a real process-resource limit in the relevant shell or PAM limit configuration. It directly addresses the observed symptom: The team edits a log-rotation setting but the user can still spawn unlimited processes. The relevant mechanism is Resource limits constrain the number of permitted processes for a session or account depending on enforcement context.
Incorrect Answers
B:This fix is aimed at who shows no active users so the administrator incorrectly concludes no one accessed the host. and would be relevant if An administrator must review who logged into a host during the previous weekend, not just who is online now. The incident instead states The team edits a log-rotation setting but the user can still spawn unlimited processes. and needs Apply a real process-resource limit in the relevant shell or PAM limit configuration.
C:This fix is aimed at The user password never expires because only a login banner warning was configured. and would be relevant if An account's password must expire after a defined number of days with advance warning. The incident instead states The team edits a log-rotation setting but the user can still spawn unlimited processes. and needs Apply a real process-resource limit in the relevant shell or PAM limit configuration.
D:This fix is aimed at All administrators share the root password because no delegated command rule exists. and would be relevant if A privileged command should be granted to a named role without distributing the root password. The incident instead states The team edits a log-rotation setting but the user can still spawn unlimited processes. and needs Apply a real process-resource limit in the relevant shell or PAM limit configuration.
Question 614
A Linux administrator faces this requirement: An administrator must review who logged into a host during the previous weekend, not just who is online now. Which specific action is the best direct solution?
- Run a scoped find command such as find /usr -xdev -type f -perm -4000 with appropriate privileges.
- Use last with suitable time filtering to examine historical login records.
- Run who or w to inspect current login sessions.
- Apply an appropriate ulimit -u or enforced PAM limits policy for process count.
Explanation
Correct Answer
B:Use last with suitable time filtering to examine historical login records. The mechanism is: last reads the login history database, unlike who which reports active sessions.
Incorrect Answers
A:Run a scoped find command such as find /usr -xdev -type f -perm -4000 with appropriate privileges. That operation is designed for the different case: A security auditor must identify files carrying the set-user-ID permission bit on local filesystems. It does not perform the specific action required here: Use last with suitable time filtering to examine historical login records.
C:Run who or w to inspect current login sessions. That operation is designed for the different case: A Linux admin wants to list currently logged-in users including their remote terminal origins. It does not perform the specific action required here: Use last with suitable time filtering to examine historical login records.
D:Apply an appropriate ulimit -u or enforced PAM limits policy for process count. That operation is designed for the different case: A team must impose a per-shell process limit on a Linux user to reduce accidental fork storms. It does not perform the specific action required here: Use last with suitable time filtering to examine historical login records.
Question 615
The engineer proposes this implementation: Use last with suitable time filtering to examine historical login records. The requirement is: An administrator must review who logged into a host during the previous weekend, not just who is online now. Which technical explanation best supports the proposed action?
- who and w read session accounting to show connected users and terminals; last summarizes historical logins instead.
- sudo can delegate specific commands with auditing rather than requiring shared direct-root credentials.
- last reads the login history database, unlike who which reports active sessions.
- Socket inspection associates a bound listener with its PID/executable; discovering the port alone does not identify its owner.
Explanation
Correct Answer
C:last reads the login history database, unlike who which reports active sessions. It specifically supports the proposed action of Use last with suitable time filtering to examine historical login records. for the requirement described.
Incorrect Answers
A:This explains another Linux operation, namely Run who or w to inspect current login sessions., where who and w read session accounting to show connected users and terminals; last summarizes historical logins instead. It does not explain why Use last with suitable time filtering to examine historical login records. satisfies the stated condition.
B:This explains another Linux operation, namely Define a narrowly scoped sudoers rule with visudo and use sudo for authorized commands., where sudo can delegate specific commands with auditing rather than requiring shared direct-root credentials. It does not explain why Use last with suitable time filtering to examine historical login records. satisfies the stated condition.
D:This explains another Linux operation, namely Run ss -lntp or a suitable privileged lsof -i query to map sockets to processes., where Socket inspection associates a bound listener with its PID/executable; discovering the port alone does not identify its owner. It does not explain why Use last with suitable time filtering to examine historical login records. satisfies the stated condition.
Question 616
The action Use last with suitable time filtering to examine historical login records. was applied for this goal: An administrator must review who logged into a host during the previous weekend, not just who is online now. Which observation provides the most direct acceptance evidence?
- A member of the approved group runs the permitted command while a nonmember is denied.
- The output shows active user names, TTYs and remote origin information where recorded.
- chage -l displays the intended maximum age and warning interval.
- The audit lists completed sessions and times from the requested historical period.
Explanation
Correct Answer
D:The audit lists completed sessions and times from the requested historical period. This checks the effect of Use last with suitable time filtering to examine historical login records. against the stated operational goal.
Incorrect Answers
A:That observation checks A privileged command should be granted to a named role without distributing the root password. In this scenario it does not demonstrate Use last with suitable time filtering to examine historical login records.; the relevant evidence must establish The audit lists completed sessions and times from the requested historical period.
B:That observation checks A Linux admin wants to list currently logged-in users including their remote terminal origins. In this scenario it does not demonstrate Use last with suitable time filtering to examine historical login records.; the relevant evidence must establish The audit lists completed sessions and times from the requested historical period.
C:That observation checks An account's password must expire after a defined number of days with advance warning. In this scenario it does not demonstrate Use last with suitable time filtering to examine historical login records.; the relevant evidence must establish The audit lists completed sessions and times from the requested historical period.
Question 617
A team is validating its implementation of this requirement: An administrator must review who logged into a host during the previous weekend, not just who is online now. Which observed mistake most specifically identifies that the intended perform security administration tasks behavior has NOT been met?
- who shows no active users so the administrator incorrectly concludes no one accessed the host.
- The team edits a log-rotation setting but the user can still spawn unlimited processes.
- The administrator relies on last and mistakes an earlier session for one still connected.
- The operator searches only for world-writable files and overlooks unexpected setuid executables.
Explanation
Correct Answer
A:who shows no active users so the administrator incorrectly concludes no one accessed the host. This shows the requested behavior is absent, so the deployment needs the correction: Query prior session history with last and correlate with preserved authentication logs.
Incorrect Answers
B:That symptom concerns A team must impose a per-shell process limit on a Linux user to reduce accidental fork storms. This concerns a separate requirement, not the one being tested. The relevant failure is who shows no active users so the administrator incorrectly concludes no one accessed the host. The current requirement calls for a different check.
C:That symptom concerns A Linux admin wants to list currently logged-in users including their remote terminal origins. This concerns a separate requirement, not the one being tested. The relevant failure is who shows no active users so the administrator incorrectly concludes no one accessed the host. The current requirement calls for a different check.
D:That symptom concerns A security auditor must identify files carrying the set-user-ID permission bit on local filesystems. This concerns a separate requirement, not the one being tested. The relevant failure is who shows no active users so the administrator incorrectly concludes no one accessed the host. The current requirement calls for a different check.
Question 618
During validation, this problem was found: who shows no active users so the administrator incorrectly concludes no one accessed the host. The original goal was: An administrator must review who logged into a host during the previous weekend, not just who is online now. Which targeted correction best resolves it?
- Audit the setuid mode bit explicitly, then review necessity and ownership of each finding.
- Query prior session history with last and correlate with preserved authentication logs.
- Correlate the listener with its process using ss or lsof before changing firewall rules.
- Add a reviewed sudoers policy and test both allowed and denied commands.
Explanation
Correct Answer
B:Query prior session history with last and correlate with preserved authentication logs. It directly addresses the observed symptom: who shows no active users so the administrator incorrectly concludes no one accessed the host. The relevant mechanism is last reads the login history database, unlike who which reports active sessions.
Incorrect Answers
A:This fix is aimed at The operator searches only for world-writable files and overlooks unexpected setuid executables. and would be relevant if A security auditor must identify files carrying the set-user-ID permission bit on local filesystems. The incident instead states who shows no active users so the administrator incorrectly concludes no one accessed the host. and needs Query prior session history with last and correlate with preserved authentication logs.
C:This fix is aimed at A network port scan detects the port but the responder never identifies the local service. and would be relevant if A security engineer must see which process currently owns an unexpected listening network port. The incident instead states who shows no active users so the administrator incorrectly concludes no one accessed the host. and needs Query prior session history with last and correlate with preserved authentication logs.
D:This fix is aimed at All administrators share the root password because no delegated command rule exists. and would be relevant if A privileged command should be granted to a named role without distributing the root password. The incident instead states who shows no active users so the administrator incorrectly concludes no one accessed the host. and needs Query prior session history with last and correlate with preserved authentication logs.
Question 619
A Linux administrator faces this requirement: A server must store user password hashes separately from generally readable account information. Which specific action is the best direct solution?
- Configure host-based allow/deny rules in /etc/hosts.allow and /etc/hosts.deny for an actually wrapper-aware daemon.
- Inspect the paired .socket unit and disable or stop it if that entry point is not authorized.
- Use the shadow password database with correct restrictive permissions on /etc/shadow.
- Maintain an approved service baseline and compare current ss -lnt output to it.
Explanation
Correct Answer
C:Use the shadow password database with correct restrictive permissions on /etc/shadow. The mechanism is: Shadow passwords separate sensitive hashes from the account metadata in /etc/passwd, reducing exposure to unprivileged readers.
Incorrect Answers
A:Configure host-based allow/deny rules in /etc/hosts.allow and /etc/hosts.deny for an actually wrapper-aware daemon. That operation is designed for the different case: A legacy service uses TCP wrappers and the team must restrict which client subnets may access it. It does not perform the specific action required here: Use the shadow password database with correct restrictive permissions on /etc/shadow.
B:Inspect the paired .socket unit and disable or stop it if that entry point is not authorized. That operation is designed for the different case: A systemd socket-activated daemon unexpectedly starts even though its service unit is disabled. It does not perform the specific action required here: Use the shadow password database with correct restrictive permissions on /etc/shadow.
D:Maintain an approved service baseline and compare current ss -lnt output to it. That operation is designed for the different case: An operations team needs to detect unauthorized new listening services after routine package updates. It does not perform the specific action required here: Use the shadow password database with correct restrictive permissions on /etc/shadow.
Question 620
The engineer proposes this implementation: Use the shadow password database with correct restrictive permissions on /etc/shadow. The requirement is: A server must store user password hashes separately from generally readable account information. Which technical explanation best supports the proposed action?
- Socket units can listen independently and trigger services on demand; disabling only the service may not close the socket.
- login-aware services can refuse ordinary logins while allowing privileged maintenance when the nologin marker is honored.
- xinetd manages individually configured on-demand network services and can disable one without deleting all service definitions.
- Shadow passwords separate sensitive hashes from the account metadata in /etc/passwd, reducing exposure to unprivileged readers.
Explanation
Correct Answer
D:Shadow passwords separate sensitive hashes from the account metadata in /etc/passwd, reducing exposure to unprivileged readers. It specifically supports the proposed action of Use the shadow password database with correct restrictive permissions on /etc/shadow. for the requirement described.
Incorrect Answers
A:This explains another Linux operation, namely Inspect the paired .socket unit and disable or stop it if that entry point is not authorized., where Socket units can listen independently and trigger services on demand; disabling only the service may not close the socket. It does not explain why Use the shadow password database with correct restrictive permissions on /etc/shadow. satisfies the stated condition.
B:This explains another Linux operation, namely Create an appropriate /etc/nologin notice where supported and ensure policy checks it., where login-aware services can refuse ordinary logins while allowing privileged maintenance when the nologin marker is honored. It does not explain why Use the shadow password database with correct restrictive permissions on /etc/shadow. satisfies the stated condition.
C: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 Use the shadow password database with correct restrictive permissions on /etc/shadow. satisfies the stated condition.
LPI Level 1 (102-500) Practice Tests