A company wants to optimize Cloud Storage costs for a bucket containing 100 TB of access logs. The logs from the last 7 days are frequently analyzed; logs from 8–90 days are occasionally reviewed; logs older than 90 days are archived for compliance but rarely accessed. What is the most cost-effective storage class configuration?
This is the correct approach because Cloud Storage lifecycle rules automate the transition of objects based on age, letting you match storage costs to real access patterns. The 0-7 day window in Standard supports immediate diagnosis and troubleshooting, the 8-90 day window in Nearline provides a low-cost option for occasional review, and the 90+ day window in Archive satisfies long-term compliance retention at the lowest possible storage price. Each class has different retrieval costs and minimum durations, and these boundaries align the cost structure with the operational and regulatory requirements.
Why this answer
It aligns the storage class with the access patterns of the logs: Standard for frequently accessed recent data, Nearline for occasional access, and Archive for rarely accessed compliance data. This minimizes costs by using cheaper storage for older data while maintaining performance for active analysis. Lifecycle rules automate the transition, ensuring no manual intervention is needed.
Exam trap
Google Cloud often tests the misconception that Archive storage is always the cheapest option, ignoring the retrieval costs and latency for frequently accessed data, leading candidates to choose Option D.
How to eliminate wrong answers
Option A is wrong because storing all 100 TB in Standard storage is unnecessarily expensive for logs older than 7 days that are rarely accessed. Option C is wrong because deleting logs older than 7 days violates compliance requirements and loses data that may be needed for audits or occasional review. Option D is wrong because storing all logs in Archive storage would cause high retrieval costs and latency for the frequently accessed last 7 days of logs, making it impractical for active analysis.