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?
- 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
- BStore objects in the Coldline storage class immediately upon bucket ingestion, and set an Object Lifecycle Management rule to delete objects after 365 days.
- CStore 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.
- DStore 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
Anahtar Kavram
Cloud Storage Classes and Lifecycle Management Cost Optimization