Question 170:
Your company owns a big data analysis application. The application saves a large number of files in an S3 bucket. Versioning has been enabled in the S3 bucket. To save cost, you want to delete previous versions of objects in the S3 bucket after 30 days, and the current versions of objects should still be kept. How would you implement this?
Answer options:
A.Create an S3 lifecycle rule and select the lifecycle rule action to be “Permanently delete previous versions of objects”. B.Create an S3 lifecycle rule that disables S3 versioning after 30 days. C.Create an S3 lifecycle rule that expires current versions of objects and deletes previous versions. D.Create an S3 lifecycle rule that deletes expired delete markers for the previous versions of objects.