An enterprise application stores generated invoice PDF files in a Google Cloud Storage bucket. Business compliance rules require retaining these files for 7 years (2,555 days). Operational analysis indicates that invoices are accessed frequently during the first 30 days after creation, accessed roughly once a month between day 31 and day 365, and accessed less than once per year after 365 days. Which Cloud Storage Lifecycle Management configuration optimizes operational storage costs while maintaining accessibility and compliance?
- Create a lifecycle rule to transition objects from Standard to Nearline Storage after 30 days, transition to Archive Storage after 365 days, and delete objects after 2,555 days.Cevap
- BCreate a lifecycle rule to transition objects directly to Archive Storage immediately upon creation, and set an object retention policy of 7 years.
- CMigrate the invoice PDF binary files to a Cloud Bigtable table configured with SSD storage to enforce a 7-year TTL using garbage collection policies.
- DApply individual object ACLs to override the bucket retention policy and change each object's storage class to Coldline immediately after creation.
Cevap
The correct operational approach is to configure a Lifecycle Management rule that transitions objects to Nearline Storage after 30 days, to Archive Storage after 365 days, and deletes them after 2,555 days.
The solution correctly maps object age and access frequency to GCP storage classes. Standard storage handles initial frequent access, Nearline storage handles monthly reads after 30 days, and Archive storage provides the lowest cost for long-term retention after 1 year, culminating in deletion at 7 years (2,555 days).
Adım Adım Çözüm
Anahtar Kavram
Cloud Storage Lifecycle Management & Tiered Storage Optimization