Question 220
An operator on RHEL 10 confirms the following issue: A monitoring script believes a service is down because its PID changed after a restart. The diagnostic finding is: Inspect the current process table and the service manager state, not the cached PID alone. What action best resolves the verified condition?
Explanation
Correct Answer
The change that addresses the reported condition is to update monitoring to identify the active unit or current process identity. The host problem is: A monitoring script believes a service is down because its PID changed after a restart. The supporting evidence is to inspect the current process table and the service manager state, not the cached PID alone. Check success by verifying that A controlled restart is recognized as healthy with its new PID. The fix should be persistent where the task requires it.
Incorrect Answers
Attempt graceful termination first and escalate only after documented timeouts and authorization. The check concerns attempt graceful termination first and escalate only after documented timeouts and authorization, not updating monitoring to identify the active unit or current process identity.
Enable the authorized unit for boot and start it in the current session. This assesses the authorized unit for boot and start it in the current session; it does not determine the reported condition—a monitoring script believes a service is down because its PID changed after a restart.
Terminate only the verified offending process using a suitable signal after impact review. The case-specific requirement is updating monitoring to identify the active unit or current process identity, which that option does not establish.