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.
A financial services organization runs a high-throughput microservices application on Google Kubernetes Engine (GKE) processing over 50,000 requests per second. The DevOps engineering team is experiencing excessive Google Cloud Trace ingestion costs while attempting to monitor Service Level Objectives (SLOs).
The team has established the following operational requirements:
Which OpenTelemetry tracing and sampling strategy should the team implement?
The OpenTelemetry Collector tail_sampling processor evaluates sampling decisions at the end of a trace lifecycle rather than at the beginning. By deploying the OpenTelemetry Collector in a gateway (cluster-level) architecture, spans from across all downstream microservices are routed and assembled into complete trace graphs before determining whether to export them to Cloud Trace or discard them.
status_code filter (e.g., ERROR, STATUS_CODE_ERROR) to retain 100% of spans associated with failed requests.latency filter policy inspects the total trace duration and automatically retains traces exceeding the 1,500 ms threshold for end-to-end latency analysis.probabilistic policy configured at 1% (0.01), effectively dropping 99% of routine telemetry before transmission to Google Cloud Trace.Head-based sampling occurs at span initialization before the outcome or duration is known. Tail sampling in the OpenTelemetry Collector gateway is the industry standard for enforcing fine-grained, outcome-based filtering rules that balance diagnostic depth against Cloud Trace ingestion quotas.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.