Pod Phase & Succeeded — KCNA Practice Question
A representative Kubernetes and Cloud Native Associate (KCNA) exam question on Pod Phase & Succeeded. Work through it below, then read why each option is right or wrong.
This question is part of the free Kubernetes and Cloud Native Associate practice test.
Short answer
The correct answer is D. Succeeded, because all containers terminated in success and will not be restarted under this restart policy.
D is correct: Succeeded means all containers in the Pod terminated in success and will not be restarted. A is wrong because Failed requires at least one container to terminate in failure, such as a non-zero exit status. B is wrong because Running requires at least one container still running, starting, or restarting. C is wrong because Pending applies before containers are set up, and with Never no replacement container is waiting.
The Question
A Pod has one container and `restartPolicy: Never`. The container runs a data migration and exits with status code 0. What phase does the Pod show afterward?
Why D is correct
D is correct: Succeeded means all containers in the Pod terminated in success and will not be restarted. A is wrong because Failed requires at least one container to terminate in failure, such as a non-zero exit status. B is wrong because Running requires at least one container still running, starting, or restarting. C is wrong because Pending applies before containers are set up, and with Never no replacement container is waiting.
Why the other options are wrong
Option A does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.
Option B does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.
Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (D) is the only one that fully meets every constraint stated in the question.
Key idea: Pod Phase & Succeeded
D is correct: Succeeded means all containers in the Pod terminated in success and will not be restarted. A is wrong because Failed requires at least one container to terminate in failure, such as a non-zero exit status. B is wrong because Running requires at least one container still running, starting, or restarting. C is wrong because Pending applies before containers are set up, and with Never no replacement container is waiting. On the KCNA exam, questions in the "Kubernetes Fundamentals" domain test whether you can map a scenario's constraints to the right choice. Read the requirement carefully, eliminate options that violate any single constraint, and pick the one that satisfies all of them with the least operational overhead.
Ready to see how you'd score?
Take the free practice quiz and find out which Kubernetes and Cloud Native Associate domains you need to focus on. No signup required.
Practice 5 similar questions
Same cert, same or adjacent domain. Use these after reviewing the explanation.
Related Kubernetes and Cloud Native Associate Practice Questions
Official sources used
Verify program and exam details at the source before scheduling.