AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company is looking to design a scalable image processing application that handles bursts of upload events from users. Each uploaded image must be processed only once. The architect has decided to use a messaging service to decouple the upload service from the image processing service. Which AWS service should be used to ensure that each image is processed exactly once by the consumer?
Amazon Simple Queue Service (SQS) with exactly-once processing ensures that messages are delivered once and only once, which is a critical requirement for the image processing application to prevent duplicate processing. FIFO (First-In-First-Out) queues support exactly-once processing semantics and preserve the order of message processing. While Amazon SNS can also be used for decoupling, it does not by itself enforce exactly-once delivery semantics as it is intended for multiple subscriber scenarios. While both Amazon Kinesis and Amazon MQ can handle large volumes of messages, they do not specifically guarantee exactly-once processing without implementing additional application-level controls.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are the main features of Amazon SQS FIFO queues?
Open an interactive chat with Bash
How does Amazon SNS differ from Amazon SQS when used for decoupling services?
Open an interactive chat with Bash
What are the alternatives to Amazon SQS for processing messages with exactly-once semantics?