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 checkout flow spans three microservices instrumented with OpenTelemetry: frontend-service, payment-service, and inventory-service. Users intermittently experience 504 Gateway Timeout errors during high-traffic flash sales.
You examine Cloud Trace in the Google Cloud console and observe the following pattern on failing requests:
frontend-service: /checkout) has a duration of 30,000 ms.payment-service: /charge) executes concurrently and completes successfully in 250 ms.inventory-service: /reserve) remains active for 29,750 ms before returning an HTTP 500 error status.You need to isolate the critical path bottleneck and determine the root cause of the failure using integrated Google Cloud Observability tooling.
What should you do?
In distributed tracing, the critical path represents the sequence of dependent operations that determines the minimum total duration of the end-to-end transaction. When parent spans wait on child operations, the slowest sequential child span directly dictates the total latency. Using Google Cloud Trace, developers can drill down directly from a specific span in the Trace details panel to correlated application logs via the Logs & Events tab.
/charge finishes in 250 ms, /reserve consumes 29,750 ms of the 30,000 ms root span before timing out and failing, pinpointing inventory-service as the blocking bottleneck.trace_id and span_id contexts without manual querying.inventory-service that triggered the HTTP 500.Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.