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?
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.
D. Use a distributed tracing framework such as OpenTelemetry or Stackdriver Trace. Distributed tracing allows you to trace the path of a request as it travels through multiple services and identify where delays may be occurring. This can provide detailed information about the request and response timings for each service, making it easier to pinpoint which services are causing delays in your application. OpenTelemetry and Stackdriver Trace are both available on GCP, and provide easy integration with Kubernetes and other GCP services.
D is the answer.
https://cloud.google.com/trace/docs/overview
Cloud Trace, a distributed tracing system for Google Cloud, helps you understand how long it takes your application to handle incoming requests from users or other applications, and how long it takes to complete operations like RPC calls performed when handling the requests.
Correct answer is C.
Check this link - https://cloud.google.com/architecture/processing-logs-at-scale-using-dataflow?hl=en
D cannot be the answer because Strackdriver tracing is useful in troubleshooting a single application ( providing a lot of information). Here ques is about multiple services in the downstream. Read the ques carefully.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
job_search83
Highly Voted 2 years, 6 months agojunn8
Highly Voted 2 years, 1 month agojomonkp
Most Recent 4 months, 4 weeks agoJonathanSJ
1 year, 3 months agozellck
1 year, 6 months agopradoUA
1 year, 6 months agomaddy94
2 years, 1 month agocyrus86
2 years, 3 months agoSekierer
2 years, 3 months agoTNT87
2 years, 4 months agoTNT87
2 years, 4 months agoTNT87
2 years, 4 months agoric79
2 years, 1 month agogiammydell
2 years, 5 months agoDreamingjin
2 years, 6 months ago