Question

Difficulty: HardAmazon S3 Storage Class and Lifecycle Optimization

A financial services company uploads monthly compliance reports as PDF documents to an Amazon S3 Standard bucket. The reports are frequently accessed during the first 30 days. From day 31 to day 60, the reports are accessed occasionally but must be retrieved instantly when needed. After 60 days, access is extremely rare, and a retrieval time of several hours is acceptable for audit purposes. The reports must be deleted after 3 years.

A SysOps administrator attempts to implement the following Amazon S3 Lifecycle configuration:
* Transition to S3 Standard-IA after 30 days
* Transition to S3 Glacier Flexible Retrieval after 45 days
* Expiration after 1095 days

However, the AWS CLI returns a validation error when the administrator tries to apply the lifecycle policy.

Which of the following describes the cause of this error and the action required to successfully implement the cost-optimization strategy?

  1. S3 Lifecycle rules require that the transition to S3 Glacier Flexible Retrieval occur at least 30 days after the transition to S3 Standard-IA. The policy must be modified to transition objects to S3 Glacier Flexible Retrieval after at least 60 days.Answer
  2. B
    S3 Standard-IA has a minimum storage duration constraint of 90 days before objects can be transitioned to any Glacier storage class. The policy must be modified to transition objects to S3 Glacier Flexible Retrieval after at least 120 days.
  3. C
    Transitioning objects from S3 Standard-IA to S3 Glacier Flexible Retrieval is an invalid path. A separate rule must be created to transition objects directly from S3 Standard to S3 Glacier Flexible Retrieval after 60 days.
  4. D
    S3 Lifecycle configurations do not support multiple transition actions within the same rule. The administrator must create two separate rules under different prefixes to transition the objects.

Answer

S3 Lifecycle rules require that the transition to S3 Glacier Flexible Retrieval occur at least 30 days after the transition to S3 Standard-IA. The policy must be modified to transition objects to S3 Glacier Flexible Retrieval after at least 60 days.
The correct option explains that S3 Lifecycle rules require that the transition to S3 Glacier Flexible Retrieval occur at least 30 days after the transition to S3 Standard-IA. The policy must be modified to transition objects to S3 Glacier Flexible Retrieval after at least 60 days. This is correct because S3 Lifecycle validation enforces that any subsequent transition to a colder storage class (like S3 Glacier Flexible Retrieval) must be scheduled at least 30 days after the transition to S3 Standard-IA. Since the transition to S3 Standard-IA is scheduled for 30 days, the transition to S3 Glacier Flexible Retrieval must be at least 60 days (30 + 30) from the object creation date to avoid a validation error.

Step-by-Step Solution

1
Analyze the access patterns and S3 storage class requirements.
Standard-IA is suitable for days 30-60 (instant retrieval needed). S3 Glacier Flexible Retrieval is suitable after day 60 (retrieval time of several hours is acceptable). Deletion at 3 years (1095 days).
Matching access patterns to S3 storage classes optimizes storage cost while meeting availability SLA.
2
Examine S3 Lifecycle validation constraints for transitions.
S3 Lifecycle rules require that objects must be stored in S3 Standard-IA or S3 One Zone-IA for at least 30 days before they can be transitioned to another storage class (such as S3 Glacier Flexible Retrieval).
This is a mandatory S3 API validation rule; violating it results in a validation error on policy application.
3
Calculate the valid transition timing for S3 Glacier Flexible Retrieval.
Since transition to Standard-IA occurs at day 30, the transition to Glacier Flexible Retrieval must occur at day 30 + 30 days = day 60 or later.
Adjusting the second transition to 60 days satisfies the 30-day minimum duration requirement in Standard-IA and matches the business requirement to move objects to Glacier after 60 days.

Key Concept

Amazon S3 Storage Class and Lifecycle Transition Rules
Estimated Time:2m 0s
Rate this question