An e-commerce platform needs to store daily financial transaction audit logs in Google Cloud Storage for compliance purposes. The compliance policy requires logs to be accessed frequently for the first 30 days for auditing, rarely accessed over the next 365 days, and preserved for 5 years total before deletion. The architecture team wants to minimize total storage and retrieval costs automatically without manual intervention. Which TWO configurations should you combine to meet these requirements?
- Create a bucket with the default storage class set to Standard.Answer
- Configure an Object Lifecycle Management rule to transition objects to Coldline storage after 30 days and delete them after 1,825 days.Answer
- CSet the default storage class of the bucket to Archive upon creation to minimize initial storage costs.
- DApply individual object ACLs to restrict object deletion permissions prior to the 5-year retention period.
Answer
The optimal solution is to set the bucket's default storage class to Standard and configure Object Lifecycle Management rules to transition objects to Coldline storage after 30 days and delete objects after 1,825 days (5 years).
Selecting Standard storage as the default class ensures that frequent reads during the first 30 days do not incur retrieval penalties. Configuring Object Lifecycle Management to transition objects to Coldline after 30 days and delete them after 1,825 days automatically lowers long-term storage costs while adhering to the 5-year compliance retention requirement.
Step-by-Step Solution
Key Concept
Planning Cloud Storage Buckets and Storage Classes using Object Lifecycle Management