Bird
0
0

Given a pod with a readiness probe that fails for 3 consecutive checks, what happens to the pod's traffic routing?

medium📝 Analysis Q4 of 15
Microservices - Orchestration with Kubernetes
Given a pod with a readiness probe that fails for 3 consecutive checks, what happens to the pod's traffic routing?
AThe pod is deleted from the cluster
BThe pod is restarted immediately
CThe pod continues receiving traffic despite failure
DThe pod is removed from service endpoints and stops receiving traffic
Step-by-Step Solution
Solution:
  1. Step 1: Understand readiness probe failure effect

    When readiness probe fails, Kubernetes removes the pod from service endpoints, stopping traffic routing to it.
  2. Step 2: Differentiate from liveness probe effect

    Liveness probe failure triggers restart, readiness failure only affects traffic routing.
  3. Final Answer:

    Pod stops receiving traffic but is not restarted -> Option D
  4. Quick Check:

    Readiness failure = Remove from traffic [OK]
Quick Trick: Readiness failure stops traffic, liveness failure restarts pod [OK]
Common Mistakes:
MISTAKES
  • Confusing readiness failure with pod restart
  • Assuming pod deletion on readiness failure
  • Thinking pod keeps receiving traffic

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes