A company must retain application log files for exactly 120 days to support occasional investigations, then delete them. Investigators can wait several hours for logs to become available. Which S3 design is MOST cost-effective?
Choose one.
Archive-class selection cross-checks two numbers: the retention period against each class's minimum storage duration, and the stated retrieval tolerance against each class's restore speed.
Retention is 120 days and investigators tolerate a wait of several hours. Glacier Flexible Retrieval is the cheapest class that clears both checks: its 90-day minimum fits inside 120 days, and its asynchronous restores in minutes to hours match the tolerance. Deep Archive looks cheaper per GB but its 180-day minimum exceeds the 120-day retention, so every object is billed for 60 phantom days, which is exactly the trap the question tests. Standard-IA and Standard both work functionally but over-deliver millisecond access at higher storage prices, and with rare access there are almost no retrieval fees to avoid.
- Extract the two constraints: 120-day retention and retrieval tolerance of several hours.
- Veto any class whose minimum duration exceeds 120 days, which eliminates Deep Archive at 180 days.
- Among survivors, prefer the cheapest storage whose restore model fits the hours-long tolerance: Glacier Flexible Retrieval.
- Confirm access is occasional, so retrieval fees stay negligible.
- Attach a lifecycle expiration action at 120 days to complete the design.
Exam tip: Check retention against minimum durations before storage price; a cheaper class that outlives the data's retention is a cost trap.
Cost-Optimized Storage: S3 Classes, Lifecycle Policies, and EBS Economics — the lesson that teaches this.