nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #65

You want to notify on-call engineers about a service degradation in production while minimizing development time. What should you do?

The correct answer is D. Use Stackdriver Monitoring to monitor resources and raise alerts. Stackdriver (Cloud) Monitoring provides built-in alerting policies that can monitor resource metrics (CPU, latency, error rates, etc.) and send notifications to on-call engineers via built-in notification channels such as email, PagerDuty, OpsGenie, Slack, and more. This…

Monitoring, Logging, and Troubleshooting

Question

You want to notify on-call engineers about a service degradation in production while minimizing development time. What should you do?

Options

  • AUse Cloud Function to monitor resources and raise alerts.
  • BUse Cloud Pub/Sub to monitor resources and raise alerts.
  • CUse Stackdriver Error Reporting to capture errors and raise alerts.
  • DUse Stackdriver Monitoring to monitor resources and raise alerts.

How the community answered

(47 responses)
  • A
    9% (4)
  • B
    4% (2)
  • C
    15% (7)
  • D
    72% (34)

Explanation

Stackdriver (Cloud) Monitoring provides built-in alerting policies that can monitor resource metrics (CPU, latency, error rates, etc.) and send notifications to on-call engineers via built-in notification channels such as email, PagerDuty, OpsGenie, Slack, and more. This requires no custom code - you configure alerting policies through the console or API. Options A and B (Cloud Functions and Cloud Pub/Sub) can be used to build custom monitoring pipelines but require significant development effort. Option C (Error Reporting) captures and groups errors but does not provide the same integrated monitoring and notification workflow; additional configuration is needed to route alerts to on-call teams.

Topics

#Cloud Monitoring#Alerting#Operational Tools#Managed Services

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice