DEA-C01 Question 219
Select 2Your organization stores raw data in an Amazon S3 bucket for analytics purposes. Due to compliance requirements, data older than 90 days must be archived to minimize costs, and data older than 365 days must be deleted permanently. As a Data Engineer, how can you implement this lifecycle management policy in the most cost-efficient and automated way?
- A
Configure an S3 Lifecycle policy to transition data older than 90 days to Amazon S3 Glacier and delete data older than 365 days.
- B
Manually move data older than 90 days to Amazon S3 Glacier and delete data older than 365 days using custom scripts.
- C
Create an S3 Lifecycle policy to transition data older than 90 days to Amazon S3 Standard-IA and delete data older than 365 days.
- D
Use Amazon S3 Intelligent-Tiering to automatically archive data older than 90 days and delete data older than 365 days.
Show answer and explanation
Correct answers: A, D
Explanation
Managing the lifecycle of data in Amazon S3 can be achieved effectively using Lifecycle policies or Intelligent-Tiering. Transitioning data to Amazon S3 Glacier and deleting it after a specified duration ensures compliance and cost-efficiency. While S3 Intelligent-Tiering can also handle tier transitions automatically, combining it with delete markers achieves similar outcomes. Manual management, however, is error-prone and not scalable.
- A. Correct.
This is the correct approach. Configuring an S3 Lifecycle policy to transition data to Amazon S3 Glacier after 90 days and delete it after 365 days is automated and cost-efficient.
- B. Incorrect.
Manually managing data transitions and deletions using scripts is not cost-efficient or scalable for large datasets. AWS provides automated tools for this purpose.
- C. Incorrect.
Transitioning data to S3 Standard-IA after 90 days is less cost-efficient compared to Amazon S3 Glacier for archival storage. This option does not fully address the need for long-term cost optimization.
- D. Correct.
Using Amazon S3 Intelligent-Tiering is a valid option because it automatically moves data to lower-cost storage tiers based on access patterns. Additionally, you can configure a delete marker for data older than 365 days to meet compliance requirements.