
Answer-first summary for fast verification
Answer: Integrate the tracing agent into your application and analyze the latency data in the Cloud Trace console.
Option B is the correct choice because Cloud Trace offers distributed tracing capabilities for applications, allowing you to examine latency data for individual requests and aggregate latency for the entire application through the Cloud Trace console. Option A is incorrect as the monitoring agent does not specifically capture latency data. Option C is also incorrect because the logging agent is not designed to gather latency information. Option D is not suitable for this scenario as the debugger agent is intended for real-time application state inspection and does not provide the necessary latency data. Reference: [Cloud Trace Documentation](https://cloud.google.com/trace/docs/setup)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are investigating a gradual decline in the response time of a production application deployed on a Managed Instance Group consisting of five instances. What are the most efficient steps to diagnose this issue with minimal overhead?
A
Deploy the monitoring agent and set up a dashboard to monitor response times.
B
Integrate the tracing agent into your application and analyze the latency data in the Cloud Trace console.
C
Implement the logging agent and establish a logs-based metric in Cloud Logging.
D
Utilize the debugger agent to examine the application's state in real-time via the Cloud Debugger console.
No comments yet.