Google Cloud Professional Cloud DevOps Engineer — Question 186
Your company has recently experienced several production service issues. You need to create a Cloud Monitoring dashboard to troubleshoot the issues, and you want to use the dashboard to distinguish between failures in your own service and those caused by a Google Cloud service that you use. What should you do?
Answer options
- A. Create a log-based metric to track cloud service errors, and display the metric on the dashboard.
- B. Create a logs widget to display system errors from Cloud Logging on the dashboard.
- C. Create an alerting policy for the system error metrics.
- D. Enable Personalized Service Health annotations on the dashboard.
Correct answer: D
Explanation
The correct answer is D because enabling Personalized Service Health annotations allows you to see the status of Google Cloud services alongside your own service health, helping to differentiate between the two. Options A and B focus solely on logging metrics without providing the necessary context to distinguish service failures. Option C is about alerting, which does not assist in visualizing the service health distinctions on the dashboard.