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
A production microservices application running on Google Kubernetes Engine (GKE) is experiencing severe tail latency during peak checkout periods. A DevOps engineer investigates the issue across Google Cloud Observability tools and observes the following telemetry:
checkout service spends over 3.2 seconds waiting on a specific internal span inside the payment-auth service, while downstream database calls within that span complete in less than 15 milliseconds.payment-auth service exhibits very low CPU time, but shows extremely high Wall time and Contention concentrated on a shared synchronization mutex routine in the application runtime.Which root cause and diagnostic conclusion do these correlated telemetry signals indicate?
The bottleneck is caused by application-level thread or lock contention inside the service, where threads are blocked waiting for shared resources rather than consuming CPU cycles or waiting on downstream databases.
The bottleneck is caused by inter-service network packet drop and VPC latency between GKE pods, which requires enabling cross-zone network peering and optimizing MTU settings.
The bottleneck is caused by database resource exhaustion and high query latency, which requires increasing database compute capacity and adding secondary indexes.
The bottleneck is caused by compute resource starvation on the GKE cluster, requiring a vertical increase in GKE node CPU machine types and pod CPU limits.
The bottleneck is caused by application-level thread or lock contention inside the service, where threads are blocked waiting for shared resources rather than consuming CPU cycles or waiting on downstream databases.
Thread contention or lock contention occurs when multiple concurrent threads attempt to acquire an exclusive lock (such as a synchronized block, mutex, or semaphore) simultaneously. When one thread holds the lock, all other competing threads are placed into a blocked or waiting state, stalling execution without executing active instructions on the host CPU.
Correlating data across Google Cloud Observability tools pinpoints this exact pathology:
Recognizing that low CPU utilization paired with high wall/contention time reflects code-level locking allows developers to optimize data structures, reduce synchronization scope, or adopt non-blocking asynchronous patterns rather than misattributing latency to GKE capacity or database throughput.
The bottleneck is caused by inter-service network packet drop and VPC latency between GKE pods, which requires enabling cross-zone network peering and optimizing MTU settings.
The bottleneck is caused by database resource exhaustion and high query latency, which requires increasing database compute capacity and adding secondary indexes.
The bottleneck is caused by compute resource starvation on the GKE cluster, requiring a vertical increase in GKE node CPU machine types and pod CPU limits.