Question

Difficulty: MediumCost-Optimized Storage Tiering and Lifecycle Management

An advertising agency stores high-resolution campaign image assets in an Amazon S3 bucket. Each asset is approximately 15 MB15\text{ MB} in size. The assets are accessed frequently for the first 1010 days of a campaign. After the campaign ends, the assets are accessed occasionally for reporting and analysis for another 1515 days. Once 2525 days have passed since upload, the assets are no longer needed and must be deleted. Which lifecycle configuration is the most cost-effective for these assets?

  1. Retain the assets in Amazon S3 Standard for the entire 2525 days, and configure a lifecycle rule to expire the objects after 2525 days.Answer
  2. B
    Configure a lifecycle rule to transition the assets to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 1010 days, and expire the objects after 2525 days.
  3. C
    Configure a lifecycle rule to transition the assets to Amazon S3 Glacier Flexible Retrieval after 1010 days, and expire the objects after 2525 days.
  4. D
    Configure a lifecycle rule to transition the assets to Amazon S3 Standard-Infrequent Access (S3 Standard-IA) after 11 day, and expire the objects after 2525 days.

Answer

Retain the assets in Amazon S3 Standard for the entire 25 days, and configure a lifecycle rule to expire the objects after 25 days.
The correct option is to retain the assets in S3 Standard for the entire 25 days and then delete them. Because the total lifecycle of these objects is only 25 days, any transition to Amazon S3 Standard-IA or Amazon S3 Glacier classes will trigger minimum storage duration charges (30 days for S3 Standard-IA and 90 days for S3 Glacier). Thus, keeping the assets in S3 Standard avoids these penalty charges, making it the most cost-effective solution.

Step-by-Step Solution

1
Analyze the lifecycle timeline and access patterns of the assets.
Assets are uploaded to Amazon S3, accessed frequently for 10 days, accessed occasionally for 15 days (days 11 to 25), and must be deleted on day 25.
Understanding the timeline helps determine if transition thresholds and minimum storage durations for S3 classes are met.
2
Evaluate the suitability of S3 Standard-IA storage tier rules.
Transitioning to S3 Standard-IA on day 10 and deleting on day 25 means the assets reside in S3 Standard-IA for only 15 days. This is less than the S3 Standard-IA minimum storage duration of 30 days.
Any deletion or transition prior to the 30-day minimum in S3 Standard-IA results in a prorated charge for the remaining days.
3
Evaluate the suitability of S3 Glacier storage tier rules.
Transitioning to S3 Glacier Flexible Retrieval on day 10 introduces retrieval delays during a period when the assets are still occasionally accessed for reporting. Furthermore, S3 Glacier has a 90-day minimum storage duration, which is violated when the assets are deleted on day 25.
Glacier is not suitable for active analysis, and the 90-day minimum charge leads to high cost penalties.
4
Select the most cost-effective option based on the analysis.
Keeping the assets in S3 Standard for the entire 25-day lifetime avoids all short-term storage penalties and transition fees.
Since the lifetime is shorter than the minimum durations of cost-optimized tiers, keeping files in S3 Standard is the cheapest solution.

Key Concept

Understanding Amazon S3 lifecycle constraints, specifically minimum storage durations for S3 Standard-IA (30 days) and S3 Glacier (90 days), to avoid cost penalties on transient data.
Rate this question