Google Cloud Professional Cloud DevOps Engineer — Question 36

You support an application that stores product information in cached memory. For every cache miss, an entry is logged in Stackdriver Logging. You want to visualize how often a cache miss happens over time. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating a logs-based metric in Stackdriver Logging allows you to quantify cache misses effectively and visualize them in Stackdriver Monitoring. Option A does not provide the necessary metrics for visualization, while Option B focuses on profiling rather than tracking frequency. Option D, while useful for data analysis, adds unnecessary complexity for simply tracking cache misses over time.