
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company uses Amazon S3 to store high-resolution pictures in an S3 bucket. To minimize application changes, the company stores the pictures as the latest version of an S3 object. The company needs to retain only the two most recent versions of the pictures.
The company wants to reduce costs. The company has identified the S3 bucket as a large expense.
Which solution will reduce the S3 costs with the LEAST operational overhead?
A
Use S3 Lifecycle to delete expired object versions and retain the two most recent versions.
B
Use an AWS Lambda function to check for older versions and delete all but the two most recent versions.
C
Use S3 Batch Operations to delete noncurrent object versions and retain only the two most recent versions.
D
Deactivate versioning on the S3 bucket and retain the two most recent versions.
Explanation:
Correct Answer: A - Use S3 Lifecycle to delete expired object versions and retain the two most recent versions.
Option B (Lambda Function):
Option C (S3 Batch Operations):
Option D (Deactivate Versioning):
For ongoing cost optimization of versioned S3 objects with minimal operational overhead, S3 Lifecycle policies are the recommended AWS-native solution.