You are designing the following application in AWS.
Users will use the application to upload videos and images.
The files will then be picked up by a worker process for further processing.
Which of the below services should be used in the design of the application.
Choose 2 answers from the options given below.
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - A and D.
The AWS Documentation mentions the following.
Amazon Simple Storage Service is storage for the Internet.
It is designed to make web-scale computing easier for developers.
Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.
SQS eliminates the complexity and overhead associated with managing and operating message-oriented middleware and empowers developers to focus on differentiating work.
Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available.
Based on S3 Bucket events, you can trigger the SQS Queue.
You can go in Bucket properties and select the event and choose SQS Queue.
Option A is CORRECT because S3 is a highly available service to store videos and images.
Option B is incorrect since this is used for archive storage.
Option C is incorrect since this is used as a notification service.
Option D is CORRECT because the SQS queue can store the upload events for the worker process to pick up as messages.
For more information on S3, please visit the below URL:
https://docs.aws.amazon.com/AmazonS3/latest/dev/Welcome.htmlFor more information on SQS, please visit the below URL:
https://aws.amazon.com/sqs/The recommended AWS services for the given application are:
A. AWS Simple Storage Service (S3) for storing the videos and images D. AWS Simple Queue Service (SQS) for distributing messages to the worker process.
Explanation:
AWS S3 is an object storage service that allows storing and retrieving large amounts of data, including videos and images. It provides high durability, availability, and scalability. S3 also supports features such as versioning, lifecycle policies, and access control. Uploading the videos and images to S3 allows for easy management and access by the worker process for further processing.
AWS Glacier is a low-cost storage service for data archiving and long-term backup. However, it is not suitable for storing frequently accessed data such as videos and images that require fast access.
AWS SNS is a publish/subscribe messaging service that allows sending messages to multiple subscribers. It is suitable for broadcasting messages to multiple subscribers, but it does not provide message queuing capabilities, which is necessary for ensuring reliable delivery of messages to the worker process.
AWS SQS is a fully managed message queuing service that allows decoupling the components of an application by providing a reliable and scalable messaging system. The worker process can consume messages from an SQS queue, which provides a reliable way of distributing messages to the worker process and helps in scaling the processing of messages as needed.
Therefore, the recommended services for this application are AWS S3 for storing videos and images and AWS SQS for distributing messages to the worker process.