Question

Difficulty: MediumCost-Optimized Storage Tiering and Lifecycle Management

A marketing agency generates weekly campaign performance reports averaging 2 MB2\text{ MB} in size. These reports are stored in an Amazon S3 Standard bucket. The agency's analytics team accesses the reports frequently for the first 10 days10\text{ days} of creation. After 10 days10\text{ days}, the reports are rarely accessed, but must be retained for a total of 25 days25\text{ days} for compliance, after which they can be permanently deleted. Which S3 lifecycle configuration is the most cost-effective to meet these requirements?

  1. Retain the reports in S3 Standard, and configure an S3 Lifecycle policy to permanently delete the objects after 25 days25\text{ days}.Answer
  2. B
    Configure an S3 Lifecycle policy to transition the reports to S3 Standard-Infrequent Access (S3 Standard-IA) after 10 days10\text{ days}, and permanently delete the objects after 25 days25\text{ days}.
  3. C
    Configure an S3 Lifecycle policy to transition the reports to S3 Glacier Instant Retrieval after 10 days10\text{ days}, and permanently delete the objects after 25 days25\text{ days}.
  4. D
    Configure an S3 Lifecycle policy to transition the reports to S3 Intelligent-Tiering after 10 days10\text{ days}, and permanently delete the objects after 25 days25\text{ days}.

Answer

Retain the reports in S3 Standard, and configure an S3 Lifecycle policy to permanently delete the objects after 25 days25\text{ days}.
Retaining the reports in S3 Standard for the entire 25 days and then deleting them is the most cost-effective option. Transitioning objects to S3 Standard-IA or S3 Glacier classes introduces minimum storage duration requirements (30 days and 90 days, respectively). Because the files are deleted on day 25, any transition on day 10 would result in paying early deletion penalties for the remaining days of the minimum duration, making the transition more expensive than keeping them in S3 Standard.

Step-by-Step Solution

1
Calculate the active storage duration for the objects in each tier.
The objects are stored in the bucket for a total of 25 days25\text{ days}. They are accessed frequently for the first 10 days10\text{ days} and are inactive for the remaining 15 days15\text{ days}.
This establishes the timeline to evaluate minimum storage duration constraints for different S3 storage tiers.
2
Evaluate S3 Standard-IA and S3 Glacier billing constraints.
S3 Standard-IA has a minimum storage charge of 30 days30\text{ days}, and S3 Glacier Instant Retrieval has a minimum charge of 90 days90\text{ days}. Since the objects are deleted after 25 days25\text{ days} total (15 days15\text{ days} after transition), both options incur early deletion penalties.
Understanding S3 minimum storage duration policies is critical to determining the true cost of lifecycle transitions.
3
Compare the cost of keeping the objects in S3 Standard versus transitioning them.
Keeping the objects in S3 Standard for 25 days25\text{ days} costs less than transitioning them to S3 Standard-IA, which incurs 10 days10\text{ days} of S3 Standard storage, 30 days30\text{ days} of S3 Standard-IA storage (due to the minimum duration penalty), and transition request fees.
Comparing total costs reveals that avoiding the transition is more cost-effective when the retention period is shorter than the tier's minimum storage duration.

Key Concept

S3 Lifecycle Minimum Storage Durations and Early Deletion Fees
Estimated Time:1m 30s
Rate this question