Which solution will meet these requirements?
Review the Incomplete Multipart Upload Bytes metric in the S3 Storage Lens dashboard. Create an S3 Lifecycle policy to automatically delete any incomplete multipart uploads after 7 days.
Implement S3 Intelligent-Tiering to move data into lower-cost storage classes after 7 days. Create an S3 Storage Lens policy to automatically delete any incomplete multipart uploads after 7 days.
Access the S3 console. Review the Metrics tab to check the storage that incomplete multipart uploads are consuming. Create an AWS Lambda function to delete any incomplete multipart uploads after 7 days.
Use the S3 analytics storage class analysis tool to identify and measure incomplete multipart uploads. Configure an S3 bucket policy to enforce restrictions on multipart uploads to delete incomplete multipart uploads after 7 days.
Explanations:
The S3 Storage Lens dashboard provides the necessary metrics for incomplete multipart uploads, and an S3 Lifecycle policy can be configured to automatically delete incomplete uploads after 7 days. This meets the requirement for both tracking metrics and automatically cleaning up incomplete uploads.
S3 Intelligent-Tiering is designed to move data between storage classes based on access patterns, not for handling incomplete multipart uploads. It doesn’t help with the automatic deletion of incomplete uploads after a specific time period.
While reviewing the S3 console’s Metrics tab can help identify incomplete uploads, using an AWS Lambda function is not the most efficient or built-in way to automatically delete incomplete uploads. Lifecycle policies are more appropriate for this task.
S3 analytics storage class analysis is designed to analyze storage access patterns, not to track incomplete multipart uploads. Bucket policies do not provide a mechanism to automatically delete incomplete multipart uploads; this can be done through Lifecycle policies.