PrepAway - Latest Free Exam Questions & Answers

How do you design SQS?

You run a website which hosts videos and you have two types of members, premium fee paying members and
free members. All videos uploaded by both your premium members and free members are processed by a fleet
of EC2 instances which will poll SQS as videos are uploaded. However you need to ensure that your premium
fee paying members videos have a higher priority than your free members. How do you design SQS?

PrepAway - Latest Free Exam Questions & Answers

A.
SQS allows you to set priorities on individual items within the queue, so simply set the fee paying members
at a higher priority than your free members.

B.
Create two SQS queues, one for premium members and one for free members. Program your EC2 fleet to
poll the premium queue first and if empty, to then poll your free members SQS queue.

C.
SQS would not be suitable for this scenario. It would be much better to use SNS to encode the videos.
Submit


Leave a Reply

Your email address will not be published. Required fields are marked *