CLF-C02 Question 239
Select 2An e-commerce company uses Amazon S3 to store product images and videos. To optimize storage costs, they want to automatically transition unused assets to a lower-cost storage class and delete them after a certain period. Which of the following use cases can be addressed using S3 lifecycle policies?
- A
Automatically transition objects to Amazon S3 Glacier after 30 days of no access.
- B
Move frequently accessed objects to the S3 Standard-IA storage class immediately after upload.
- C
Delete objects that have not been accessed for 365 days.
- D
Transition objects from S3 Standard to S3 Intelligent-Tiering to reduce costs based on usage patterns.
Show answer and explanation
Correct answers: A, C
Explanation
S3 lifecycle policies are used to manage object lifecycles by automating transitions to lower-cost storage classes (e.g., Glacier) or by deleting objects after a specified retention period. This helps optimize costs and manage storage effectively.
- A. Correct.
Correct: S3 lifecycle policies can be used to transition objects to Amazon S3 Glacier after a specified period of no access, helping reduce costs.
- B. Incorrect.
Incorrect: Moving frequently accessed objects to S3 Standard-IA immediately is not a valid use case for lifecycle policies, as S3 Standard-IA is designed for infrequently accessed data.
- C. Correct.
Correct: S3 lifecycle policies can automatically delete objects after a specified duration, making this a valid use case.
- D. Incorrect.
Incorrect: Transitioning objects to S3 Intelligent-Tiering is not managed by lifecycle policies. Intelligent-Tiering automatically adjusts storage tiers based on access patterns without lifecycle policies.