
Answer-first summary for fast verification
Answer: Instrument your application with Google Client libraries and analyze the traces in Cloud Trace to pinpoint the cause of the slow response.
Option A is correct because Cloud Trace provides insights into how long your application takes to process requests and the overall latency, helping identify bottlenecks. Option B is incorrect as Cloud Logging only displays application logs without latency or bottleneck information. Option C is incorrect because Cloud Debugger is for inspecting the application code’s state during runtime, not for performance analysis. Option D is incorrect since Cloud Profiler is designed for continuous monitoring of CPU and memory usage, not for pinpointing response time issues. Reference: https://cloud.google.com/trace/docs/overview
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your organization has recently transitioned to deploying its applications in the Cloud, specifically on Compute Engine. However, during testing, users report experiencing slow response times from the application. What strategies can you employ to diagnose the cause of the high response time?
A
Instrument your application with Google Client libraries and analyze the traces in Cloud Trace to pinpoint the cause of the slow response.
B
Install the logging agent on the VMs and review the logs in Cloud Logging to identify the issue causing the slow response.
C
Install the Debugger agent on the VMs and examine the data in Cloud Profiler to determine what part of the application is slowing down.
D
Install the Profiler package on the VMs and analyze the data in Cloud Profiler to identify the slow response cause.
No comments yet.