Design Secure Architectures

A versioned S3 bucket must expire current objects after 30 days, permanently remove previous versions 90 days after they become noncurrent, and remove incomplete multipart uploads after 7 days. Which S3 Lifecycle configuration meets these requirements?

Show the answer

Correct answerD. Expire current versions after 30 days; expire noncurrent versions after 90 days; abort incomplete multipart uploads after 7 days.

AWhy not this: Object expiration under a prefix does not remove the uploaded parts of incomplete multipart uploads.

BWhy not this: The current-version and noncurrent-version retention periods are reversed.

CWhy not this: A storage-class transition retains noncurrent versions instead of permanently deleting them.

DWhy this is right: The three actions apply the required expiration periods and separately remove unfinished multipart uploads.

Current-version expiration, noncurrent-version expiration, and incomplete multipart upload abortion address separate lifecycle requirements. Transitioning a noncurrent version to an archive storage class retains it rather than permanently deleting it.