PROFESSIONAL-CLOUD-DEVELOPER · Question #60
Your company has deployed a new API to App Engine Standard environment. During testing, the API is not behaving as expected. You want to monitor the application over time to diagnose the problem…
The correct answer is D. Stackdriver Debug Logpoints. Stackdriver (Cloud) Debugger Logpoints allow you to inject temporary logging statements into a running application in App Engine without stopping it, restarting it, or redeploying it. Logpoints fire every time the specified line of code is executed, emitting a log entry to…
Question
Your company has deployed a new API to App Engine Standard environment. During testing, the API is not behaving as expected. You want to monitor the application over time to diagnose the problem within the application code without redeploying the application. Which tool should you use?
Options
- AStackdriver Trace
- BStackdriver Monitoring
- CStackdriver Debug Snapshots
- DStackdriver Debug Logpoints
How the community answered
(34 responses)- A6% (2)
- B15% (5)
- C3% (1)
- D76% (26)
Explanation
Stackdriver (Cloud) Debugger Logpoints allow you to inject temporary logging statements into a running application in App Engine without stopping it, restarting it, or redeploying it. Logpoints fire every time the specified line of code is executed, emitting a log entry to Stackdriver Logging. This makes them ideal for diagnosing misbehavior over time. Option C (Debug Snapshots) captures a one-time snapshot of the application state when a specific line is hit, which is useful for inspecting variable values at a point in time but not for continuous monitoring. Option A (Trace) measures request latency, not code-level logic. Option B (Monitoring) tracks infrastructure metrics, not application code behavior.
Topics
Community Discussion
No community discussion yet for this question.