Bird
Raised Fist0

If an Elasticsearch cluster health API returns {"status": "red"}, what is the most likely cause?

medium📝 Predict Output Q5 of Q15
Elasticsearch - Cluster Management
If an Elasticsearch cluster health API returns {"status": "red"}, what is the most likely cause?
AOnly replicas are unassigned
BAll shards are active
CCluster is healthy
DSome primary shards are unassigned
Step-by-Step Solution
Solution:
  1. Step 1: Interpret red status

    Red means one or more primary shards are unassigned, causing data loss risk.
  2. Step 2: Differentiate from other statuses

    Green means all shards active, yellow means replicas missing, red means primary shards missing.
  3. Final Answer:

    Some primary shards are unassigned -> Option D
  4. Quick Check:

    Red status = primary shards missing [OK]
Quick Trick: Red means primary shards missing, urgent fix needed [OK]
Common Mistakes:
MISTAKES
  • Confusing red with yellow
  • Thinking red means cluster healthy
  • Assuming only replicas missing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes