AWS Certified Solutions Architect – Professional — Question 992

Your company hosts a social media website for storing and sharing documents. The web application allows user to upload large files while resuming and pausing the upload as needed. Currently, files are uploaded to your PHP front end backed by Elastic Load Balancing and an autoscaling fleet of Amazon Elastic Compute
Cloud (EC2) instances that scale upon average of bytes received (NetworkIn). After a file has been uploaded, it is copied to Amazon Simple Storage Service (S3).
Amazon EC2 instances use an AWS Identity and Access Management (IAM) role that allows Amazon S3 uploads. Over the last six months, your user base and scale have increased significantly, forcing you to increase the Auto Scaling group's Max parameter a few times. Your CFO is concerned about rising costs and has asked you to adjust the architecture where needed to better optimize costs.
Which architecture change could you introduce to reduce costs and still keep your web application secure and scalable?

Answer options

Correct answer: D

Explanation

Directly uploading files to Amazon S3 bypasses the EC2 instances and Elastic Load Balancing, significantly reducing data transfer and compute costs. Option D is the correct choice because it leverages the Amazon S3 multipart upload API, which is specifically designed to support pausing, resuming, and parallelizing large file uploads. Option B lacks the multipart upload capability needed for resuming uploads, while Options A and C do not address the root cause of the high compute and load balancing costs associated with handling large file transfers on EC2.