A versioning-enabled S3 bucket must retain current objects indefinitely but permanently remove previous versions 30 days after they become noncurrent. Which lifecycle action meets this requirement?
Show the answer
Correct answerD. Expire noncurrent versions after 30 days.
AWhy not this: Transitioning noncurrent versions changes their storage class but does not permanently delete them.
BWhy not this: Expired delete marker cleanup removes eligible markers, not previous data versions after a retention period.
CWhy not this: Current-version expiration affects current objects, which must be retained indefinitely.
DWhy this is right: Noncurrent version expiration measures retention from when a version becomes noncurrent and permanently removes it.
Noncurrent version expiration permanently deletes versions after the specified time since they became noncurrent. Current-version expiration instead affects current objects and, in a versioning-enabled bucket, typically adds delete markers.