Practice free →
HomeSoftware TestingSoftware Testingmicroservices_cloud_observability › A Kubernetes 'liveness probe' detects

A Kubernetes 'liveness probe' detects

AA container deployed to wrong region
BA container that is stuck and needs restart
CA container that has not yet started up
DA container with too many open ports
Answer & Solution
Correct answer: B. A container that is stuck and needs restart
Liveness probes restart unhealthy containers (deadlocked, hung). Readiness probes signal whether the pod can receive traffic (boot complete, dependencies ready). Startup probes give slow-starting apps time before liveness kicks in.
Solve this in the app — Software Testing practice & 24k+ MCQs →
Related questions