AWS Certified Cloud Practitioner (CLF-C02)Cloud Technology and ServicesEasy
A company is developing a new serverless application that requires a highly available and scalable message queue to decouple microservices. Messages must be processed at least once, and the queue needs to support a high volume of concurrent requests. Which AWS service should the company use?
- AAmazon Kinesis Data Streams
- BAmazon Simple Notification Service (SNS)
- CAWS Step Functions
- DAmazon Simple Queue Service (SQS) Standard
Show answer & explanationAnswer & explanation
Correct answer: D. Amazon Simple Queue Service (SQS) Standard
Amazon SQS Standard is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. It guarantees at-least-once message delivery and offers high throughput for concurrent requests, making it suitable for this scenario.
Why the other options are wrong
- A. Kinesis Data Streams is designed for real-time processing of large streams of data, often for analytics, not typically for general microservice decoupling queues.
- B. SNS is a pub/sub messaging service, primarily used for sending messages to multiple subscribers, not for decoupling microservices via a queue for processing.
- C. AWS Step Functions is a serverless workflow service for orchestrating distributed applications, not a message queuing service.
Amazon SQS Standard
A fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications.
- Offers high throughput, best-effort ordering, and at-least-once delivery.
- Used for asynchronous communication between application components.
- Eliminates the need to manage message queue infrastructure.
Memory trick: SQS Standard is the 'standard' choice for reliable, decoupled messaging.