QuestionQ195
Designing scalable, available, and reliable cloud-native applicationsYou support a business-critical production application deployed on Cloud Run. The application is reporting HTTP 500 errors that are affecting its usability. You want to receive an alert when errors exceed 15% of requests within a specified time window. What should you do?
- A Create a Cloud Function that consumes the Cloud Monitoring API. Use Cloud Scheduler to trigger the Cloud Function daily and alert you if the number of errors is above the defined threshold.
- B Navigate to the Cloud Run page in the Google Cloud console, and select the service from the services list. Use the Metrics tab to visualize the number of errors for that revision, and refresh the page daily.
- C Create an alerting policy in Cloud Monitoring that alerts you if the number of errors is above the defined threshold.
- D Create a Cloud Function that consumes the Cloud Monitoring API. Use Cloud Composer to trigger the Cloud Function daily and alert you if the number of errors is above the defined threshold.
Community Discussion