Challenge - 5 Problems
Atlas Metrics Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Understanding Atlas Metrics Query Output
You run the following Atlas API command to fetch CPU usage metrics for your cluster over the last hour:
What type of data will the response contain?
curl -X GET 'https://cloud.mongodb.com/api/atlas/v1.0/groups/{GROUP-ID}/processes/{HOST}:{PORT}/measurements?granularity=PT1M&period=PT1H&metrics=CPU_USER'What type of data will the response contain?
Attempts:
2 left
💡 Hint
Think about what 'measurements' and 'granularity' parameters imply in the API call.
✗ Incorrect
The Atlas API returns metrics data as JSON with timestamps and values. The granularity=PT1M means data points every minute, and period=PT1H means last hour.
🧠 Conceptual
intermediate2:00remaining
Choosing Metrics for Performance Monitoring
Which Atlas metric is best to monitor if you want to detect slow query performance caused by disk I/O bottlenecks?
Attempts:
2 left
💡 Hint
Disk queue depth indicates how many operations are waiting for disk access.
✗ Incorrect
DISK_QUEUE_DEPTH shows how many disk operations are waiting, which directly relates to disk I/O bottlenecks affecting query speed.
❓ Troubleshoot
advanced2:00remaining
Diagnosing Missing Metrics in Atlas Dashboard
You notice that your Atlas cluster dashboard is not showing any data for the 'MEMORY_RESIDENT' metric for the past day. What is the most likely cause?
Attempts:
2 left
💡 Hint
Think about what happens to metrics collection when the cluster is not running.
✗ Incorrect
If the cluster is paused or stopped, Atlas cannot collect or report metrics, so the dashboard will show no data.
🔀 Workflow
advanced2:00remaining
Setting Up Alerts for High CPU Usage
You want to create an alert in Atlas that triggers when CPU usage exceeds 80% for more than 5 minutes. Which steps correctly describe this setup?
Attempts:
2 left
💡 Hint
Alerts are based on metric thresholds and notification settings.
✗ Incorrect
Atlas alerts are configured by selecting a metric, setting a threshold and duration, and linking to notification channels like email or Slack.
✅ Best Practice
expert2:00remaining
Optimizing Atlas Monitoring Costs
To reduce costs while maintaining effective monitoring in Atlas, which practice is recommended?
Attempts:
2 left
💡 Hint
Less frequent data points reduce storage and processing costs.
✗ Incorrect
Using coarser granularity reduces the number of data points collected and stored, lowering monitoring costs without losing essential trend information.