
Answer-first summary for fast verification
Answer: Enable an S3 Transfer Acceleration endpoint on the S3 bucket. Use this endpoint when generating presigned URLs and instruct the browser interface to upload objects using the S3 multipart upload API for improved performance.
The correct answer is C. Using S3 Transfer Acceleration improves the performance of uploads over long distances by utilizing Amazon CloudFront's globally distributed edge locations. By generating presigned URLs with the Transfer Acceleration endpoint and using the S3 multipart upload API, users can achieve faster and more reliable uploads. This approach also ensures that only authenticated users can upload content, as the creation of presigned URLs requires valid AWS credentials. Options A and B suggest using Amazon API Gateway, which has payload size limitations and might not be suitable for large uploads. Option D involves using CloudFront, but it is generally more complex to set up and manage for this specific use case.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company's web application securely uploads multimedia content (pictures and videos) to an Amazon S3 bucket, requiring that only authenticated users can upload content. The application generates presigned URLs for browser-based uploads, but users experience slow upload times for files larger than 100 MB. How can a solutions architect enhance upload performance while maintaining secure access for authenticated users?
A
Set up an Amazon API Gateway with an edge-optimized API endpoint that acts as an S3 service proxy. Configure the PUT method to expose the S3 PutObject operation and secure the API Gateway using a COGNITO_USER_POOLS authorizer. Redirect the browser interface to use API Gateway instead of the presigned URL for uploads.
B
Set up an Amazon API Gateway with a regional API endpoint that acts as an S3 service proxy. Configure the PUT method to expose the S3 PutObject operation and secure the API Gateway using an AWS Lambda authorizer. Redirect the browser interface to use API Gateway instead of the presigned URL for uploads.
C
Enable an S3 Transfer Acceleration endpoint on the S3 bucket. Use this endpoint when generating presigned URLs and instruct the browser interface to upload objects using the S3 multipart upload API for improved performance.
D
Configure an Amazon CloudFront distribution for the S3 bucket, enabling PUT and POST methods for the CloudFront cache behavior. Update the CloudFront origin to use an origin access identity (OAI) and grant the OAI PutObject permissions in the bucket policy. Redirect the browser interface to upload objects using the CloudFront distribution.