GCP Professional Cloud Architect Practice Question
After a new microservice release, your company's checkout API running on GKE intermittently takes five seconds to respond instead of the usual 200 ms. Logs alone are too noisy to pinpoint the issue. You need to quickly locate which downstream call causes the spike and inspect local variables at that moment without restarting any pods. Which Google Cloud-based troubleshooting workflow best follows RCA best practices?
Filter slow requests in Cloud Trace, open the correlated logs from the trace viewer, then set a non-breaking snapshot in Cloud Debugger on the suspicious downstream call to capture its state during the next spike.
Run an on-demand CPU profile with Cloud Profiler, export the profile to BigQuery, and analyze blocking threads to infer which call causes latency.
Add latency guard unit tests to the CI/CD pipeline and automatically roll back the release if tests exceed five-second response times.
Raise log verbosity to debug on every container, collect 24 hours of logs into BigQuery with Dataflow, and query for the average latency of each function.
The most efficient root-cause analysis starts by identifying the slow requests in Cloud Trace, because each trace shows a detailed timeline of every span across services. From a problematic trace, the View logs link lets you jump directly to the set of log entries generated during that request, eliminating the noise of unrelated traffic. Once the slow span is identified, Cloud Debugger snapshots can be set on the running container to capture stack frames and variable values the next time the code path is executed, all without stopping or redeploying the service. This end-to-end path-Trace ➜ correlated Logs ➜ non-breaking Debugger snapshot-follows Google Cloud's recommended RCA process of reproducing, isolating, and inspecting a live failure. The other options either rely on coarse profiling data, delayed log analysis, or pre-deployment testing, none of which directly correlate individual slow requests with in-process state in production.
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 help pinpoint slow requests?
Open an interactive chat with Bash
How does Cloud Debugger work to capture snapshots without restarting pods?
Open an interactive chat with Bash
What is the benefit of using correlated logs from Cloud Trace in root-cause analysis?
Open an interactive chat with Bash
What is Cloud Trace and how does it work?
Open an interactive chat with Bash
How does Cloud Debugger enable non-breaking snapshots?
Open an interactive chat with Bash
What is the correlation between Cloud Trace and Cloud Debugger in troubleshooting?
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
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .