nerdexam
Cisco

210-250 · Question #104

Which process continues to be recorded in the process table after it has ended and the status is returned to the parent?

The correct answer is C. orphan. An orphan process is a child process whose parent has terminated, leaving it running without an active parent until it is re-parented by init and its exit status is eventually collected.

Cybersecurity Fundamentals

Question

Which process continues to be recorded in the process table after it has ended and the status is returned to the parent?

Exhibit

210-250 question #104 exhibit

Options

  • Adaemon
  • Bzombie
  • Corphan
  • Dchild

How the community answered

(54 responses)
  • A
    4% (2)
  • C
    94% (51)
  • D
    2% (1)

Why each option

An orphan process is a child process whose parent has terminated, leaving it running without an active parent until it is re-parented by init and its exit status is eventually collected.

Adaemon

A daemon is a long-running background process that provides system services - it is defined by its role, not by the termination state of its parent.

Bzombie

A zombie process is one that has already completed execution but remains in the process table because its parent has not yet called wait() to collect its exit status - it is the child that has ended, not the parent.

CorphanCorrect

An orphan process is created when a parent process terminates before its child process finishes. The orphaned child continues to run and remains in the process table, and the operating system re-parents it to init (PID 1), which will collect its exit status when it eventually completes. This is distinct from a zombie, where the child has already ended but the parent has not yet retrieved the exit status.

Dchild

A child process is simply any process spawned by another process and does not specifically describe a process that persists after its parent has ended.

Concept tested: Orphan process lifecycle and re-parenting in Unix/Linux

Source: https://man7.org/linux/man-pages/man2/wait.2.html

Topics

#zombie process#orphan process#process table#OS security

Community Discussion

No community discussion yet for this question.

Full 210-250 Practice