AWS Solutions Architect Certification Exam: Designing Application for File Upload and Processing

Designing Application for File Upload and Processing

Prev Question Next Question

Question

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.

Answers

Explanations

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.html

For more information on SQS, please visit the below URL:

https://aws.amazon.com/sqs/
Transfer acceleration
Enable fast, easy and secure transfers of
files to and from your bucket.

Lear more

@ suspended

Events 4

Name Events Filter Type

Name ©

Requester pays

‘The requester (instead of the bucket
‘owner) will pay for requests and data
transfer.

Lear more

@ disabie

| 9. MyEmailEventForPut

Events @

(pur

(Post

(cory

(C1 Mutipart upload completed
(All object create events
(51 Object in RRS lost

(Cl Permanently deleted

(J Delete marker created

Prefix @

(1) All object delete events

(5) Restore initiated

(Xj Restore completed

(5) Replication time missed threshold

(CJ Replication time completed after
threshold

(CJ Replication time not tracked
(5) Replication failed

| eg. images/

Suffix ©

[ea seg

Send to @

SQS Queue

SNS Topic

SQS Queue

Lambda Function

© Active notations

Cancel

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.