Question

Difficulty: MediumPlanning Cloud Storage Buckets and Storage Classes

A financial analytics company receives large daily market trading datasets that are continuously queried and analyzed by automated pipelines for the first 30 days after ingestion. After 30 days, the dataset is rarely accessed, but regulatory policy mandates that the company retain these files for at least 7 years. The cloud architecture team wants to design a Cloud Storage bucket lifecycle policy that minimizes total operational and storage costs while avoiding unexpected retrieval charges during the active analytical phase. Which lifecycle management strategy should the team implement?

  1. Set the bucket's default storage class to Standard, and configure a lifecycle rule to transition objects to Archive storage after an age of 30 days.Answer
  2. B
    Set the bucket's default storage class to Archive, and configure a lifecycle rule to transition objects to Standard storage after an age of 30 days.
  3. C
    Set the bucket's default storage class to Coldline, and rely on automatic object tiering without defining any lifecycle rules.
  4. D
    Set the bucket's default storage class to Standard, and configure a lifecycle rule to transition objects to Nearline storage immediately upon creation, followed by Archive storage at 30 days.

Answer

Configure the bucket with Standard storage class as default to handle frequent reads with zero retrieval fees during the first 30 days, then use Object Lifecycle Management to transition objects to Archive storage after 30 days for low-cost 7-year retention.
The correct strategy starts with Standard storage class because data is queried continuously during the first 30 days, avoiding retrieval fees. Transitioning to Archive storage after 30 days minimizes storage costs for 7-year regulatory retention where data is rarely read.

Step-by-Step Solution

1
Analyze the access pattern for the initial period (0–30 days).
Data is continuously read and analyzed during this phase.
Standard storage is required because it has no retrieval fees per gigabyte read, making active analytical workloads cost-effective.
2
Analyze the access pattern for the long-term period (30 days to 7 years).
Data is rarely accessed but must be preserved for compliance.
Archive storage offers the lowest per-gigabyte monthly storage cost among Google Cloud Storage classes, perfectly fitting long-term retention requirements.
3
Determine the optimal Object Lifecycle Management rule.
A transition rule targeting age = 30 days with destination class = Archive.
Automating the transition ensures objects are moved to the cheapest storage tier exactly when active querying finishes.

Key Concept

Selecting Cloud Storage classes and Object Lifecycle Management rules based on access frequency and data retrieval costs.
Rate this question