PROFESSIONAL-CLOUD-DEVELOPER · Question #196
Your company has deployed a new API to a Compute Engine instance. During testing, the API is not behaving as expected. You want to monitor the application over 12 hours to diagnose the problem within
The correct answer is C. Cloud Debugger logpoints. Cloud Debugger offers two modes: snapshots (capture app state at a single moment) and logpoints (inject log statements into a live application without redeployment). Logpoints are the right choice here because they run continuously over an extended period - like 12 hours - genera
Question
Your company has deployed a new API to a Compute Engine instance. During testing, the API is not behaving as expected. You want to monitor the application over 12 hours to diagnose the problem within the application code without redeploying the application. Which tool should you use?
Options
- ACloud Trace
- BCloud Monitoring
- CCloud Debugger logpoints
- DCloud Debugger snapshots
How the community answered
(31 responses)- A3% (1)
- B6% (2)
- C84% (26)
- D6% (2)
Explanation
Cloud Debugger offers two modes: snapshots (capture app state at a single moment) and logpoints (inject log statements into a live application without redeployment). Logpoints are the right choice here because they run continuously over an extended period - like 12 hours - generating log output that helps diagnose behavior in application code over time. Snapshots are for one-time point-in-time inspection, not prolonged monitoring. Cloud Trace analyzes request latency, and Cloud Monitoring tracks infrastructure and service-level metrics - neither directly inspects application code logic.
Topics
Community Discussion
No community discussion yet for this question.