Soru

Zorluk: Çok zorPlanning Cloud Storage Buckets and Storage Classes

A media analytics firm processes daily log archives in Google Cloud Storage. Engineers access these log files frequently during the first 7 days to analyze performance anomalies. After 7 days, access decreases to approximately once every six months for regulatory compliance checks, but when accessed, the data must be available in milliseconds. The compliance policy requires preserving all log files for exactly 365 days from creation before permanently removing them. Which Cloud Storage lifecycle configuration minimizes total storage and retrieval costs while satisfying all latency and retention requirements?

  1. Store objects in the Standard storage class initially, set an Object Lifecycle Management rule to transition objects to Coldline storage after 7 days, and set a lifecycle rule to delete objects after 365 days.Cevap
  2. B
    Store objects in the Coldline storage class immediately upon bucket ingestion, and set an Object Lifecycle Management rule to delete objects after 365 days.
  3. C
    Store objects in the Standard storage class initially, set an Object Lifecycle Management rule to transition objects to Coldline storage after 7 days, transition to Archive storage after 90 days, and delete objects after 365 days.
  4. D
    Store objects in the Standard storage class initially, set an Object Lifecycle Management rule to transition objects to Nearline storage after 7 days, and set a lifecycle rule to delete objects after 30 days.

Cevap

Store objects in the Standard storage class initially, set an Object Lifecycle Management rule to transition objects to Coldline storage after 7 days, and set a lifecycle rule to delete objects after 365 days.
The correct strategy starts objects in Standard storage to eliminate retrieval costs during the initial high-access 7-day window. Moving objects to Coldline after 7 days reduces ongoing capacity costs while maintaining millisecond retrieval latency for semi-annual queries. Because objects remain in Coldline for 358 days (from day 7 to day 365), the 90-day minimum storage duration for Coldline is satisfied, avoiding any early deletion fees.

Adım Adım Çözüm

1
Analyze access frequency and latency constraints
Heavy access during days 1–7 requires Standard storage to avoid retrieval costs. Millisecond access needed after day 7 rules out offline tape-like storage.
Standard storage has no retrieval fee, making it ideal for active data.
2
Evaluate storage class minimum durations and access patterns
Accessing once every 6 months aligns with Coldline storage (designed for data accessed at most once per quarter).
Coldline provides low monthly storage costs with millisecond access latency and a 90-day minimum storage commitment.
3
Calculate lifecycle transition and deletion timelines
Transitioning to Coldline at day 7 and deleting at day 365 retains data in Coldline for 358 days, easily surpassing Coldline's 90-day minimum storage duration without early deletion penalties.
Transitioning to Archive at day 90 and deleting at day 365 would mean only 275 days in Archive, triggering early deletion fees for Archive's 365-day commitment.

Anahtar Kavram

Cloud Storage Classes and Lifecycle Management Cost Optimization
Bu soruyu puanla