DVA-C02 Question 106
Select 2You are developing an application that stores large amounts of data in Amazon S3. Some of the data is accessed frequently for the first 30 days and then accessed rarely. To optimize costs, you plan to implement a lifecycle policy. Which combination of actions would achieve this goal?
- A
Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class after 30 days.
- B
Transition objects to S3 Glacier Flexible Retrieval after 30 days.
- C
Transition objects to S3 One Zone-Infrequent Access after 30 days.
- D
Transition objects to S3 Glacier Flexible Retrieval after 90 days.
- E
Delete the objects after 30 days.
Show answer and explanation
Correct answers: A, D
Explanation
To optimize costs while ensuring data is accessible as required, a lifecycle policy can be used to transition objects between S3 storage classes. The S3 Standard-IA class is suitable for infrequently accessed data with rapid access requirements, while S3 Glacier Flexible Retrieval is designed for archival purposes with longer retrieval times. By transitioning to S3 Standard-IA after 30 days and then to S3 Glacier Flexible Retrieval after 90 days, you can achieve an effective balance between cost and accessibility.
- A. Correct.
Correct: The S3 Standard-IA storage class is ideal for objects that are accessed infrequently but require rapid access when needed. Transitioning to this tier after 30 days optimizes costs while maintaining accessibility.
- B. Incorrect.
Incorrect: S3 Glacier Flexible Retrieval is a low-cost storage class designed for archival data, not for data that might need frequent access within the first 30 days. Transitioning objects to this class too early could hinder performance.
- C. Incorrect.
Incorrect: S3 One Zone-IA is a cost-effective option but is not as fault-tolerant as S3 Standard-IA since it stores data in only one availability zone. It is not ideal for most production use cases requiring high durability.
- D. Correct.
Correct: Transitioning objects to S3 Glacier Flexible Retrieval after 90 days is a good approach for archival storage of data that is rarely accessed but needs to be retained for long-term storage.
- E. Incorrect.
Incorrect: Deleting objects after 30 days would not meet the requirement of retaining data, even if it is infrequently accessed.