Google
PROFESSIONAL-CLOUD-ARCHITECT · Question #26
A small number of API requests to your microservices-based application take a very long time. You know that each request to the API can traverse many services. You want to know which service takes the
The correct answer is D. Instrument your application with Stackdnver Trace in order to break down the request latencies at. Cloud Trace is a distributed tracing system for Google Cloud that collects latency data from applications and displays it in near real-time in the Google Cloud Console. https://cloud.google.com/trace/docs/overview
Submitted by marco_it· Mar 30, 2026Ensuring solution and operations reliability
Question
A small number of API requests to your microservices-based application take a very long time. You know that each request to the API can traverse many services. You want to know which service takes the longest in those cases. What should you do?
Options
- ASet timeouts on your application so that you can fail requests faster.
- BSend custom metrics for each of your requests to Stackdriver Monitoring.
- CUse Stackdriver Monitoring to look for insights that show when your API latencies are high.
- DInstrument your application with Stackdnver Trace in order to break down the request latencies at
How the community answered
(25 responses)- A4% (1)
- B8% (2)
- C12% (3)
- D76% (19)
Explanation
Cloud Trace is a distributed tracing system for Google Cloud that collects latency data from applications and displays it in near real-time in the Google Cloud Console. https://cloud.google.com/trace/docs/overview
Topics
#distributed tracing#Stackdriver Trace#microservices#latency debugging
Community Discussion
No community discussion yet for this question.