GCP Professional Cloud Architect Practice Question
Your company ingests financial transaction records from multiple regions into a dual-region Cloud Storage bucket. Compliance regulations require that every object remain intact and undeleted for at least seven years. After the seven-year period, objects should be removed automatically to avoid unnecessary storage costs. Platform administrators must not be able to override the retention requirement. What should you do to meet these needs with minimal ongoing operational effort?
Change the bucket's storage class to Archive and instruct administrators to delete objects manually once they reach seven years of age.
Set a seven-year bucket retention policy, lock the policy, and add a lifecycle rule that deletes objects older than 2,555 days.
Turn on default event-based holds for the bucket and require uploaders to release the hold after seven years so objects can be deleted.
Enable Object Versioning on the bucket and configure a lifecycle rule to delete live and noncurrent object versions after 2,555 days.
A bucket-level retention policy set to seven years enforces an immutable hold on every object: no one-including project owners-can delete or overwrite data until the retention period expires. Locking the policy makes it permanent and prevents privileged users from shortening or disabling it, satisfying the "must not be able to bypass" constraint. When the retention window elapses, the objects become eligible for deletion; a complementary Object Lifecycle Management rule that deletes objects whose age exceeds 2,555 days (~7 years) will automatically clean them up, eliminating manual effort. Enabling only versioning plus a lifecycle rule does not stop an administrator from deleting all versions ahead of schedule. Simply switching to the Archive class offers lower cost but no enforced retention. Default event-based holds still require someone to release the holds manually, so they do not ensure automatic deletion and introduce operational overhead. Therefore, applying and locking a seven-year retention policy and adding an age-based lifecycle delete rule is the correct approach.
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 Object Lifecycle Management in Google Cloud Storage?
Open an interactive chat with Bash
How does a retention policy differ from Object Versioning in Google Cloud Storage?
Open an interactive chat with Bash
What happens when you lock a bucket retention policy in Google Cloud Storage?
Open an interactive chat with Bash
What is a bucket retention policy in Cloud Storage?
Open an interactive chat with Bash
What happens when a retention policy is locked in Cloud Storage?
Open an interactive chat with Bash
How does Object Lifecycle Management work in Cloud Storage?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing and provisioning a solution infrastructure
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .