An API deployed to a Compute Engine VM behaves incorrectly during testing and you need to diagnose the application code over a 12-hour period without redeploying. Which tool should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: Cloud Debugger logpoints.
Why this is the answer
Cloud Debugger logpoints allow you to inject logging statements into a running application without redeploying or restarting it. This is ideal for diagnosing issues over an extended period (like 12 hours) by collecting specific variable values or execution paths. Cloud Debugger snapshots capture the full state of your application at a specific point in time, which is useful for immediate debugging but less suited for continuous monitoring over a long duration without redeploying. Cloud Trace helps analyze latency and performance across distributed systems, not for inspecting application code logic. Cloud Monitoring collects metrics and logs, but doesn't offer the ability to inject custom logging into running code on demand.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed