PROFESSIONAL-CLOUD-DEVELOPER · Question #295
PROFESSIONAL-CLOUD-DEVELOPER Question #295: Real Exam Question with Answer & Explanation
The correct answer is D: Import the Cloud Profiler package into your application, and initialize the Profiler agent. Review. Google Cloud Profiler efficiently analyzes cloud-based applications, like those on GKE, using minimal code changes and flame graphs for in-depth insights into CPU and memory usage, thus identifying performance bottlenecks with ease.
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 function is consuming the most CPU and memory resources. What should you do?
Options
- AAdd print commands to the application source code to log when each function is called, and
- BCreate a Cloud Logging query that gathers the web application s logs. Write a Python script that
- CImport OpenTelemetry and Trace export packages into your application, and create the trace
- DImport the Cloud Profiler package into your application, and initialize the Profiler agent. Review
Explanation
Google Cloud Profiler efficiently analyzes cloud-based applications, like those on GKE, using minimal code changes and flame graphs for in-depth insights into CPU and memory usage, thus identifying performance bottlenecks with ease.
Topics
Community Discussion
No community discussion yet for this question.