A SaaS company operates an online payment processing API on Google Kubernetes Engine (GKE). The platform team needs to implement a unified observability architecture to satisfy two core mandates: securely export operational logs to BigQuery for multi-year compliance analysis without inadvertently filtering out critical system events, and establish proactive alerting that detects sustained Service Level Objective (SLO) degradation rather than reacting to short-term metric noise. Which TWO architecture decisions should the cloud architect recommend?
- Create an aggregated Log Router sink at the Google Cloud Organization level with BigQuery as the destination, including explicit inclusion filters for audit and error logs while avoiding aggregate exclusion filters on high-severity events.Answer
- Define Service Level Indicators (SLIs) for API request latency and success rates, and configure Cloud Monitoring alerting policies based on multi-window error budget burn rates.Answer
- CConfigure an aggregate exclusion filter on the Log Router sink to drop all logs matching ERROR severity to minimize BigQuery storage and ingestion expenses.
- DSet up static Cloud Monitoring threshold alerts on pod CPU utilization exceeding 80% to page on-call engineers for immediate incident mitigation.
- EGrant the primitive Owner IAM role to the Log Router sink's service account to guarantee write access across all target BigQuery datasets.
Answer
The architect should recommend creating an aggregated Log Router sink targeting BigQuery without overbroad exclusion filters, and implementing Cloud Monitoring alert policies based on multi-window error budget burn rates.
Aggregated Log Router sinks at the organization level ensure compliance logs from all projects stream to BigQuery without risk of dropping critical error events. Furthermore, multi-window error budget burn rate alerts effectively identify true service reliability degradation before SLOs are breached.
Step-by-Step Solution
Key Concept
Centralized Observability Integration and Error Budget Alerting