
Answer-first summary for fast verification
Answer: Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
## Explanation **Requirements Analysis:** 1. **First 30 days:** Logs must be highly available for frequent analysis 2. **Days 31-90:** Logs need to be retained for backup purposes (less frequent access) 3. **After 90 days:** Logs should be deleted **Cost-Effectiveness Analysis:** **Option A:** - Uses S3 Standard for first 30 days (good for frequent access) - But continues with S3 Standard for days 31-90, which is expensive for backup/archive data - Deletes after 90 days - **Not optimal:** S3 Standard is too expensive for backup/archive data **Option B:** - Uses S3 Standard for first 30 days (good for frequent access) - Transitions to S3 Standard-IA for days 31-90 (cost-effective for infrequent access) - Deletes after 90 days - **Most cost-effective:** Uses appropriate storage classes for each phase **Option C:** - Transitions to Glacier after 30 days - **Problem:** Glacier has retrieval costs and minimum storage duration charges - **Not optimal:** For 60-day backup period, Glacier is not cost-effective compared to S3 Standard-IA **Option D:** - Uses S3 One Zone-IA after 30 days - **Problem:** S3 One Zone-IA stores data in only one AZ, which doesn't meet "highly available" requirement for backup purposes - Also moves to Glacier after 90 days (unnecessary since objects should be deleted) - **Not optimal:** Reduced durability and unnecessary Glacier transition **Why Option B is correct:** 1. **First 30 days:** S3 Standard provides high availability for frequent analysis 2. **Days 31-90:** S3 Standard-IA is perfect for backup/archive data - lower cost than Standard, but still provides high durability across multiple AZs 3. **After 90 days:** Simple expiration policy deletes objects 4. **No unnecessary transitions:** Doesn't move to Glacier when deletion is required **Key AWS Concepts:** - **S3 Standard:** High availability, frequent access, highest cost - **S3 Standard-IA:** Lower cost than Standard, suitable for infrequently accessed data, maintains high durability - **S3 One Zone-IA:** Lowest cost S3 storage class, but data stored in only one AZ (lower durability) - **S3 Glacier:** Archive storage, retrieval costs, minimum storage duration charges **Cost Optimization Principle:** Use the most cost-effective storage class that meets your access pattern and durability requirements.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company wants to build a logging solution for its multiple AWS accounts. The company currently stores the logs from all accounts in a centralized account. The company has created an Amazon S3 bucket in the centralized account to store the VPC flow logs and AWS CloudTrail logs. All logs must be highly available for 30 days for frequent analysis, retained for an additional 60 days for backup purposes, and deleted 90 days after creation.
Which solution will meet these requirements MOST cost-effectively?
A
Transition objects to the S3 Standard storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
B
Transition objects to the S3 Standard-Infrequent Access (S3 Standard-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
C
Transition objects to the S3 Glacier Flexible Retrieval storage class 30 days after creation. Write an expiration action that directs Amazon S3 to delete objects after 90 days.
D
Transition objects to the S3 One Zone-Infrequent Access (S3 One Zone-IA) storage class 30 days after creation. Move all objects to the S3 Glacier Flexible Retrieval storage class after 90 days. Write an expiration action that directs Amazon S3 to delete objects after 90 days.