A company has a web application that allows users to upload short videos. The videos are stored on Amazon EBS volumes and analyzed by

custom recognition software for categorization.

The website contains static content that has variable traffic with peaks in certain months. The architecture consists of Amazon EC2 instances

running in an Auto Scaling group for the web application and EC2 instances running in an Auto Scaling group to process an Amazon SQS queue.

The company wants to re-architect the application to reduce operational overhead using AWS managed services where possible and remove

dependencies on third-party software.

Which solution meets these requirements?


AUse Amazon ECS containers for the web application and Spot instances for the Auto Scaling group that processes the SQS queue. Replace

the custom software with Amazon Rekognition to categorize the videos.

BStore the uploaded videos in Amazon EFS and mount the file system to the EC2 instances for the web application. Process the SQS queue

with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos.

CHost the web application in Amazon S3. Store the uploaded videos in Amazon S3. Use S3 event notification to publish events to the SQS

queue. Process the SQS queue with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos.

DUse AWS Elastic Beanstalk to launch EC2 instances in an Auto Scaling group for the web application and launch a worker environment to

process the SQS queue. Replace the custom software with Amazon Rekognition to categorize the videos.

Verified Answer :

The correct answer is C. Host the web application in Amazon S3. Store the uploaded videos in Amazon S3. Use S3 event notification to publish events to the SQS queue. Process the SQS queue with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos.

Here's why:

- Hosting the web application in S3 reduces operational overhead and removes dependencies on third-party software.

- Storing uploaded videos in S3 allows for scalable and durable storage.

- Using S3 event notification to publish events to the SQS queue decouples the web application from the processing workflow.

- Processing the SQS queue with an AWS Lambda function reduces operational overhead and allows for serverless video categorization using Amazon Rekognition.

This solution meets all the requirements:

- Reduces operational overhead using AWS managed services (S3, Lambda, SQS, Rekognition)

- Removes dependencies on third-party software (custom recognition software)

- Scales with variable traffic and peaks in certain months (S3, Lambda, SQS)