GCP Professional Cloud Architect Practice Question
Your team operates an e-commerce platform on Google Kubernetes Engine. After a canary deployment promoted through Cloud Deploy rolled out to 10 % of pods, SREs observe that checkout requests intermittently exceed 4 seconds, while other services appear healthy and no exceptions reach the application logs. You must perform a structured root-cause analysis that pinpoints which call path changed with the new build and why it is slower. Which action will most effectively leverage Google Cloud's native tooling to accelerate the investigation?
Capture distributed traces with Cloud Trace, then filter Cloud Logging entries by the trace IDs to analyze slow spans and identify the service introducing latency.
Attach Cloud Debugger conditional breakpoints to the checkout pods and inspect variable values whenever response time exceeds 4 seconds.
Enable VPC Flow Logs on the cluster subnet and analyze round-trip times to detect packet loss between microservices.
Run a synthetic load-test job from Cloud Build against both the old and new container images and compare aggregate latency metrics.
Cloud Trace records end-to-end latency for distributed requests and automatically propagates the same trace ID through service calls. When request logging is enabled on GKE, Cloud Logging includes this trace ID in each log entry. By capturing the slow traces and filtering log entries by their IDs, the SRE can review the spans, correlate them with service logs, and quickly identify the downstream call or code path responsible for the latency regression. Cloud Debugger's conditional breakpoints can add latency, VPC Flow Logs surface only network metrics, and standalone load tests lack per-request tracing, so these alternatives are less effective for immediate root-cause analysis.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Cloud Trace and how does it work?
Open an interactive chat with Bash
How does Cloud Logging integrate with Cloud Trace?
Open an interactive chat with Bash
Why are VPC Flow Logs and standalone load-testing less effective for this analysis?
Open an interactive chat with Bash
What is Cloud Trace and how does it help identify latency issues?
Open an interactive chat with Bash
How can trace IDs be used with Cloud Logging to investigate issues?
Open an interactive chat with Bash
Why are VPC Flow Logs or synthetic load tests less effective for latency troubleshooting in this scenario?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .