
Answer-first summary for fast verification
Answer: Instrument your application and submit traces to Cloud Trace
Cloud Trace is the correct choice as it provides insights into how requests propagate through the various components of your application, such as microservices or functions. Options A and D are not suitable because logging and monitoring agents do not offer visibility into request propagation. Option B is also incorrect since monitoring CPU utilization does not reveal how requests move through the application's components. For more information, refer to [Cloud Trace documentation](https://cloud.google.com/trace/docs/setup).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a support provider for a Python application running on Compute Engine, you've noticed complaints about its slow response times. To investigate how requests flow through your application, what should you do?
A
Install the logging agent and send logs to Cloud Logging
B
Create a dashboard to monitor the CPU utilization of the Compute Engine
C
Instrument your application and submit traces to Cloud Trace
D
Install the monitoring agent and send metrics to Cloud Monitoring
No comments yet.