A digital marketing firm processes web interaction logs that are saved to an Amazon S3 bucket. The logs average in size. These files are frequently accessed during the first for campaign optimization. After , access drops significantly, but the files must be kept for an additional (total of from creation) before being permanently deleted. Which two configurations should the solutions architect implement to achieve the most cost-effective storage strategy? (Select TWO.)
- ACreate an S3 Lifecycle rule to transition the objects from S3 Standard to S3 Standard-Infrequent Access (S3 Standard-IA) after .
- Keep the log files in S3 Standard for the entire without transitioning them to another S3 storage class.Answer
- Create an S3 Lifecycle rule to expire the objects after creation.Answer
- DCreate an S3 Lifecycle rule to transition the objects from S3 Standard to Amazon S3 Glacier Instant Retrieval after .
- ECreate an S3 Lifecycle rule to transition the objects from S3 Standard to S3 Intelligent-Tiering after .
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 () and have a short total retention period of . Transitioning them to S3 Standard-IA or Glacier Instant Retrieval would trigger minimum storage size billing () and early deletion charges (due to or minimums). Configuring an S3 Lifecycle rule to expire the objects after is correct because it automates deletion to prevent ongoing storage charges once the retention requirement is met.
Step-by-Step Solution
Key Concept
S3 Lifecycle and Storage Class Constraints (Minimum Object Size and Storage Duration)