PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #118
You support a Node.js application running on Google Kubernetes Engine (GKE) in production. The application makes several HTTP requests to dependent applications. You want to anticipate which…
The correct answer is B. Instrument all applications with Stackdriver Trace and review inter-service HTTP requests. Stackdriver Trace allows you to collect and analyze performance data for all the applications that make up your system, including the applications running on GKE. By instrumenting your application with Stackdriver Trace, you can see detailed performance information for each…
Question
Options
- AInstrument all applications with Stackdriver Profiler.
- BInstrument all applications with Stackdriver Trace and review inter-service HTTP requests.
- CUse Stackdriver Debugger to review the execution of logic within each application to instrument
- DModify the Node.js application to log HTTP request and response times to dependent
How the community answered
(34 responses)- A6% (2)
- B85% (29)
- C6% (2)
- D3% (1)
Explanation
Stackdriver Trace allows you to collect and analyze performance data for all the applications that make up your system, including the applications running on GKE. By instrumenting your application with Stackdriver Trace, you can see detailed performance information for each request, including the time spent in each component of your system, as well as any inter-service HTTP requests. This will allow you to identify which dependent applications might be causing performance issues, so that you can focus on optimizing those services specifically.
Topics
Community Discussion
No community discussion yet for this question.