Q45 — AWS SAA-C03 Ch.1
Question 45 of 65 | ← Chapter 1
Q45. A solutions architect is designing a solution that requires frequent updates to a website that is hosted on Amazon S3 with versioning enabled For compliance reasons, the older versions of the objects will not be accessed frequently and will need to be deleted after 2 years. What should the solutions architect recommend to meet these requirements at the LOWEST cost?
- A. Use S3 batch operations to replace object tags Expire the objects based on the modified tags.
- B. Configure an S3 Lifecycle policy to transition older versions of objects to S3 Glacier. Expire the objects after 2 years. ✓
- C. Enable S3 Event Notifications on the bucket that sends older objects to the Amazon Simple Queue Service (Amazon SQS) queue for further processing
- D. Replicate older object versions to a new bucket. Use an S3 Lifecycle policy to expire the objects in the new bucket after 2 years.
Correct Answer: B. Configure an S3 Lifecycle policy to transition older versions of objects to S3 Glacier. Expire the objects after 2 years.
Explanation
To meet the requirements at the lowest cost, the solutions architect should recommend configuring an S3 Lifecycle policy. By setting up a lifecycle policy, the older versions of objects can be automatically transitioned to the more cost-effective storage class, such as S3 Glacier, after a specified period of time (in this case, 2 years). This allows for compliance with the requirement to retain the objects for 2 years while minimizing the storage costs.Additionally, by expiring the objects after 2 years, you can ensure that the objects are deleted and no longer incur any storage costs beyond the necessary retention period.