A enterprise financial institution requires a centralized logging and observability architecture across all Google Cloud projects within its Organization hierarchy. The architecture must automatically aggregate logs from all present and future projects under the organization folder without manual project-level configuration. Compliance rules require that Administrative Activity audit logs be retained for seven years in an immutable state resistant to deletion, while application and operational logs must be available for real-time querying in BigQuery for 90 days. Furthermore, all log routing destinations must be protected against data exfiltration across perimeter boundaries. Which architectural strategy best satisfies these operational reliability, compliance, and security requirements?
- Configure an Organization-level aggregated Log Router sink with an inclusion filter targeting a Pub/Sub topic in a central Security project within a VPC Service Controls perimeter; stream logs from Pub/Sub to BigQuery for real-time analysis and to a Cloud Storage bucket with a locked Bucket Lock Retention Policy for 7-year audit retention.Answer
- BImplement an aggregate exclusion filter matching `severity < ERROR` on project-level Log Router sinks across all existing projects to reduce log ingestion costs, while exporting remaining audit logs to a standard Cloud Storage bucket.
- CAssign the primitive Owner role (`roles/owner`) to a central logging service account across all projects, allowing a custom log harvester instance to fetch logs via Cloud Logging API calls and write them directly into BigQuery and Cloud Storage.
- DConfigure project-level Log Router sinks to export logs directly to an external Cloud Storage bucket in a separate project, relying exclusively on IAM object writer permissions without establishing VPC Service Controls perimeters.