
Answer-first summary for fast verification
Answer: Instrument all applications with Stackdriver Trace and review inter-service HTTP requests.
Stackdriver Trace (Cloud Trace) is designed for distributed tracing, which captures and visualizes the latency of HTTP requests between microservices. By instrumenting all applications with Trace, you can review inter-service dependencies, identify high-latency or failing requests, and anticipate performance bottlenecks in dependent applications. This is more efficient and automated than manual logging (Option D) and better suited than Profiler (Option A) or Debugger (Option C), which address different concerns like code-level performance or debugging.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can you proactively identify potential performance issues in dependent applications that your Node.js application communicates with via HTTP requests when running on Google Kubernetes Engine (GKE) in production?
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.
No comments yet.