Study. uk . com
  1. Home
  2. All questions
  3. Question 425

CKA study material · question 425 of 1000

A container exits with status 0 under restartPolicy Always. What happens?

  1. The Pod is marked Succeeded
  2. The Pod is evicted
  3. It is left stopped
  4. It is restarted
Show the answer

Answer: D. It is restarted

Always restarts a container after any termination, including a clean exit; OnFailure would not.

Source: Pod Lifecycle (Kubernetes) — Restart behavior comparison

Challenge yourself on this topic → Study as cards