AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company's legal department requires all transaction records to be kept for 5 years for auditing purposes, after which they can be deleted. The Solutions Architect needs to ensure this policy is applied to transactional data stored in Amazon S3 in a cost-effective manner. What action should the Architect take to meet these requirements?
Set up a cron job script that runs every day to check the creation date of the objects and deletes those that are older than 5 years.
Configure an Amazon S3 lifecycle policy to transition objects to Amazon S3 Glacier after 6 months of creation and expire objects after 5 years.
Maintain all transaction records in the S3 Standard storage class indefinitely, and perform a manual review annually to delete data older than 5 years.
Enable Amazon S3 Intelligent-Tiering on the bucket to automatically move the data to the most cost-effective access tier based on usage patterns.
The correct action is to configure a lifecycle policy that automatically transitions the S3 objects to Glacier after a certain period of infrequent access and ultimately expires (deletes) them after 5 years. This approach utilizes Amazon S3's capability to transition data to less expensive storage classes and defines a schedule to delete old data, which together optimize costs while complying with retention policies. Using less frequent access storage classes before archival and then deleting the data aligns with the cost optimization and data retention requirement. Using Intelligent-Tiering may incur additional costs without meeting the specific audit retention timeframe, as it does not ensure deletion after the required period. Setting a policy to store all data in S3 Standard would not be cost-optimized due to the higher cost of the S3 Standard storage class over a long period. Manually deleting the data is prone to human error and is not reliable for compliance.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are Amazon S3 lifecycle policies and how do they work?
Open an interactive chat with Bash
What is Amazon S3 Glacier and when should it be used?
Open an interactive chat with Bash
What are the risks associated with manually deleting data from S3?