Development with AWS Services
A versioned S3 bucket expires current object versions after 30 days, but storage charges keep growing because older versions remain. Which change will automatically remove those older versions after they have been noncurrent for 60 days?
Show the answer
Correct answerB. Configure noncurrent-version expiration for 60 days
AWhy not this: Transitioning versions changes their storage class but does not remove them.
BWhy this is right: Noncurrent-version expiration deletes older versions based on how long they have been noncurrent.
CWhy not this: Current-version expiration does not configure deletion of versions that are already noncurrent.
DWhy not this: Removing expired delete markers does not delete the older data versions that are consuming storage.
Noncurrent-version expiration permanently deletes versions after the configured time since they became noncurrent. Current-version expiration in a versioned bucket normally adds a delete marker rather than deleting the underlying versions.