ETExamTower
Q42Design Resilient Architectures

A social media company wants to let its users upload images in an application hosted in the AWS Cloud. The company needs a solution that automatically resizes the images so they can be displayed on multiple device types. The application has unpredictable traffic patterns throughout the day. The company wants a highly available solution that maximizes scalability. What should a solutions architect do to meet these requirements?

← → navigate · a answer
Community votes
A
100% (6)
B
0% (0)
C
0% (0)
D
0% (0)
Discussion · 7
A 19
By using Amazon S3 and AWS Lambda together, you can create a serverless architecture that provides highly scalable and available image resizing capabilities. Here's how the solution would work: Set up an Amazon S3 bucket to store the original images uploaded by users. Configure an event trigger on the S3 bucket to invoke an AWS Lambda function whenever a new image is uploaded. The Lambda function can be designed to retrieve the uploaded image, perform the necessary resizing operations based on device requirements, and store the resized images back in the S3 bucket or a different bucket designated for resized images. Configure the Amazon S3 bucket to make the resized images publicly accessible for serving to users.
4
image = static = S3 or cloudfront but image is unstructured data so you dont store it in a relational database like RDS and Step Function is not for processing So A
A 3
Scalability = S3, Lamda automatically resize images = Lambda
2
How can end user upload an image to S3 bucket with static hosting. I believe it should be dynamic website (Answer D)
A 2
This meets all the key requirements: S3 static website provides high availability and auto scaling to handle unpredictable traffic Lambda functions invoked from the S3 site can resize images on the fly Storing images in S3 buckets provides durability, scalability and high throughput Serverless approach with S3 and Lambda maximizes scalability and availability
A 1
OK. A is better, although I chose D originally. I guess it shouldn't be D simply because it overkills for this scenario and introduces higher operational overhead (even though option D can handle more complex workloads than Lambda if needed).
A 1
Is Static Website Read only ? Eventhough I have selected Answer as A