Bird
Raised Fist0

Which Elasticsearch API call correctly checks the cluster health status?

easy📝 Syntax Q12 of Q15
Elasticsearch - Cluster Management
Which Elasticsearch API call correctly checks the cluster health status?
AGET /_cluster/health
BPOST /_cluster/status
CGET /_health/cluster
DPUT /_cluster/check
Step-by-Step Solution
Solution:
  1. Step 1: Recall the correct API endpoint

    The official Elasticsearch API to check cluster health is a GET request to /_cluster/health.
  2. Step 2: Eliminate incorrect options

    POST, PUT methods or wrong paths like /_cluster/status or /_health/cluster are invalid for cluster health check.
  3. Final Answer:

    GET /_cluster/health -> Option A
  4. Quick Check:

    Correct API = GET /_cluster/health [OK]
Quick Trick: Use GET /_cluster/health to check status [OK]
Common Mistakes:
MISTAKES
  • Using POST or PUT instead of GET
  • Mixing up API endpoint paths
  • Trying to check health with wrong HTTP method

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes