GCP Professional Cloud Architect Practice Question
An online payment processor is migrating workloads to Google Cloud. To satisfy PCI DSS requirements and an internal mandate to keep all Admin Activity and Data Access logs for seven years, the security team must guarantee that the logs cannot be modified or deleted by platform administrators while keeping storage costs low. Which design best meets these requirements?
Stream Audit Logs to Pub/Sub and forward them over VPN to the company's on-premises SIEM, then configure Cloud Logging to delete local copies after 30 days to reduce costs.
Create an aggregated organization-level log sink that routes all Admin Activity and Data Access logs to a Cloud Storage bucket in a dedicated logs project. Enable uniform bucket-level access, configure a seven-year retention policy, lock the bucket (Bucket Lock), and grant only the Logs Router service account the objectCreator role.
Rely on Cloud Logging's default 400-day retention and grant the audit team the Logs Viewer role on each project; when older records are needed, export them on demand to BigQuery.
Export all Audit Logs to a BigQuery dataset in the same project, set table expiration to seven years, and restrict modifications by granting the audit team the BigQuery Data Viewer role only.
Exporting Audit Logs to a Cloud Storage bucket that is owned by a dedicated logs-archive project and protected with Bucket Lock provides the strongest guarantee that no administrator can alter or delete the records. Bucket Lock enforces an object-level retention policy that is legally holdable and cannot be removed once locked. Granting the Logs Router service account the objectCreator role lets it write new objects but not overwrite or delete existing ones, and using uniform bucket-level access simplifies IAM management. Cloud Storage Archive/Coldline classes can be selected to keep long-term costs low.
The default Cloud Logging retention (400 days for Admin Activity and 30 days for Data Access) is far shorter than seven years. BigQuery datasets do not provide true immutability-dataset or table owners can still delete or overwrite records-even if expiration is set to seven years. Forwarding logs to an on-premises SIEM and deleting them from Cloud Logging after 30 days breaks the seven-year requirement and puts integrity outside Google Cloud's managed controls. Therefore, the bucket-lock approach in a separate project is the only option that satisfies all retention, immutability, and cost objectives.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is PCI DSS and why is it important for payment processors?
Open an interactive chat with Bash
How does Bucket Lock in Google Cloud work to enforce log integrity?
Open an interactive chat with Bash
What are the storage classes in Google Cloud and how do they reduce costs?
Open an interactive chat with Bash
What is PCI DSS, and why is it relevant for this design?
Open an interactive chat with Bash
How does Bucket Lock ensure immutability in Cloud Storage?
Open an interactive chat with Bash
What are the cost benefits of using Coldline and Archive storage classes for logs?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Designing for security and compliance
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .