nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #295

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 consu

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #295. The question stem and answer options stay visible for context.

Monitoring, Logging, and Debugging Applications

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

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cloud Profiler#Performance Monitoring#Go#Resource Utilization
Full PROFESSIONAL-CLOUD-DEVELOPER Practice