Question

Difficulty: HardAmazon S3 Storage Class and Lifecycle Optimization

A company collects daily telemetry files from IoT devices and stores them in an Amazon S3 Standard bucket. The telemetry files must be queryable with millisecond latency for the first 30 days. Between day 30 and day 90, the data is accessed occasionally but still requires millisecond retrieval latency. After 90 days, the files are rarely accessed but must be retained for 7 years (25552555 days) for compliance auditing, where a retrieval time of up to 12 hours is acceptable. Which S3 Lifecycle configuration meets these requirements in the most cost-effective manner without violating S3 Lifecycle constraints or incurring premature transition penalties?

  1. A
    Transition objects to S3 Standard-Infrequent Access (Standard-IA) after 15 days, transition them to S3 Glacier Deep Archive after 90 days, and expire them after 2555 days.
  2. B
    Transition objects to S3 Standard-Infrequent Access (Standard-IA) after 30 days, transition them to S3 Intelligent-Tiering after 90 days, and expire them after 2555 days.
  3. Transition objects to S3 Standard-Infrequent Access (Standard-IA) after 30 days, transition them to S3 Glacier Deep Archive after 90 days, and expire them after 2555 days.Answer
  4. D
    Transition objects to S3 Glacier Deep Archive after 30 days, transition them to S3 Standard-Infrequent Access (Standard-IA) after 90 days, and expire them after 2555 days.

Answer

Create a lifecycle rule to transition objects to S3 Standard-Infrequent Access (Standard-IA) after 30 days, transition them to S3 Glacier Deep Archive after 90 days, and expire them after 2555 days.
The correct configuration transitions objects to S3 Standard-IA after 30 days, transitions them to S3 Glacier Deep Archive after 90 days, and expires them after 2555 days. This satisfies the millisecond latency requirement for the first 90 days (S3 Standard for 30 days, S3 Standard-IA for the next 60 days). It is valid because the transition to S3 Standard-IA occurs at exactly 30 days, satisfying the minimum residency requirement in S3 Standard. Furthermore, transitioning from S3 Standard-IA to S3 Glacier Deep Archive at day 90 means the objects resided in Standard-IA for 60 days, which exceeds the 30-day minimum storage billing period. Lastly, S3 Glacier Deep Archive supports 12-hour retrievals and provides the most cost-effective storage for the remaining duration.

Step-by-Step Solution

1
Analyze the access pattern and latency requirements for each phase.
The first 30 days require S3 Standard (active access, millisecond latency). Days 30 to 90 require millisecond latency but are accessed occasionally (S3 Standard-IA). Days 91 and beyond require retention for 7 years with up to 12 hours retrieval time (S3 Glacier Deep Archive).
This establishes the target storage classes needed to optimize costs while satisfying performance requirements.
2
Validate the first transition rule constraint.
The transition from S3 Standard to S3 Standard-IA can only happen after objects have been in S3 Standard for at least 30 days. Setting the transition to day 30 is the earliest possible valid time.
Transitioning earlier (e.g., at day 15) violates the S3 Lifecycle minimum duration constraint and causes policy validation failure.
3
Validate the second transition rule and minimum storage duration constraints.
Objects are transitioned to S3 Glacier Deep Archive after 90 days. Because they were transitioned to S3 Standard-IA at day 30, they spend exactly 60 days in Standard-IA. Since S3 Standard-IA has a minimum storage duration charge of 30 days, this transition does not incur any early deletion/transition fees.
Ensuring the minimum storage duration of the intermediate class is met avoids unnecessary billing charges.
4
Ensure transition direction compliance.
Transitions must progress from warmer to colder classes (Standard -> Standard-IA -> Glacier Deep Archive). Colder-to-warmer transitions or transitions from Standard-IA to Intelligent-Tiering are invalid.
Following the one-way progression of S3 storage classes is required to maintain a valid, error-free S3 Lifecycle policy.

Key Concept

Understanding S3 Lifecycle transition rules, sequence constraints, and minimum storage duration requirements for standard and infrequent access tiers.
Rate this question