Question

Difficulty: EasyManaging Storage and Database Solutions

Your team stores application log files in a Google Cloud Storage bucket. These logs are accessed frequently during the first 30 days after creation. After 30 days, the logs are rarely accessed, but they must be retained for one year for compliance auditing. You want to automate moving these objects to a lower-cost storage class after 30 days to minimize storage expenses. What should you do?

  1. Configure an Object Lifecycle Management rule on the bucket to change the storage class of objects to Coldline when their age reaches 30 days.Answer
  2. B
    Configure an Object Lifecycle Management rule on the bucket to change the storage class of objects to Standard when their age reaches 30 days.
  3. C
    Write a scheduled script to migrate the log files into a Cloud Bigtable table after 30 days.
  4. D
    Configure an Object Lifecycle Management rule on the bucket to delete objects when their age reaches 30 days.

Answer

Configure an Object Lifecycle Management rule on the bucket to change the storage class of objects to Coldline when their age reaches 30 days.
Configuring an Object Lifecycle Management rule to transition objects to Coldline Storage after 30 days automatically shifts rarely accessed logs into a cheaper storage class while satisfying the one-year retention requirement.

Step-by-Step Solution

1
Analyze data access patterns and compliance retention requirements
Log files are actively accessed for 30 days, then rarely accessed for the remainder of a one-year retention period.
Cloud Storage tiers are priced based on access frequency and data longevity.
2
Identify the appropriate target Cloud Storage class for infrequently accessed objects
Coldline Storage offers reduced monthly storage fees suitable for objects accessed at most once per 30 days.
Transitioning objects from Standard to Coldline reduces ongoing monthly storage expenses.
3
Automate class transitions using Object Lifecycle Management
Define a lifecycle rule specifying an Age condition of 30 days and a Set Storage Class action targeting Coldline.
Object Lifecycle Management enforces storage policies automatically without requiring custom scripts or manual intervention.

Key Concept

Cloud Storage Object Lifecycle Management for cost optimization
Estimated Time:45s
Rate this question