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 61 discussion

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

Your application performs well when tested locally, but it runs significantly slower after you deploy it to a Compute Engine instance. You need to diagnose the problem. What should you do?
What should you do?

  • A. File a ticket with Cloud Support indicating that the application performs faster locally.
  • B. Use Cloud Debugger snapshots to look at a point-in-time execution of the application.
  • C. Use Cloud Profiler to determine which functions within the application take the longest amount of time.
  • D. Add logging commands to the application and use Cloud Logging to check where the latency problem occurs.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
santoshchauhan
7 months, 3 weeks ago
Selected Answer: C
C. Use Cloud Profiler to determine which functions within the application take the longest amount of time. Cloud Profiler is a tool provided by Google Cloud that helps you analyze and understand the performance characteristics of your application. It allows you to see where the application spends its time, how much CPU and memory it uses, and which functions or methods are the most time-consuming. This is particularly useful when you need to diagnose performance bottlenecks that are not apparent during local development but become evident in a production environment, such as a Compute Engine instance.
upvoted 1 times
...
__rajan__
1 year, 1 month ago
Selected Answer: C
C is correct
upvoted 1 times
...
telp
1 year, 9 months ago
Selected Answer: C
A is incorrect because the argument “it worked on my machine” but doesn’t work on Google Cloud is never valid. B is incorrect because Debugger snapshots only lets us review the application at a single point in time. C is correct because it provides latency per function and historical latency information. D is incorrect because while it works it requires a lot of work and is not the clear, optimal choice.
upvoted 2 times
...
omermahgoub
1 year, 9 months ago
Option C is the correct answer. Cloud Profiler is a performance analysis tool that allows you to identify performance issues in your application. It provides detailed information about the time spent executing different functions in your application, which can help you identify the cause of the performance issue. Option A is not a good solution because filing a ticket with Cloud Support will not help you diagnose the problem. Option B is not a good solution because Cloud Debugger snapshots provide information about the state of variables at a specific point in time, but they do not provide information about the time spent executing different functions. Option D is not a good solution because adding logging commands to the application and using Cloud Logging can help you identify where the latency problem occurs, but it will not provide information about the time spent executing different functions.
upvoted 1 times
...
subesingh
2 years, 1 month ago
C is the correct answer
upvoted 1 times
...
tomato123
2 years, 2 months ago
Selected Answer: C
C is correct
upvoted 3 times
...
maxdanny
2 years, 3 months ago
Selected Answer: C
Correct is C
upvoted 1 times
...
ParagSanyashiv
2 years, 9 months ago
Selected Answer: C
Correct answer is C
upvoted 3 times
...
mister
2 years, 9 months ago
This should be C
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