A healthcare application on AWS archives patient records that need to be retained for a minimum of 7 years for compliance reasons. The current design stores all data on Amazon S3. Which S3 feature should be used to automate the transition of the patient records to a lower-cost storage class after a year, and then ensure deletion after 7 years?
Implement an Amazon S3 Lifecycle policy to transition the data to S3 Glacier after a year and expire the data after 7 years.
Configure S3 Replication to replicate the data to a different bucket for storing the data longer and reducing costs.
Enable Amazon S3 Intelligent-Tiering to automatically move the data to the most cost-effective storage class.
Set up S3 Versioning to make archived versions of the patient records, which could later be manually deleted after 7 years.