A company stores application logs in an Amazon S3 Standard bucket. The logs are accessed frequently during the first 30 days. From day 31 to day 90, the logs are accessed infrequently but must be available with millisecond retrieval latency. After 90 days, the logs are rarely accessed but must be retained for another 180 days for compliance audits. The compliance audits can tolerate a retrieval time of up to 5 hours. Which configuration of Amazon S3 Lifecycle rules meets these requirements in the most cost-effective manner?
- Transition the objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days, and transition them to Amazon S3 Glacier Flexible Retrieval after 90 days.Answer
- BTransition the objects to S3 Intelligent-Tiering after 30 days, and transition them to S3 Standard-Infrequent Access (S3 Standard-IA) after 90 days.
- CTransition the objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days, and transition them to Amazon S3 Glacier Deep Archive after 90 days.
- DTransition the objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 15 days, and transition them to Amazon S3 Glacier Flexible Retrieval after 90 days.
Answer
Transition the objects to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days, and transition them to Amazon S3 Glacier Flexible Retrieval after 90 days.
The correct configuration transitions objects to S3 Standard-IA after 30 days and to S3 Glacier Flexible Retrieval after 90 days. This matches the access pattern requirements because S3 Standard-IA offers millisecond retrieval latency for the infrequent access phase, and S3 Glacier Flexible Retrieval supports standard retrievals within 3–5 hours, which satisfies the 5-hour compliance retrieval SLA at a highly optimized cost point.
Step-by-Step Solution
Key Concept
Amazon S3 Storage Class and Lifecycle Transition Rules