Your analytics team ingests raw click-stream files into a multi-region Cloud Storage bucket that has object versioning enabled. Compliance rules state:
Keep only the current version; discard any older versions 7 days after they become non-current.
Retain the current version in Standard storage for 90 days so that Dataflow jobs can replay it at any time.
After 90 days move the objects to a cheaper class that still supports occasional monthly access.
After 12 months move them to the lowest-cost class available.
Delete the objects exactly 7 years (2 555 days) after creation. You must implement a single Object Lifecycle Management policy that satisfies all requirements and minimises cost. Which set of lifecycle rules should you configure?
Rule A: NoncurrentTime ≥ 30 days → Delete Rule B: Age ≥ 90 days → SetStorageClass = Coldline Rule C: Age ≥ 365 days → Delete
Rule A: Age ≥ 180 days → SetStorageClass = Archive Rule B: Age ≥ 2 920 days → Delete Rule C: NoncurrentTime ≥ 7 days → SetStorageClass = Coldline
Rule A: Age ≥ 90 days → SetStorageClass = Nearline Rule B: Age ≥ 2 555 days → Delete (Non-current versions handled manually.)
Rule A: NoncurrentTime ≥ 7 days → Delete Rule B: Age ≥ 90 days AND IsLive → SetStorageClass = Nearline Rule C: Age ≥ 365 days AND IsLive → SetStorageClass = Archive Rule D: Age ≥ 2 555 days AND IsLive → Delete
Delete non-current versions after they are 7 days old so that only the live version is kept.
When the live object age reaches 90 days, change its class from Standard to Nearline; this class is cheaper yet still intended for at-least-once-per-month access.
When the live object age reaches 365 days, change its class from Nearline to Archive (Cloud Storage automatically chooses the cheapest of the applicable SetStorageClass actions on the matching day).
When the live object age reaches 2 555 days (≈7 years) delete it to meet the retention limit. The option that lists exactly these four rules in this order-using the Age and NoncurrentTime conditions with the SetStorageClass actions to Nearline and Archive followed by a Delete-is therefore correct. Choices that omit the non-current deletion, apply Coldline instead of Nearline, skip the Archive transition, or use incorrect age thresholds would violate either cost-optimisation goals or compliance timing, so they are incorrect.
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 Cloud Storage?
Open an interactive chat with Bash
What is the difference between 'Age' and 'NoncurrentTime' conditions in OLM?
Open an interactive chat with Bash
What are the storage classes available in Google Cloud Storage, and how do they differ?
Open an interactive chat with Bash
What is object versioning in Cloud Storage?
Open an interactive chat with Bash
What are storage classes in Google Cloud Storage?
Open an interactive chat with Bash
How does Object Lifecycle Management work in Google Cloud Storage?
Open an interactive chat with Bash
GCP Professional Data Engineer
Storing the data
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 .