PROFESSIONAL-CLOUD-DEVELOPER · Question #238
PROFESSIONAL-CLOUD-DEVELOPER Question #238: Real Exam Question with Answer & Explanation
The correct answer is B: Import the Cloud Profiler package into your application, and initialize the Profiler agent. Review. https://cloud.google.com/profiler/docs/about-profiler 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 source code that generated i
Question
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?
Options
- ADownload, install, and start the Snapshot Debugger agent in your VM. Take debug snapshots of
- BImport the Cloud Profiler package into your application, and initialize the Profiler agent. Review
- CImport OpenTelemetry and Trace export packages into your application, and create the trace
- DCreate a Cloud Logging query that gathers the web application's logs. Write a Python script that
Explanation
https://cloud.google.com/profiler/docs/about-profiler 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 source code that generated it, helping you identify the parts of your application that are consuming the most resources, and otherwise illuminating your applications performance characteristics.
Topics
Community Discussion
No community discussion yet for this question.