AWS Certified Solutions Architect – Associate (SAA-C03) — Question 530

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?

Answer options

Correct answer: C

Explanation

Transitioning the logs to S3 Glacier Flexible Retrieval after 30 days provides the most cost-effective backup storage for the remaining 60 days of the retention period. S3 Glacier Flexible Retrieval has a minimum storage duration charge of 90 days, which aligns perfectly with deleting the objects at day 90. Options B and D are incorrect because trying to transition to Glacier and expire them at the same 90-day mark is redundant, while Option A is not cost-effective as S3 Standard is too expensive for backup storage.