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 organization is designing an enterprise log export and retention pipeline in Google Cloud to meet strict financial regulatory standards.
The pipeline architecture has the following compliance and operational requirements:
Which combination of actions should you implement?
This solution implements a secure, compliance-ready log ingestion and archival pipeline across Cloud Logging, Cloud Storage, and BigQuery. It pairs automated log routing with immutable object retention and cost-optimized, time-partitioned analytical storage.
roles/storage.objectCreator allows the log sink's unique writer identity service account to write audit logs into the Cloud Storage bucket without granting permissions to read, overwrite, or delete existing objects. Similarly, granting roles/bigquery.dataEditor scoped strictly to the target BigQuery dataset enables seamless log streaming.Using Cloud Logging sinks paired with dedicated writer identities avoids credential sharing and follows Google Cloud recommended access control patterns. Storing analytical logs in partitioned BigQuery tables alongside locked Cloud Storage compliance archives balances low-cost long-term retention with high-performance real-time analytics.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.