Bird
0
0

In a microservices architecture, how can Cloud Trace best help you pinpoint which service is causing latency issues?

hard📝 Application Q8 of 15
GCP - Cloud Monitoring and Logging
In a microservices architecture, how can Cloud Trace best help you pinpoint which service is causing latency issues?
ABy analyzing the duration of spans grouped by service name to find the slowest
BBy monitoring CPU usage of each service instance
CBy checking the number of requests each service receives
DBy reviewing error logs in Cloud Logging
Step-by-Step Solution
Solution:
  1. Step 1: Understand Cloud Trace span data

    Each span represents a unit of work; grouping spans by service shows latency per service.
  2. Step 2: Exclude unrelated metrics

    CPU usage, request count, and error logs provide different insights but don't directly identify latency bottlenecks.
  3. Final Answer:

    By analyzing the duration of spans grouped by service name to find the slowest -> Option A
  4. Quick Check:

    Group spans by service latency [OK]
Quick Trick: Group spans by service to find latency bottlenecks [OK]
Common Mistakes:
  • Relying on CPU or request count instead of latency data
  • Using error logs which don't measure latency

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes