Bird
Raised Fist0

Which of the following is the correct URL path to check cluster health using Elasticsearch REST API?

easy📝 Syntax Q3 of Q15
Elasticsearch - Cluster Management
Which of the following is the correct URL path to check cluster health using Elasticsearch REST API?
A/_cluster/state
B/_nodes/health
C/_cluster/health
D/_health/cluster
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct API endpoint for cluster health

    The official endpoint is /_cluster/health.
  2. Step 2: Compare with other options

    Other paths refer to nodes or cluster state, not health.
  3. Final Answer:

    /_cluster/health -> Option C
  4. Quick Check:

    Cluster health path = /_cluster/health [OK]
Quick Trick: Cluster health API path always starts with /_cluster/health [OK]
Common Mistakes:
MISTAKES
  • Using /_nodes/health instead of /_cluster/health
  • Confusing cluster state with health endpoint
  • Reversing path segments

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes