exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 206 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 206
Topic #: 1
[All Professional Cloud Developer Questions]

You recently deployed a Go application on Google Kubernetes Engine (GKE). The operations team has noticed that the application's CPU usage is high even when there is low production traffic. The operations team has asked you to optimize your application's CPU resource consumption. You want to determine which Go functions consume the largest amount of CPU. What should you do?

  • A. Deploy a Fluent Bit daemonset on the GKE cluster to log data in Cloud Logging. Analyze the logs to get insights into your application code’s performance.
  • B. Create a custom dashboard in Cloud Monitoring to evaluate the CPU performance metrics of your application.
  • C. Connect to your GKE nodes using SSH. Run the top command on the shell to extract the CPU utilization of your application.
  • D. Modify your Go application to capture profiling data. Analyze the CPU metrics of your application in flame graphs in Profiler.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
alpha_canary
2 months, 2 weeks ago
Selected Answer: D
https://cloud.google.com/profiler/docs/profiling-go https://cloud.google.com/profiler/docs/interacting-flame-graph
upvoted 1 times
...
__rajan__
9 months, 1 week ago
Selected Answer: D
D is correct.
upvoted 1 times
...
purushi
10 months, 4 weeks ago
Selected Answer: D
Key here is flame graphs from the profiler. So using cloud profiler is the right choice.
upvoted 1 times
...
Pime13
1 year, 4 months ago
Selected Answer: D
https://cloud.google.com/profiler/docs 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
upvoted 2 times
...
TNT87
1 year, 6 months ago
Answer D
upvoted 1 times
...
sharath25
1 year, 6 months ago
Selected Answer: D
option D
upvoted 1 times
...
zellck
1 year, 6 months ago
Selected Answer: D
D is the answer. 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.
upvoted 2 times
...
melisargh
1 year, 7 months ago
Selected Answer: D
D is correct https://cloud.google.com/profiler/docs
upvoted 1 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago