Question

Difficulty: MediumPlanning Cloud Storage Buckets and Storage Classes

An autonomous vehicle testing company uploads high-resolution LiDAR and sensor log files to a Google Cloud Storage bucket. The uploaded data is analyzed and queried daily by machine learning training pipelines during the first 30 days. After 30 days, the files are rarely accessed (less than once per year) for compliance verification, but regulatory policies require them to be retained for a total of 3 years before deletion. You need to design an Object Lifecycle Management policy to minimize total storage and operational costs while avoiding early deletion fee penalties. Which TWO lifecycle rules should you include in the bucket configuration? (Select TWO.)

  1. Transition objects to Archive storage class when their age reaches 30 days.Answer
  2. Delete objects when their age reaches 1,095 days.Answer
  3. C
    Set the default bucket storage class to Archive upon initial upload.
  4. D
    Transition objects to Coldline storage class when their age reaches 1,095 days prior to deletion.

Answer

The optimal lifecycle strategy involves transitioning objects to the Archive storage class after 30 days of active use and configuring an object deletion rule after 1,095 days (3 years).
Data active during the first 30 days benefits from Standard storage. Transitioning to Archive storage at 30 days optimizes storage costs for data accessed less than once a year during the remainder of its 3-year life. Deleting the objects at 1,095 days ensures regulatory compliance without paying for unnecessary long-term storage.

Step-by-Step Solution

1
Analyze access frequency during the initial ingest phase.
Objects are accessed daily for the first 30 days, requiring the Standard storage class to avoid data retrieval penalties.
Standard storage carries no retrieval fees for active processing workloads.
2
Determine the optimal long-term storage class for rare access after 30 days.
Archive storage provides the lowest cost for data accessed less than once per year.
Transitioning at day 30 satisfies the 3-year total retention timeline, avoiding Archive storage's 365-day minimum billing commitment penalty.
3
Configure the lifecycle expiration rule.
An action rule with condition age set to 1,095 days will automatically delete the object.
This guarantees compliance retention without incurring ongoing storage fees beyond the 3-year mark.

Key Concept

Planning Cloud Storage bucket storage class transitions and object lifecycle policies based on data access patterns, minimum retention rules, and retrieval costs.
Estimated Time:1m 30s
Rate this question