
Answer-first summary for fast verification
Answer: Directly upload original images to Amazon S3 from the web server., Utilize S3 Event Notifications to trigger a Lambda function for image resizing upon upload.
To improve performance and reduce coupling, the solutions architect should configure the web server to upload the original images to Amazon S3 (Option B). This reduces the load on the EC2 instances by offloading the storage responsibility to S3. Then, by configuring S3 Event Notifications to invoke an AWS Lambda function when an image is uploaded to S3, the image can be resized efficiently without additional requests to the web server (Option D). This approach ensures the application is less coupled and more scalable.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A social media company is experiencing slow image upload performance on its Amazon EC2-based website. To improve performance and reduce application coupling, which actions should a solutions architect implement for the image upload process?
A
Use S3 Glacier for image uploads.
B
Directly upload original images to Amazon S3 from the web server.
C
Enable direct browser-to-Amazon S3 uploads using presigned URLs.
D
Utilize S3 Event Notifications to trigger a Lambda function for image resizing upon upload.
E
Set up an EventBridge rule to periodically invoke a Lambda function for resizing images.
No comments yet.