Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can you set up an alert in Google Cloud when your Cloud Run application's HTTP 500 errors exceed 15% of total requests within a given time window?
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.