AWS Certified Developer – Associate (DVA-C02)Development with AWS ServicesMedium
A developer is creating an application that needs to securely upload large files (up to 50 GB) to Amazon S3. To improve reliability and performance, especially over unreliable networks, the developer wants to use multipart uploads. What is the MINIMUM part size allowed for all parts except the last part when performing a multipart upload to S3?
- A10 MB
- B100 MB
- C1 MB
- D5 MB
Show answer & explanationAnswer & explanation
Correct answer: D. 5 MB
Amazon S3 Multipart Upload has a minimum part size of 5 MB for all parts except the last part. The last part can be smaller than 5 MB. This minimum size helps optimize the transfer and storage of large objects.
Why the other options are wrong
- A. 10 MB is a valid part size, but not the minimum.
- B. 100 MB is a valid part size, but not the minimum.
- C. 1 MB is below the minimum required part size for S3 multipart uploads.
S3 Multipart Upload Part Size
When using Amazon S3 Multipart Upload, each part of the object, except the last part, must be at least 5 MB in size. The maximum number of parts is 10,000, and the maximum overall object size is 5 TB.
- Minimum part size (except last): 5 MB.
- Maximum part size: 5 GB.
- Maximum number of parts: 10,000.
- Maximum object size (assembled): 5 TB.
- Improves throughput, resilience, and allows pausing/resuming uploads.
Memory trick: Five 'Mega' parts make a 'Multi' upload.