Question

Difficulty: MediumCost-Optimized Storage Tiering and Lifecycle Management

A digital marketing firm processes web interaction logs that are saved to an Amazon S3 bucket. The logs average 15 KB15\text{ KB} in size. These files are frequently accessed during the first 10 days10\text{ days} for campaign optimization. After 10 days10\text{ days}, access drops significantly, but the files must be kept for an additional 10 days10\text{ days} (total of 20 days20\text{ days} from creation) before being permanently deleted. Which two configurations should the solutions architect implement to achieve the most cost-effective storage strategy? (Select TWO.)

  1. A
    Create an S3 Lifecycle rule to transition the objects from S3 Standard to S3 Standard-Infrequent Access (S3 Standard-IA) after 10 days10\text{ days}.
  2. Keep the log files in S3 Standard for the entire 20 days20\text{ days} without transitioning them to another S3 storage class.Answer
  3. Create an S3 Lifecycle rule to expire the objects 20 days20\text{ days} after creation.Answer
  4. D
    Create an S3 Lifecycle rule to transition the objects from S3 Standard to Amazon S3 Glacier Instant Retrieval after 10 days10\text{ days}.
  5. E
    Create an S3 Lifecycle rule to transition the objects from S3 Standard to S3 Intelligent-Tiering after 10 days10\text{ days}.

Answer

The solutions architect should keep the log files in S3 Standard for the entire duration and create an S3 Lifecycle rule to expire the objects after 20 days.
Keeping the log files in S3 Standard for the entire lifecycle is correct because the files are small (15 KB15\text{ KB}) and have a short total retention period of 20 days20\text{ days}. Transitioning them to S3 Standard-IA or Glacier Instant Retrieval would trigger minimum storage size billing (128 KB128\text{ KB}) and early deletion charges (due to 30 day30\text{ day} or 90 day90\text{ day} minimums). Configuring an S3 Lifecycle rule to expire the objects after 20 days20\text{ days} is correct because it automates deletion to prevent ongoing storage charges once the retention requirement is met.

Step-by-Step Solution

1
Analyze the size of the individual objects and their access pattern.
The individual files average 15 KB15\text{ KB}, which is well below the 128 KB128\text{ KB} minimum storage size threshold for S3 Standard-IA and S3 Glacier tiers. Transitioning these objects to these tiers would result in being billed for 128 KB128\text{ KB} per object.
Understanding object size constraints prevents cost inflation from minimum storage size requirements.
2
Evaluate the storage duration against S3 storage class minimum duration rules.
The files are deleted after 20 days20\text{ days}. S3 Standard-IA has a minimum storage duration of 30 days30\text{ days}, and S3 Glacier tiers have a minimum storage duration of 90 days90\text{ days} or more. Deleting them at day 20 incurs early deletion penalties.
Determining retention rules avoids early deletion charge penalties.
3
Formulate the most cost-effective tiering and deletion strategy.
Keep the objects in S3 Standard to avoid minimum storage size and duration penalties, and apply a lifecycle expiration rule to delete them after 20 days20\text{ days} to stop storage costs immediately.
Combining S3 Standard retention with automated expiration optimizes both storage tier charges and deletion lifecycle.

Key Concept

S3 Lifecycle and Storage Class Constraints (Minimum Object Size and Storage Duration)
Rate this question