Question

Difficulty: EasyCost-Optimized Storage Tiering and Lifecycle Management

An e-learning platform generates temporary video transcoding chunks during user uploads. These chunks average 120 MB120\text{ MB} 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?

  1. Keep the files in Amazon S3 Standard, and configure a lifecycle policy to delete the files after 7 days.Answer
  2. B
    Configure 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.
  3. C
    Configure a lifecycle policy to transition the files to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) immediately, and delete them after 7 days.
  4. D
    Configure 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

1
Analyze the access pattern and lifetime of the files.
The files are accessed for 7 days and then deleted.
Understanding the storage duration is critical to evaluating minimum storage duration constraints for cost-optimized tiering.
2
Evaluate the minimum storage duration rules for the target tiers.
S3 Standard-IA has a 30-day minimum storage duration, and S3 Glacier Flexible Retrieval has a 90-day minimum storage duration.
Any transition of objects deleted before these thresholds will incur charges for the remaining days.
3
Compare the cost of keeping files in S3 Standard versus transitioning them early.
Since the lifetime is only 7 days, keeping the files in S3 Standard for the entire 7 days and deleting them is cheaper than transitioning them and paying the minimum duration penalties.
Avoiding transition penalties is a core requirement for optimizing short-term storage costs.

Key Concept

S3 Lifecycle Minimum Storage Durations
Rate this question