Google Professional Cloud Developer Exam - Topic 13 Question 70 Discussion
You are monitoring a web application that is written in Go and deployed in Google Kubernetes Engine. You notice an increase in CPU and memory utilization. You need to determine which source code is consuming the most CPU and memory resources. What should you do?
B) Import the Cloud Profiler package into your application, and initialize the Profiler agent. Review the generated flame graph in the Google Cloud console to identify time-intensive functions.
A) Download, install, and start the Snapshot Debugger agent in your VM. Take debug snapshots of the functions that take the longest time. Review the call stack frame, and identify the local variables at that level in the stack.
C) Import OpenTelemetry and Trace export packages into your application, and create the trace provider.
Review the latency data for your application on the Trace overview page, and identify where bottlenecks are occurring.
D) Create a Cloud Logging query that gathers the web application's logs. Write a Python script that calculates the difference between the timestamps from the beginning and the end of the application's longest functions to identity time-intensive functions.
Deandrea
9 months agoCaprice
10 months agoYvette
10 months agoMalcolm
10 months agoTyra
10 months agoReuben
10 months agoCarey
11 months agoKaycee
11 months agoEdna
11 months agoLou
11 months agoCaitlin
11 months agoRoselle
11 months agoDelmy
11 months agoMari
11 months agoPatti
11 months agoBette
11 months agoCarman
11 months agoJutta
11 months ago