SCS-C02 Question 387
Select 2An organization wants to optimize costs by automatically transitioning and expiring objects stored in Amazon S3. They are using an S3 bucket to store data for a project that requires objects to be frequently accessed for the first 30 days, rarely accessed for the next 90 days, and deleted after 120 days. Which configuration should be used in an S3 lifecycle policy to achieve this?
- A
Transition objects to the S3 Standard-IA storage class after 30 days.
- B
Transition objects to the S3 Glacier Flexible Retrieval storage class after 30 days.
- C
Transition objects to the S3 Glacier Instant Retrieval storage class after 90 days.
- D
Expire objects after 120 days.
- E
Transition objects to the S3 Standard-IA storage class after 120 days.
Show answer and explanation
Correct answers: A, D
Explanation
To optimize costs and meet the requirements, the lifecycle policy should transition objects to the S3 Standard-IA storage class after 30 days, as it is designed for infrequently accessed data, and expire the objects after 120 days to delete them. This ensures the data is stored cost-effectively without incurring unnecessary costs for unused storage.
- A. Correct.
This is correct. Transitioning objects to the S3 Standard-IA (Infrequent Access) storage class after 30 days aligns with the requirement to store data that is rarely accessed after the initial 30 days.
- B. Incorrect.
This is incorrect. S3 Glacier Flexible Retrieval is suitable for archival data requiring infrequent access, but it is not appropriate for data that will still be frequently accessed within the next 90 days.
- C. Incorrect.
This is incorrect. While S3 Glacier Instant Retrieval is designed for archived data with low latency access, it is not suitable based on the given requirements and timeline.
- D. Correct.
This is correct. Expiring objects after 120 days fulfills the requirement to delete the data after this period, meeting the cost optimization and retention policy.
- E. Incorrect.
This is incorrect. Transitioning data to S3 Standard-IA after 120 days does not align with the requirement to immediately delete the data after 120 days.