Docker Certified Associate (DCA) — Question 46

One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times.
Is this the action taken by the orchestrator to fix the unhealthy container?
The unhealthy container is restarted.

Answer options

Correct answer: A

Explanation

The orchestrator will restart the unhealthy container to restore it to a healthy state, as indicated by the livenessProbe failures. The other option, 'No', is incorrect because it does not acknowledge the automatic recovery behavior of the orchestrator in this situation.