A video-hosting website has two types of members: those who pay a fee, and those who do not. Each video upload places a message in Amazon SQS. A fleet of Amazon EC2 instances polls Amazon SQS and processes each video. The developer needs to ensure that the videos uploaded by the paying members are processed first. How can the developer meet this requirement?
A) Create two SQS queues; one for paying members, and one for non-paying members. Poll the paying member queue first and then poll the non-paying member queue.
B) Use SQS to set priorities on individual items within a single queue; give the paying members' videos the highest priority.
C) Use SQS to set priorities on individual items within a single queue and use Amazon SNS to encode the videos.
D) Create two Amazon SNS topics: one for paying members and one for non-paying members. Use SNS topic subscription priorities to differentiate between the two types of members.
Correct Answer:
Verified
Q412: A developer is creating a new application
Q413: A developer must increase read performance from
Q414: A developer is building an application that
Q415: An application is real-time processing millions of
Q416: A developer is trying to get data
Q418: A company has a two-tier application running
Q419: A developer is building an application integrating
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents