An e-learning platform generates temporary video transcoding chunks during user uploads. These chunks average in size, are stored in Amazon S3 Standard, and must be available for immediate processing for 7 days. After 7 days, the chunks are no longer needed and can be safely deleted. Which lifecycle configuration is the most cost-effective for managing these files?
- Keep the files in Amazon S3 Standard, and configure a lifecycle policy to delete the files after 7 days.Answer
- BConfigure a lifecycle policy to transition the files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 3 days, and delete them after 7 days.
- CConfigure a lifecycle policy to transition the files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) immediately, and delete them after 7 days.
- DConfigure a lifecycle policy to transition the files to Amazon S3 Glacier Flexible Retrieval after 3 days, and retrieve them using Standard retrieval on day 7 before deletion.
Answer
Keep the files in Amazon S3 Standard, and configure a lifecycle policy to delete the files after 7 days.
The correct option is to keep the files in S3 Standard and delete them after 7 days. Because the files are deleted after 7 days, transitioning them to S3 Standard-IA (which has a 30-day minimum storage charge) or S3 Glacier Flexible Retrieval (which has a 90-day minimum storage charge) would result in early deletion charges. Thus, keeping them in S3 Standard is the most cost-effective choice.
Step-by-Step Solution
Key Concept
S3 Lifecycle Minimum Storage Durations