AWS Certified Cloud Practitioner (CLF-C02)Cloud Technology and ServicesMedium
A company is developing a new cloud-native application that requires a highly available, scalable, and fully managed message queuing service to decouple microservices. Messages must be delivered at least once, and the order of messages is not critical. Which AWS service is MOST suitable for this requirement?
- AAmazon SQS Standard
- BAmazon SQS FIFO
- CAmazon MQ
- DAmazon SNS
Show answer & explanationAnswer & explanation
Correct answer: A. Amazon SQS Standard
Amazon SQS Standard queues offer a highly scalable, fully managed message queuing service where messages are delivered at least once, and the order of messages is not guaranteed. This is ideal for decoupling microservices when message ordering is not critical.
Why the other options are wrong
- B. Amazon SQS FIFO (First-In, First-Out) guarantees message order and exactly-once processing, but the question states 'order of messages is not critical', making Standard SQS more cost-effective.
- C. Amazon MQ is a managed message broker service for open-source message brokers like ActiveMQ and RabbitMQ, typically used for migrating existing applications, not for cloud-native applications seeking a simple, fully managed queue.
- D. Amazon SNS is a pub/sub messaging service for fan-out scenarios, not primarily for decoupling microservices with a queue where consumers pull messages.
Amazon SQS Standard Queue
A highly scalable, fully managed message queuing service that offers at-least-once message delivery and does not guarantee the order of messages.
- Fully managed message queue
- Decouples microservices
- At-least-once delivery
- No strict message ordering (high throughput)
Memory trick: SQS Standard: Messages flow free, order's not key, but delivered, you see.