Bird
0
0

In Kubernetes, what condition does a liveness probe detect to maintain container health?

easy📝 Conceptual Q1 of 15
Kubernetes - Health Checks and Probes
In Kubernetes, what condition does a liveness probe detect to maintain container health?
AThe network connectivity of the pod
BIf the container is ready to accept traffic
CThe resource usage of the container
DWhether the container is running and responsive
Step-by-Step Solution
Solution:
  1. Step 1: Understand liveness probe purpose

    A liveness probe checks if the container is alive and functioning properly.
  2. Step 2: Differentiate from readiness probe

    Readiness probes check if the container is ready to serve traffic, not liveness.
  3. Final Answer:

    Whether the container is running and responsive -> Option D
  4. Quick Check:

    Liveness probe detects container health [OK]
Quick Trick: Liveness probe checks if container is alive [OK]
Common Mistakes:
  • Confusing liveness with readiness probe
  • Thinking it checks resource usage
  • Assuming it checks network connectivity

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes