XK0-005 practice question 2 of 10
A systems administrator identifies multiple processes in a zombie state. Which of the following signals would be best for the administrator to send to the PPID?
Full set: 487 questionsA zombie process (defunct process) occurs when a child process terminates, but its parent process has not yet executed the wait() system call to read its exit status. Because zombie processes are already dead, signals cannot be delivered directly to them. To clear zombie processes, the administrator must address the parent process (PPID). Sending SIGTERM (Signal 15) requests a graceful termination of the parent process. Once the parent terminates, any remaining zombie processes become orphans and are immediately inherited by init or systemd (PID 1). PID 1 periodically executes wait(), which cleans up and removes all inherited zombie processes from the kernel process table.
B. SIGHUP (Signal 1) notifies a process of terminal disconnect or requests daemon configuration reloading, which does not guarantee process termination or orphan reaping.
C. SIGQUIT (Signal 3) instructs a process to quit and produce a core dump, which is unneeded and less suitable than standard termination via SIGTERM.
D. SIGSTOP (Signal 19) pauses process execution without terminating the parent, preventing the parent process from executing wait() to clean up zombie entries.
Bovet, D. P., & Cesati, M. "Understanding the Linux Kernel," 3rd Edition. O'Reilly Media, Chapter 3: Processes.
IEEE Std 1003.1-2017 (POSIX.1). "Signal Concepts and Process Lifecycle." The Open Group Base Specifications Issue 7.
Keep practicing
Take the free XK0-005 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other XK0-005 practice questions
- Question 1A Linux engineer needs to block an incoming connection from the IP address 2.2.2.2 to a s…
- Question 3An administrator made a change to a system's network configuration. Which of the followin…
- Question 4Which of the following can reduce the attack surface area in relation to Linux hardening?
- Question 5A Linux administrator needs to check extended permissions applied to the directory test. …
- Question 6A Linux systems administrator is updating code. After completing the update, the administ…
- Question 7An operations engineer is planning to start a container running a PostgreSQL database. Th…
