A digital banking organization operates a hybrid event-driven microservices platform across Google Kubernetes Engine (GKE) and Cloud Functions. The cloud operations team must establish an end-to-end observability and telemetry architecture to trace multi-service payment transactions in real time, aggregate critical logs, and protect against loss of high-severity application errors while managing costs. Which TWO architectural decisions should the cloud architect implement to fulfill these requirements? (Select TWO.)
- Instrument microservices using OpenTelemetry SDKs to propagate trace context across GKE pods and Cloud Functions, exporting trace spans directly to Cloud Trace.Answer
- BConfigure an aggregate Cloud Logging exclusion filter for query severity>=WARNING across all production projects to aggressively reduce log ingestion volume.
- Establish folder-level Log Router sinks with explicit inclusion filters to continuously stream high-priority application telemetry and error logs to Pub/Sub and BigQuery.Answer
- DGrant the primitive Owner role to the central telemetry collector service account to prevent permission errors when accessing telemetry across project boundaries.
- ERely solely on standard Cloud Storage IAM object permissions to secure exported log storage buckets against data exfiltration across organizational boundaries.
Answer
The optimal solution combines OpenTelemetry context propagation to Cloud Trace for distributed transaction tracing across GKE and Cloud Functions, along with folder-level Log Router sinks using explicit inclusion filters to route critical log entries to BigQuery and Pub/Sub.
Implementing OpenTelemetry SDKs ensures trace context is seamlessly passed between GKE microservices and Cloud Functions, enabling Cloud Trace to map end-to-end request latency. Combining this with folder-level Log Router sinks using explicit inclusion filters allows the organization to reliably capture high-severity operational logs into BigQuery and Pub/Sub for auditing and real-time alerts.
Step-by-Step Solution
Key Concept
Unified Google Cloud Observability integration through OpenTelemetry distributed tracing and structured Log Router ingestion filtering.