A social media company allows users to upload images to its website, which runs on Amazon EC2 instances. During upload, the website resizes images to a standard size and stores the resized images in Amazon S3. Users experience slow upload requests. The company wants to reduce coupling in the application and improve website performance. Design the most operationally efficient image upload process. Which combination of actions should the solutions architect take? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Configure the application to upload images directly from each user's browser to Amazon S3 using a presigned URL., Configure S3 Event Notifications to invoke an AWS Lambda function when an image is uploaded. Use the function to resize the image..
Why this is the answer
Directly uploading images from the user's browser to S3 via a presigned URL offloads the initial upload burden from the EC2 instances, improving website responsiveness and reducing coupling. This is a common pattern for handling large file uploads. Using S3 Event Notifications to trigger a Lambda function for resizing decouples the resizing process from the web application. Lambda is serverless and scales automatically, making it an operationally efficient choice for image processing. Uploading to S3 Glacier is incorrect because Glacier is for archival storage with slower retrieval times, not for frequently accessed images. Uploading original images to S3 via the web server doesn't fully decouple the upload process from the EC2 instances. An EventBridge rule on a schedule is inefficient for real-time image resizing; S3 Event Notifications provide immediate processing upon upload.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed