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?
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.
Option C is the most appropriate choice as it directly addresses the need to monitor container CPU and memory utilization in Cloud Run. This will help you gather the necessary data for cost optimization effectively.
Cloud Profiler more suited for debugging performance bottlenecks and less for high-level resource utilization monitoring across Cloud Run instances.
For identifying the resource utilization of a serverless application deployed on Cloud Run for cost optimization, the recommended approach is to use Cloud Monitoring, as indicated by (Option C).
Cloud Monitoring provides comprehensive monitoring capabilities, allowing you to track container CPU and memory utilization effectively. Specifically tailored for containerized environments like Cloud Run, Cloud Monitoring provides insights into key metrics, enabling you to analyze resource consumption, identify potential bottlenecks, and optimize costs based on observed utilization patterns.
By monitoring container CPU and memory metrics, you gain valuable data for making informed decisions about resource allocation, ensuring efficient usage, and ultimately optimizing the cost of running the serverless application in your production environment.
I would say B. If you deploy with cloud run you would deploy a container and the only way of improving the cost of the solution would be by looking at the app with cloud profiler. If you just look at cloud monitoring, how would you know what part of your app is the issue?
Cloud Profiler provides continuous profiling of resource consumption in your production applications, helping you identify and eliminate potential performance issues.
https://cloud.google.com/products/operations#all-features
section:Performance and cost management
Cloud Profiler is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the application's source code, helping you identify the parts of the application consuming the most resources, and otherwise illuminating the performance characteristics of the code.
Cloud profiler is designed for profiling and to optimize code performance, it is used to identify code related issues.
i will go option C
upvoted 2 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
YushiSato
Highly Voted 1 year agoJason_Cloud_at
Highly Voted 1 year, 1 month agofilipemotta
Most Recent 3 months agowinston9
5 months, 3 weeks agoxhilmi
11 months, 3 weeks agodevops_man
12 months agoAndrei_Z
1 year agokhoukha
1 year agonhiguchi
1 year, 1 month agoPrayasMohanty
1 year, 1 month agoJason_Cloud_at
1 year, 1 month ago