CompTIA Linux+ XK0-006 (V8) Practice Question

You stop a malfunctioning shell script (PID 4321) with kill 4321. A few seconds later you check the helper it had started:

$ ps -o pid,ppid,state,cmd -p 9876
  PID  PPID S CMD
 9876     1 S /usr/bin/python3 /opt/worker.py

What does the PPID value of 1 indicate about process 9876?

  • 9876 used exec() to replace its parent and has therefore become the session leader.

  • 9876 is now executing as a kernel thread in ring 0, so it no longer has a user-space parent.

  • The process has finished execution and is a zombie that its parent must still reap.

  • The script has exited, so the kernel re-parented 9876 to the init/systemd process (PID 1).

CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot