
Explanation:
The correct answer is D. Cloud Profiler is a GCP service designed for collecting detailed metrics such as system resource utilization, both inside and outside of GCP. It's a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. This approach leverages a centralized GCP service, minimizing the setup effort required.
Ultimate access to all questions.
No comments yet.
Your team is developing a new application for deployment both within and outside Google Cloud Platform (GCP). The goal is to collect detailed metrics like system resource utilization using centralized GCP services with minimal setup effort. What is the best approach?
A
Install an Application Performance Monitoring (APM) tool in both locations, and configure an export to a central data storage location for analysis.
B
Instrument the code using a timing library, and publish the metrics via a health check endpoint that is scraped by Cloud Monitoring.
C
Import the Cloud Debugger package, and configure the application to emit debug messages with timing information.
D
Import the Cloud Profiler package, and configure it to relay function timing data to Cloud Operations for further analysis.