Professional Cloud DevOps Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An e-commerce backend running on Google Cloud experiences periodic latency spikes during high-traffic sales events. When inspecting distributed trace waterfalls in Cloud Trace, the DevOps team identifies an elongated span corresponding to a database query operation within the ordering service.
You need to correlate this trace span with Cloud Logging entries and Cloud Monitoring metrics to determine whether the latency spike is caused by unoptimized application query logic or infrastructure-level resource constraints.
Which diagnostic workflow should you use?
This diagnostic approach correlates distributed tracing with Cloud Logging and Cloud Monitoring by linking the trace identifier across system logs and analyzing detailed resource consumption metrics in Cloud SQL Query Insights.
trace and spanId fields in structured log entries. Filtering logs by the trace ID from the slow waterfall span surfaces exact query timestamps, application context, and runtime warnings.tempdb), causing the span latency observed in Cloud Trace.This workflow systematically leverages native GCP observability integrations to disambiguate software inefficiencies from hardware resource bottlenecks without requiring intrusive manual debugging.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.