Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
A financial services organization ingests large volumes of transaction audit records into Google Cloud Storage. The data lifecycle requirements and access patterns are defined as follows:
You need to design an automated, cost-optimized storage lifecycle strategy for the bucket.
Which configuration should you implement?
Set the default bucket storage class to Standard, and deploy a Cloud Run function triggered by Cloud Scheduler to rewrite objects to Coldline and Archive and delete expired records
Set the default bucket storage class to Archive, and configure an Object Lifecycle Management rule to transition objects to Standard for the first 30 days and delete them after 2,555 days
Enable Autoclass on the bucket, and configure an Object Lifecycle Management rule with a SetStorageClass action to transition objects to Archive at age 365 days and a Delete action at age 2,555 days
Set the default bucket storage class to Standard, and configure Object Lifecycle Management rules with SetStorageClass to Coldline at age 30 days, SetStorageClass to Archive at age 365 days, and Delete at age 2,555 days
Set the default bucket storage class to Standard, and deploy a Cloud Run function triggered by Cloud Scheduler to rewrite objects to Coldline and Archive and delete expired records
Set the default bucket storage class to Archive, and configure an Object Lifecycle Management rule to transition objects to Standard for the first 30 days and delete them after 2,555 days
Enable Autoclass on the bucket, and configure an Object Lifecycle Management rule with a SetStorageClass action to transition objects to Archive at age 365 days and a Delete action at age 2,555 days
Set the default bucket storage class to Standard, and configure Object Lifecycle Management rules with SetStorageClass to Coldline at age 30 days, SetStorageClass to Archive at age 365 days, and Delete at age 2,555 days
Object Lifecycle Management (OLM) in Google Cloud Storage allows you to define declarative rules that automatically manage the lifecycle of objects within a bucket. By defining condition-action pairs, Cloud Storage inspects objects and automatically executes operations like changing storage classes (SetStorageClass) or permanently removing data (Delete) without operational intervention.
Delete lifecycle rule automatically removes objects older than 2,555 days, ensuring compliance with data privacy mandates.This solution matches each lifecycle phase to its most cost-effective storage class while avoiding early deletion or retrieval penalties. It delivers a fully managed, declarative solution directly within Cloud Storage.