nerdexam
DockerDocker

DCA · Question #74

DCA Question #74: Real Exam Question with Answer & Explanation

The correct answer is B: No. Kubernetes automatically restarts an unhealthy container detected by a failed liveness probe, rather than executing a user-defined script to fix it.

Submitted by eva_at· Apr 18, 2026Container Orchestration

Question

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? Solution: Kubernetes automatically triggers a user-defined script to attempt to fix the unhealthy container.

Options

  • AYes
  • BNo

Explanation

Kubernetes automatically restarts an unhealthy container detected by a failed liveness probe, rather than executing a user-defined script to fix it.

Common mistakes.

  • A. Kubernetes' built-in response to a liveness probe failure is to restart the container, not to execute a separate user-defined remediation script.

Concept tested. Kubernetes liveness probe default action

Reference. https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes

Topics

#Kubernetes#Liveness Probe#Container Health#Container Restart

Community Discussion

No community discussion yet for this question.

Full DCA PracticeBrowse All DCA Questions