GCP Professional Cloud Security Engineer Practice Question

Your security team requires that all Cloud Audit Logs from every project in your organization be retained for seven years to meet regulatory mandates. Analysts also need to run interactive SQL queries against the most recent 30 days of logs and expect results within seconds to support threat-hunting. Beyond 30 days, logs must be preserved at the lowest possible cost but still retrievable within 24 hours when investigations arise. Which logging architecture best satisfies these requirements while minimizing storage spend?

  • Export all logs to a single BigQuery dataset and set the dataset's default table expiration to seven years; analysts query the same dataset for recent data.

  • Configure an aggregated sink that sends logs to the default Cloud Logging bucket, then increase the bucket's retention setting to 2555 days (seven years) and use Log Analytics for queries.

  • Create two organization-level log sinks: one routes logs to a partitioned BigQuery dataset with a 30-day partition TTL for fast querying, and a second routes the same logs to a Cloud Storage bucket set to the Archive storage class with a seven-year retention policy.

  • Create one sink that streams logs to Pub/Sub and uses Dataflow to load them into Cloud Storage Nearline; analysts execute queries by running BigQuery federated queries over the Nearline bucket.

GCP Professional Cloud Security Engineer
Managing operations
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot