What will be the output status if the cluster has all primary and replica shards allocated properly?
medium📝 Predict Output Q13 of Q15
Elasticsearch - Cluster Management
What will be the output status if the cluster has all primary and replica shards allocated properly?
A"status": "red"
B"status": "yellow"
C"status": "blue"
D"status": "green"
Step-by-Step Solution
Solution:
Step 1: Understand cluster health statuses
Green means all primary and replica shards are allocated properly, yellow means replicas missing but primaries allocated, red means some primaries missing.
Step 2: Match the condition to status
Since all primary and replica shards are allocated, the status is green.
Final Answer:
"status": "green" -> Option D
Quick Check:
All shards allocated = green status [OK]
Quick Trick:Green means all shards allocated, yellow means some replicas missing [OK]
Common Mistakes:
MISTAKES
Confusing yellow with green
Thinking red means healthy
Assuming blue is a valid status
Master "Cluster Management" in Elasticsearch
9 interactive learning modes - each teaches the same concept differently