Bird
0
0

Which HTTP status code is commonly returned by a healthy microservice health check endpoint?

easy📝 Conceptual Q3 of 15
Microservices - Resilience Patterns
Which HTTP status code is commonly returned by a healthy microservice health check endpoint?
A302 Found
B200 OK
C500 Internal Server Error
D404 Not Found
Step-by-Step Solution
Solution:
  1. Step 1: Recall standard HTTP codes for success

    200 OK means the request succeeded and the service is healthy.
  2. Step 2: Match code to health check response

    Healthy services respond with 200 to indicate they are alive.
  3. Final Answer:

    200 OK -> Option B
  4. Quick Check:

    Healthy response code = 200 OK [OK]
Quick Trick: Healthy service returns 200 OK status code [OK]
Common Mistakes:
MISTAKES
  • Using 404 which means resource missing
  • Using 500 which means server error
  • Using 302 which is a redirect

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes