XK0-005 · Question #10610
XK0-005 Question #10610: Real Exam Question with Answer & Explanation
The correct answer is C: Kill the parent PID of the processes.. As the web search results show, processes in state Z are defunct or zombie processes, which means they have terminated but their parent process has not reaped them properly. They do not consume any resources, but they occupy a slot in the process table. To remove them from the pr
Question
A systems administrator notices the process list on a mission-critical server has a large number of processes that are in state "Z" and marked as "defunct." Which of the following should the administrator do in an attempt to safely remove these entries from the process list?
Options
- AKill the process with PID 1.
- BKill the PID of the processes.
- CKill the parent PID of the processes.
- DReboot the server.
Explanation
As the web search results show, processes in state Z are defunct or zombie processes, which means they have terminated but their parent process has not reaped them properly. They do not consume any resources, but they occupy a slot in the process table. To remove them from the process list, the administrator needs to kill the parent process of the zombies, which will cause them to be reaped by the init process (PID 1). Killing the zombies themselves or the init process will not have any effect, as they are already dead. Rebooting the server may work, but it is not a safe or efficient option, as it may cause unnecessary downtime or data loss for a mission-critical
Topics
Community Discussion
No community discussion yet for this question.