Google Cloud Professional Cloud DevOps Engineer — Question 47

Your team is designing a new application for deployment both inside and outside Google Cloud Platform (GCP). You need to collect detailed metrics such as system resource utilization. You want to use centralized GCP services while minimizing the amount of work required to set up this collection system. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because using the Stackdriver Profiler allows for efficient collection of detailed function timing data, which is ideal for analyzing performance metrics with minimal setup. Options B and C focus on debugging and custom instrumentation, which require more manual effort and may not provide the same level of centralized monitoring. Option D involves installing an APM tool, which adds unnecessary complexity compared to utilizing existing GCP services.