Google Cloud Professional Cloud DevOps Engineer — Question 114
You built a serverless application by using Cloud Run and deployed the application to your production environment. You want to identify the resource utilization of the application for cost optimization. What should you do?
Answer options
- A. Use Cloud Trace with distributed tracing to monitor the resource utilization of the application.
- B. Use Cloud Profiler with Ops Agent to monitor the CPU and memory utilization of the application.
- C. Use Cloud Monitoring to monitor the container CPU and memory utilization of the application.
- D. Use Cloud Ops to create logs-based metrics to monitor the resource utilization of the application.
Correct answer: C
Explanation
The correct answer is C, as Cloud Monitoring provides detailed insights into container CPU and memory utilization, which is essential for understanding resource usage in a serverless setting. Options A and B focus on tracing and profiling, which are less suited for direct resource utilization monitoring. Option D involves logs-based metrics, which may not provide the same level of granularity for real-time resource tracking as Cloud Monitoring does.