Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
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.
C is correct
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.