CLF-C02 Question 237
Single answerYour organization uses Amazon S3 to store large amounts of data, including logs, reports, and backups. To optimize storage costs, you want to automatically transition objects to lower-cost storage tiers (like S3 Glacier) after a certain period of time and delete objects entirely after they are no longer needed. Which AWS feature should you use to achieve this?
- A
Amazon S3 Lifecycle Policies
- B
Amazon S3 Versioning
- C
Amazon S3 Transfer Acceleration
- D
Amazon S3 Event Notifications
Show answer and explanation
Correct answer: A
Explanation
Amazon S3 Lifecycle Policies are specifically designed to automate the management of object storage lifecycles. They enable you to transition objects to different storage tiers (like S3 Glacier) after a specified period and delete objects when they are no longer needed. This is an ideal solution for optimizing storage costs and managing data retention as described in the scenario.
- A. Correct.
Amazon S3 Lifecycle Policies allow you to define rules for transitioning objects to different storage tiers and expiring objects automatically, making it the correct choice for this use case.
- B. Incorrect.
Amazon S3 Versioning is a feature to preserve, retrieve, and restore older versions of objects, which is unrelated to optimizing storage costs through transitions or deletions.
- C. Incorrect.
Amazon S3 Transfer Acceleration is designed to increase upload and download speeds for S3 objects, and it does not handle storage tier transitions or object expiration.
- D. Incorrect.
Amazon S3 Event Notifications allow you to trigger notifications based on object events but do not manage object lifecycle transitions or deletions.