Bird
Raised Fist0

What will be the output status field when you run GET /_cluster/health on a healthy Elasticsearch cluster?

medium📝 Command Output Q13 of Q15
Elasticsearch - ELK Stack Integration
What will be the output status field when you run GET /_cluster/health on a healthy Elasticsearch cluster?
A{ \"status\": \"red\" }
B{ \"status\": \"green\" }
C{ \"status\": \"yellow\" }
D{ \"status\": \"blue\" }
Step-by-Step Solution
Solution:
  1. Step 1: Understand cluster health status colors

    Green means all primary and replica shards are active, so cluster is healthy.
  2. Step 2: Match output with healthy cluster

    Healthy cluster returns status as "green" in the JSON response.
  3. Final Answer:

    { "status": "green" } -> Option B
  4. Quick Check:

    Healthy cluster status = green [OK]
Quick Trick: Green status means cluster is fully healthy [OK]
Common Mistakes:
MISTAKES
  • Confusing yellow or red as healthy
  • Expecting blue status which does not exist
  • Misreading JSON output format

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes