DEA-C01 Question 234
Select 2You are a data engineer at a company that processes large volumes of user activity logs daily. The logs are initially accessed frequently for analytics and reports during the first 30 days but are rarely accessed thereafter. However, the logs must be retained for compliance purposes for 7 years. How can you optimize the cost of storage for this data lifecycle using AWS services?
- A
Use Amazon S3 Standard for the first 30 days and transition the data to Amazon S3 Glacier Deep Archive after 30 days.
- B
Use Amazon S3 Standard for the first 30 days, then transition the data to Amazon S3 Standard-IA for 60 days, and finally move it to Amazon S3 Glacier Deep Archive.
- C
Store the data in Amazon S3 Intelligent-Tiering to automatically optimize costs based on access patterns.
- D
Store the data in Amazon S3 Standard for the first 30 days and move it to Amazon EBS for long-term storage.
- E
Store the data in Amazon S3 Standard for the first 30 days and delete it after 30 days to save on storage costs.
Show answer and explanation
Correct answers: B, C
Explanation
To optimize storage costs based on the data lifecycle, it is important to evaluate the access patterns and compliance requirements. For data that is frequently accessed initially but rarely accessed later, transitioning through appropriate S3 tiers (e.g., S3 Standard -> S3 Standard-IA -> S3 Glacier Deep Archive) or using S3 Intelligent-Tiering can effectively reduce costs while meeting access and retention needs. Other options like using EBS or deleting data do not align with cost optimization or compliance requirements.
- A. Incorrect.
Incorrect: While transitioning directly to Amazon S3 Glacier Deep Archive after 30 days minimizes costs, it doesn't consider intermediate access patterns such as infrequent access during the next 60 days. This approach may lead to higher retrieval costs if the data is accessed.
- B. Correct.
Correct: Using Amazon S3 Standard for the first 30 days, then transitioning to S3 Standard-IA for infrequent access, and finally to S3 Glacier Deep Archive for long-term storage is a cost-effective and lifecycle-optimized solution.
- C. Correct.
Correct: Amazon S3 Intelligent-Tiering can automatically manage data movement across storage tiers, optimizing costs based on changing access patterns without manual intervention, making it an ideal choice for this scenario.
- D. Incorrect.
Incorrect: Amazon EBS is not cost-effective for long-term storage of rarely accessed data compared to Amazon S3 Glacier Deep Archive or other S3 storage tiers.
- E. Incorrect.
Incorrect: Deleting the data after 30 days violates the compliance requirement to retain the logs for 7 years.