Which Google Cloud service is used for monitoring and alerting on the performance and health of cloud resources?
Cloud Monitoring is Google Cloud's primary service for operational visibility and alerting. It ingests metrics from GCP and external sources, stores them in a time-series database, and evaluates alerting policies that can trigger notifications via email, SMS, Pub/Sub, or webhooks. It also offers built-in dashboards and the Metrics Explorer for real-time and historical performance analysis, making it the correct answer for monitoring and alerting.
Why this answer
Cloud Monitoring is Google Cloud's service for collecting metrics, creating dashboards, and configuring alerts on the performance and health of cloud resources. It integrates with services like Compute Engine, GKE, and Cloud Run to provide visibility and proactive notifications. This directly matches the requirement for monitoring and alerting.
Exam trap
The trap is confusing Cloud Monitoring with Cloud Logging or Cloud Trace — candidates often pick Logging because logs also indicate health, but the question specifically asks for monitoring and alerting on performance metrics.
How to eliminate wrong answers
Option B is wrong because Cloud Logging is designed for storing, searching, and analyzing log data, not for metric-based monitoring and alerting on resource health. Option C is wrong because Cloud Profiler continuously analyzes CPU and memory usage of applications to identify performance bottlenecks in code, not infrastructure health monitoring. Option D is wrong because Cloud Trace is a distributed tracing system for latency analysis across microservices, not a monitoring and alerting platform for resource health.