Google
ASSOCIATE-CLOUD-ENGINEER · Question #242
You are monitoring an application and receive user feedback that a specific error is spiking. You notice that the error is caused by a Service Account having insufficient permissions. You are able to
The correct answer is C. Create a custom log-based metrics for the specific error to be used in an Alerting Policy.. Just checked in GC Console. Created custom log-based metric and set up an allert. https://cloud.google.com/logging/docs/logs-based-metrics/charts-and-alerts
Submitted by zhang_li· Mar 30, 2026Ensuring successful operation of a cloud solution
Question
You are monitoring an application and receive user feedback that a specific error is spiking. You notice that the error is caused by a Service Account having insufficient permissions. You are able to solve the problem but want to be notified if the problem recurs. What should you do?
Options
- AIn the Log Viewer, filter the logs on severity `Error' and the name of the Service Account.
- BCreate a sink to BigQuery to export all the logs.
- CCreate a custom log-based metrics for the specific error to be used in an Alerting Policy.
- DGrant Project Owner access to the Service Account.
How the community answered
(48 responses)- A15% (7)
- B4% (2)
- C75% (36)
- D6% (3)
Explanation
Just checked in GC Console. Created custom log-based metric and set up an allert. https://cloud.google.com/logging/docs/logs-based-metrics/charts-and-alerts
Topics
#Cloud Logging#log-based metrics#alerting policy#Service Account
Community Discussion
No community discussion yet for this question.