AWS Certified Solutions Architect – Associate (SAA-C02) — Question 325
A company is developing a video conversion application hosted on AWS. The application will be available in two tiers: a free tier and a paid tier. Users in the paid tier will have their videos converted first, and then the tree tier users will have their videos converted.
Which solution meets these requirements and is MOST cost-effective?
Answer options
- A. One FIFO queue for the paid tier and one standard queue for the free tier.
- B. A single FIFO Amazon Simple Queue Service (Amazon SQS) queue for all file types.
- C. A single standard Amazon Simple Queue Service (Amazon SQS) queue for all file types.
- D. Two standard Amazon Simple Queue Service (Amazon SQS) queues with one for the paid tier and one for the free tier.
Correct answer: D
Explanation
Using two standard Amazon SQS queues is the most cost-effective way to implement prioritization, as the consumer instances can be configured to poll the paid tier queue first before polling the free tier queue. A single queue (options B and C) does not inherently support prioritizing some messages over others. FIFO queues (options A and B) are more expensive than standard queues and are unnecessary since strict message ordering is not required for this use case.