
Answer-first summary for fast verification
Answer: Implement application instrumentation and send traces to Cloud Trace
The correct approach is to instrument your application and submit traces to Cloud Trace, as it provides visibility into how requests propagate through various components (microservices or functions) of your application. Other options like monitoring CPU utilization or sending logs to Cloud Logging do not offer insights into request propagation paths. Refer to the documentation on instrumenting for Cloud Trace for more details.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are supporting a Python application running on Compute Engine in production, which has recently been reported to respond slowly. To investigate how requests move through your application, what should you do?
A
Set up a dashboard to keep an eye on the CPU usage of the Compute Engine instance
B
Integrate the logging agent and forward logs to Cloud Logging
C
Implement application instrumentation and send traces to Cloud Trace
D
Deploy the monitoring agent and dispatch metrics to Cloud Monitoring
No comments yet.