Challenge - 5 Problems
Infrastructure Monitoring Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Elasticsearch cluster health status output
What is the output of the following command when the cluster is fully operational with no issues?
Elasticsearch
curl -X GET "localhost:9200/_cluster/health?pretty"Attempts:
2 left
💡 Hint
The cluster health status 'green' means all primary and replica shards are active.
✗ Incorrect
The status field shows the cluster health. 'green' means everything is fine. 'yellow' means some replicas are not allocated. 'red' means some primary shards are missing.
🧠 Conceptual
intermediate1:30remaining
Purpose of Elasticsearch node stats API
What is the main purpose of the Elasticsearch
/_nodes/stats API in infrastructure monitoring?Attempts:
2 left
💡 Hint
Think about what kind of node information helps monitor resource usage.
✗ Incorrect
The /_nodes/stats API provides detailed metrics about each node's resource usage, which is essential for monitoring infrastructure health.
❓ Troubleshoot
advanced2:00remaining
Diagnosing Elasticsearch cluster yellow status
You run
curl -X GET "localhost:9200/_cluster/health?pretty" and see the status is 'yellow'. What is the most likely cause?Attempts:
2 left
💡 Hint
Yellow means partial issues, not complete failure.
✗ Incorrect
A 'yellow' status means primary shards are fine but some replicas are missing, which can happen if there are not enough nodes for replicas.
🔀 Workflow
advanced2:30remaining
Steps to monitor Elasticsearch disk usage
Which sequence correctly describes the steps to monitor disk usage of Elasticsearch nodes using the API?
Attempts:
2 left
💡 Hint
Think about the logical order: get data, analyze, alert, then review.
✗ Incorrect
First, you get disk stats from the API, then parse them, set alerts if needed, and regularly review to maintain health.
✅ Best Practice
expert3:00remaining
Best practice for alerting on Elasticsearch node failures
Which option describes the best practice for setting up alerts to detect Elasticsearch node failures promptly?
Attempts:
2 left
💡 Hint
Effective alerting combines availability checks and cluster health monitoring.
✗ Incorrect
Best practice is to automate alerts for node availability and cluster health changes to react quickly to failures.