PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice question 7 of 25
[Optimizing service performance] 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?
Full set: 205 questionsCloud Trace is the purpose-built Google Cloud service for distributed tracing. It captures latency data for requests as they travel across multiple services in a distributed system, such as a Node.js application on GKE calling dependent applications. By visualizing the request flow in a "waterfall" graph, Cloud Trace makes it easy to identify which specific inter-service HTTP call is introducing latency, directly addressing the need to anticipate which dependent applications might cause performance issues.
A. Cloud Profiler analyzes CPU and memory usage within a single service to find inefficient code, not latency between services.
C. Cloud Debugger is for inspecting an application's state at a specific line of code; it is not a performance analysis tool for inter-service communication.
D. Manually logging times adds code overhead and requires significant effort to query and analyze, whereas Cloud Trace automates this process efficiently.
1. Google Cloud Documentation, "Cloud Trace overview". The documentation states, "Cloud Trace is a distributed tracing system that collects latency data from your applications and displays it in the Google Cloud console... It lets you find performance bottlenecks in your applications."
2. Google Cloud Documentation, "Choosing a debugging and analysis tool". This page compares Trace, Debugger, Profiler, and Logging, clarifying that Trace is used to "Understand how requests propagate through your application and to observe latency."
Keep practicing
Take the free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PROFESSIONAL-CLOUD-DEVOPS-ENGINEER practice questions
- Question 1[Building and implementing CI/CD pipelines for a service] You need to enforce several con…
- Question 2You deployed an application into a large Standard Google Kubernetes Engine (GKE) cluster.…
- Question 3You are responding to a high-priority incident where a critical, user-facing payment serv…
- Question 4[Applying Site Reliability Engineering (SRE) principles to a service] You support a user-…
- Question 5You are deploying an application that needs to access sensitive information. You need to …
- Question 6[Building and implementing CI/CD pipelines for a service] You are building an application…
