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.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
Your microservices application running on Google Kubernetes Engine (GKE) is experiencing high p99 latency spikes during peak hours. The application communicates internally with a Cloud SQL database and externally with a third-party payment gateway via an Internal Application Load Balancer and Cloud NAT.
You need to distinguish whether the root cause of the latency bottleneck is caused by internal application processing, internal network round-trip time (RTT), or external service dependencies.
Which observability strategy should you implement?
Enable VPC Flow Logs with 100% sampling across all VPC subnets, export the logs to BigQuery, and execute scheduled queries on TCP sequence numbers to isolate application processing time.
Run tcpdump packet captures manually across all GKE worker nodes to inspect ARP packets and TCP retransmissions for each pod endpoint.
Instrument the services with OpenTelemetry to export distributed trace spans to Cloud Trace, correlate spans with Cloud Logging, and evaluate Application Load Balancer RTT and proxy latency metrics.
Configure Cloud Profiler across all GKE pods and monitor Dataflow system lag metrics to track downstream third-party API response times.
Enable VPC Flow Logs with 100% sampling across all VPC subnets, export the logs to BigQuery, and execute scheduled queries on TCP sequence numbers to isolate application processing time.
Run tcpdump packet captures manually across all GKE worker nodes to inspect ARP packets and TCP retransmissions for each pod endpoint.
Instrument the services with OpenTelemetry to export distributed trace spans to Cloud Trace, correlate spans with Cloud Logging, and evaluate Application Load Balancer RTT and proxy latency metrics.
Cloud Trace with OpenTelemetry instrumentation provides end-to-end distributed tracing across microservices, breaking down request execution paths into granular parent and child spans. Combining this with Cloud Monitoring load balancer metrics and Cloud Logging allows DevOps teams to observe the entire lifecycle of a request.
Cloud Trace combined with load balancer latency metrics directly isolates each segment of a distributed transaction. It clearly separates network transport delays from internal computation and third-party response waits, offering the quickest path to root-cause identification without introducing heavy infrastructure overhead.
Configure Cloud Profiler across all GKE pods and monitor Dataflow system lag metrics to track downstream third-party API response times.