Bird
0
0

Which HTTP status code should a Kubernetes HTTP probe expect to consider the pod healthy?

easy📝 Conceptual Q2 of 15
Kubernetes - Health Checks and Probes
Which HTTP status code should a Kubernetes HTTP probe expect to consider the pod healthy?
A200 OK
B500 Internal Server Error
C404 Not Found
D302 Found
Step-by-Step Solution
Solution:
  1. Step 1: Identify healthy HTTP status codes

    Kubernetes HTTP probes consider status codes in the 200-399 range as success.
  2. Step 2: Choose the best standard success code

    200 OK is the standard success response indicating the pod is healthy.
  3. Final Answer:

    200 OK -> Option A
  4. Quick Check:

    Healthy HTTP status = 200 OK [OK]
Quick Trick: Healthy probe expects 2xx or 3xx HTTP status [OK]
Common Mistakes:
  • Assuming 404 means healthy
  • Choosing 500 as healthy status
  • Confusing 302 redirect with success

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes