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.
Your DevOps team is instrumenting a distributed microservices application using OpenTelemetry SDKs to export span telemetry directly into Google Cloud Trace. Part of the application is deployed on a Google Kubernetes Engine (GKE) cluster configured with custom node access scopes, while legacy service components run in an on-premises data center.
All services must securely authenticate, correlate distributed calls, and successfully publish trace spans to Cloud Trace. Which configuration satisfies these requirements?
This configuration establishes the necessary IAM authentication, platform authorization scopes, and OpenTelemetry context propagation protocols required to collect, stitch together, and export distributed traces to Google Cloud Trace from both Google Cloud Platform (GCP) and hybrid environments.
roles/cloudtrace.agent) IAM role, made discoverable through Application Default Credentials (ADC) via the GOOGLE_APPLICATION_CREDENTIALS environment variable or default file paths.https://www.googleapis.com/auth/trace.append scope to permit worker nodes to write telemetry spans to the Cloud Trace API endpoint.traceparent or B3) injected into and extracted from HTTP request headers to preserve Trace ID and Parent Span ID across network boundaries.roles/cloudtrace.agent role grants only the permissions needed to write trace data (cloudtrace.traces.patch), avoiding unnecessary administrative rights.This approach directly satisfies all security, networking, and tracing runtime constraints described in Google Cloud Observability best practices for hybrid deployments.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.