Question

Difficulty: MediumManaging Storage and Database Solutions

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?

  1. 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.Answer
  2. B
    Create a lifecycle rule to transition objects directly to Archive Storage immediately upon creation, and set an object retention policy of 7 years.
  3. C
    Migrate the invoice PDF binary files to a Cloud Bigtable table configured with SSD storage to enforce a 7-year TTL using garbage collection policies.
  4. D
    Apply individual object ACLs to override the bucket retention policy and change each object's storage class to Coldline immediately after creation.

Answer

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).

Step-by-Step Solution

1
Analyze access frequency and minimum storage durations for Cloud Storage classes.
Standard storage is best for the first 30 days (frequent access). Nearline storage fits monthly access patterns (30-day minimum threshold). Archive storage is optimal for data accessed less than once per year (365-day minimum threshold).
Matching object age to the appropriate storage tier minimizes both storage per-GB costs and data retrieval fees.
2
Evaluate compliance retention rules.
Retention for 7 years corresponds to 2,555 days before deletion.
Setting an automatic deletion action at 2,555 days ensures compliance without incurring unnecessary long-term storage costs beyond the requirement.
3
Formulate the multi-stage Cloud Storage Lifecycle Management policy.
Stage 1: Age 30 days -> SetStorageClass Nearline. Stage 2: Age 365 days -> SetStorageClass Archive. Stage 3: Age 2,555 days -> Delete.
Automating storage class transitions via lifecycle rules eliminates manual overhead and guarantees cost optimization.

Key Concept

Cloud Storage Lifecycle Management & Tiered Storage Optimization
Rate this question