Google Cloud Professional Cloud DevOps Engineer — Question 31

Your team is designing a new application for deployment into Google Kubernetes Engine (GKE). You need to set up monitoring to collect and aggregate various application-level metrics in a centralized location. You want to use Google Cloud Platform services while minimizing the amount of work required to set up monitoring. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because using OpenTelemetry simplifies the integration of application metrics with Stackdriver, allowing for efficient configuration and monitoring. Options A and D involve more manual steps and indirect methods for collecting metrics, while option B introduces unnecessary complexity by utilizing Cloud Pub/Sub instead of directly exporting to Stackdriver.