Google Cloud Professional Cloud DevOps Engineer — Question 67
You have an application running in Google Kubernetes Engine. The application invokes multiple services per request but responds too slowly. You need to identify which downstream service or services are causing the delay. What should you do?
Answer options
- A. Analyze VPC flow logs along the path of the request.
- B. Investigate the Liveness and Readiness probes for each service.
- C. Create a Dataflow pipeline to analyze service metrics in real time.
- D. Use a distributed tracing framework such as OpenTelemetry or Stackdriver Trace.
Correct answer: D
Explanation
The correct answer is D because distributed tracing allows you to track the flow of requests through various services, pinpointing where delays occur. Option A focuses on network traffic rather than service response times, while B addresses service health checks without tracing request paths. Option C involves real-time metrics analysis but does not provide the detailed request tracing needed to identify specific delays.