hiexam
google · Professional-Cloud-DevOps-Engineer · Q424 · multiple_choice · topic_1

You support a Node.js application running on Google Kubernetes Engine (GKE) in production. The application makes severa…

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 dependent applications might cause performance issues. What should you do?
  • A.Instrument all applications with Stackdriver Profiler.
  • B.Instrument all applications with Stackdriver Trace and review inter-service HTTP requests.
  • C.Use Stackdriver Debugger to review the execution of logic within each application to instrument all applications.
  • D.Modify the Node.js application to log HTTP request and response times to dependent applications. Use Stackdriver Logging to find dependent applications that are performing poorly.
Explanation
Answer is B. The keyword is "make several requests to dependent app". So you need trace for it. Cloud Trace Find performance bottlenecks in production. Cloud Profiler Continuous CPU and heap profiling to improve performance and reduce costs.

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.