nerdexam
Google

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

Managing application performance and reliability

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)
  • A
    3% (1)
  • B
    6% (2)
  • C
    84% (26)
  • D
    6% (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

#Cloud Debugger#Application Troubleshooting#Logpoints#No Redeployment Debugging

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice