nerdexam
Google

PROFESSIONAL-CLOUD-DATABASE-ENGINEER · Question #74

Your ecommerce application connecting to your Cloud SQL for SQL Server is expected to have additional traffic due to the holiday weekend. You want to follow Google-recommended practices to set up aler

The correct answer is D. Use Cloud Monitoring to set up an alerting policy for CPU and memory metrics and to configure. Cloud Monitoring is the Google-recommended service for metrics-based alerting. It natively integrates with Cloud SQL to collect CPU and memory metrics and supports configuring alerting policies with multiple notification channels, including SMS (text message). Cloud Functions (A)

Operating and Managing Cloud SQL Instances

Question

Your ecommerce application connecting to your Cloud SQL for SQL Server is expected to have additional traffic due to the holiday weekend. You want to follow Google-recommended practices to set up alerts for CPU and memory metrics so you can be notified by text message at the first sign of potential issues. What should you do?

Options

  • AUse a Cloud Function to pull CPU and memory metrics from your Cloud SQL instance and to call
  • BUse Error Reporting to monitor CPU and memory metrics and to configure SMS notification
  • CUse Cloud Logging to set up a log sink for CPU and memory metrics and to configure a sink
  • DUse Cloud Monitoring to set up an alerting policy for CPU and memory metrics and to configure

How the community answered

(44 responses)
  • A
    14% (6)
  • B
    5% (2)
  • C
    7% (3)
  • D
    75% (33)

Explanation

Cloud Monitoring is the Google-recommended service for metrics-based alerting. It natively integrates with Cloud SQL to collect CPU and memory metrics and supports configuring alerting policies with multiple notification channels, including SMS (text message). Cloud Functions (A) could technically work but is not the recommended approach and adds unnecessary complexity. Error Reporting (B) is designed for application error tracking, not infrastructure metrics. Cloud Logging with a log sink (C) handles log-based alerts but CPU/memory are metrics, not logs-Cloud Monitoring is the correct tool.

Topics

#Cloud Monitoring#Alerting#Cloud SQL#Performance Monitoring

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DATABASE-ENGINEER Practice