Container basics · Question 12 of 12

Which statements about PID 1 in a container are true?

3 answers are correct. Hard Created with AI

Show answer

Answer

  • A PID 1 ignores signals for which the program has no handler of its own
  • B A small init such as tini forwards signals and reaps zombie processes
  • E With shareProcessNamespace: true, the pause container takes over the role of PID 1

Explanation

The kernel treats PID 1 specially: default actions such as terminating on SIGTERM do not apply there. Kubernetes first sends SIGTERM and SIGKILL after the grace period expires.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications