exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 138 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 138
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

Your company processes IoT data at scale by using Pub/Sub, App Engine standard environment, and an application written in Go. You noticed that the performance inconsistently degrades at peak load. You could not reproduce this issue on your workstation. You need to continuously monitor the application in production to identify slow paths in the code. You want to minimize performance impact and management overhead. What should you do?

  • A. Use Cloud Monitoring to assess the App Engine CPU utilization metric.
  • B. Install a continuous profiling tool into Compute Engine. Configure the application to send profiling data to the tool.
  • C. Periodically run the go tool pprof command against the application instance. Analyze the results by using flame graphs.
  • D. Configure Cloud Profiler, and initialize the cloud.google.com/go/profiler library in the application.
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
khoukha
Highly Voted 6 months ago
answer is D: https://cloud.google.com/profiler/docs/profiling-go#app-engine
upvoted 7 times
...
xhilmi
Most Recent 4 months, 3 weeks ago
Selected Answer: D
Choose option D Configure Cloud Profiler and initialize the cloud.google.com/go/profiler library in the application. Cloud Profiler is designed for low-overhead continuous profiling in production environments. By configuring Cloud Profiler and initializing the corresponding library in the Go application, you can collect detailed performance data without significantly impacting the application's performance. This approach allows you to analyze profiling information, identify slow paths in the code, and gain insights into performance bottlenecks, providing a powerful and efficient way to troubleshoot and optimize the application in a production environment.
upvoted 2 times
...
mshafa
5 months, 2 weeks ago
Selected Answer: D
D is the answer.
upvoted 2 times
...
lelele2023
6 months ago
Selected Answer: D
// appengine is an example of starting cloud.google.com/go/profiler on // App Engine. package main import ( "cloud.google.com/go/profiler" )
upvoted 2 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