Migrate invoice documents to Cloud Storage with requirements: retain for 5 years, keep up to 5 revisions, and move objects older than 365 days to lower-cost tiers. Minimize operational and development costs. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable object versioning on the bucket, use lifecycle conditions to change the storage class of the objects, set the number of versions, and delete old files..
Why this is the answer
The correct option leverages Cloud Storage features for cost-effective and automated management. Enabling object versioning retains up to 5 revisions. Lifecycle rules (using conditions) automatically transition objects older than 365 days to lower-cost storage classes and delete older versions, fulfilling retention and cost requirements without custom code. Incorrect options: Using Cloud Scheduler and Cloud Functions introduces development and operational overhead, which the question aims to minimize. Cloud Storage lifecycle management handles these tasks natively. Retention policies are for legal hold and immutability, not for managing multiple versions or transitioning storage classes based on age.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed