AWS Certified SysOps Administrator – Associate — Question 336
A company has scientists who upload large data objects to an Amazon S3 bucket. The scientists upload the objects as multipart uploads. The multipart uploads often fail because of poor end-client connectivity.
The company wants to optimize storage costs that are associated with the data. A SysOps administrator must implement a solution that presents metrics for incomplete uploads. The solution also must automatically delete any incomplete uploads after 7 days.
Which solution will meet these requirements?
Answer options
- A. 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.
- B. 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.
- C. 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.
- D. 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.
Correct answer: A
Explanation
Amazon S3 Storage Lens provides the 'Incomplete Multipart Upload Bytes' metric, which allows administrators to easily monitor the storage consumed by failed uploads. An S3 Lifecycle policy is the standard, automated, and cost-effective way to clean up these incomplete uploads after a specified number of days. Other options are incorrect because S3 Storage Lens does not support deletion policies, S3 bucket policies cannot delete objects on a schedule, and using AWS Lambda is unnecessarily complex compared to native S3 Lifecycle rules.