0
0
GCPcloud~20 mins

Cloud Monitoring overview in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cloud Monitoring Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Cloud Monitoring Metrics

Which of the following best describes what a metric in Cloud Monitoring represents?

AA user account permission setting in Google Cloud.
BA static configuration file that defines alerting policies.
CA log entry generated by an application or system.
DA time series data point that measures a specific aspect of a resource or application over time.
Attempts:
2 left
💡 Hint

Think about what Cloud Monitoring tracks continuously to observe system health.

💻 Command Output
intermediate
2:00remaining
Interpreting Metric Descriptions

What is the output of the following gcloud command that lists metric descriptors for Compute Engine?

GCP
gcloud monitoring metrics descriptors list --filter="metric.type:starts_with('compute.googleapis.com')" --limit=1 --format="value(displayName)"
ADisk read bytes
BNetwork received bytes
CCPU utilization
DInstance uptime
Attempts:
2 left
💡 Hint

The first Compute Engine metric descriptor in list order is CPU utilization.

🔀 Workflow
advanced
3:00remaining
Creating an Alerting Policy Workflow

Which sequence correctly describes the steps to create an alerting policy in Cloud Monitoring?

A1,2,3,4
B2,1,3,4
C1,3,2,4
D3,1,2,4
Attempts:
2 left
💡 Hint

Think about the logical order from selecting what to monitor to saving the alert.

Troubleshoot
advanced
2:30remaining
Diagnosing Missing Metrics in Cloud Monitoring

You notice that a custom metric you created is not showing any data points in Cloud Monitoring. Which of the following is the most likely cause?

AThe metric descriptor was not created or registered properly.
BThe Google Cloud project is deleted.
CThe metric data is stored in BigQuery instead of Cloud Monitoring.
DThe Cloud Monitoring API is disabled in the project.
Attempts:
2 left
💡 Hint

Custom metrics require proper registration before data can be sent.

Best Practice
expert
3:00remaining
Optimizing Cloud Monitoring Costs

Which practice helps reduce costs when using Cloud Monitoring for a large number of resources?

ASend metric data to multiple projects to distribute storage.
BUse metric filters to collect only necessary metrics and reduce data volume.
CEnable all available metrics for every resource to ensure full coverage.
DIncrease the data retention period to keep all historical data indefinitely.
Attempts:
2 left
💡 Hint

Think about how to limit data collection to what is essential.