Courseiva
Administrative TasksmediumMultiple ChoiceObjective-mapped

LPIC-1 Administrative Tasks Practice Question

A zombie process appears in the process list. The parent process has PID 1234. Which command will most likely remove the zombie?

⚠ Common exam trap

The trap here is that candidates mistakenly think they can kill the zombie itself with kill -9, not realizing that a zombie is already dead and the only way to remove it is to force its parent to reap it or terminate the parent.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

kill -9 1234

A zombie process is a child process that has terminated but whose exit status has not been read by its parent. The zombie cannot be killed directly because it is already dead; it only remains in the process table until the parent calls wait(). Sending SIGKILL (kill -9) to the parent process (PID 1234) causes the parent to terminate, and the zombie child is then adopted by init (PID 1), which automatically reaps it by calling wait().

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • kill -9 1234

    Why this is correct

    Killing the parent process (PID 1234) causes the zombie to be adopted by init and then reaped.

  • kill -9 <zombie_pid>

    Why it's wrong here

    Zombies are already dead and cannot be killed; they need to be reaped by the parent.

  • wait <zombie_pid>

    Why it's wrong here

    The 'wait' command is a shell built-in; it does not work on zombie processes from the command line.

  • reboot

    Why it's wrong here

    Rebooting is an extreme measure and not the standard way to remove a single zombie.

About these practice questions

One of 527 original LPIC-1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.