AWS Certified Cloud Practitioner — Question 410
A company is building an application that requires the ability to send, store, and receive messages between application components. The company has another requirement to process messages in first-in, first-out (FIFO) order.
Which AWS service should the company use?
Answer options
- A. AWS Step Functions
- B. Amazon Simple Notification Service (Amazon SNS)
- C. Amazon Kinesis Data Streams
- D. Amazon Simple Queue Service (Amazon SQS)
Correct answer: D
Explanation
Amazon Simple Queue Service (Amazon SQS) offers FIFO queues that guarantee first-in, first-out message delivery and exactly-once processing, making it the ideal choice for decoupling application components. While Amazon SNS is a pub/sub notification service and Amazon Kinesis Data Streams is designed for real-time streaming data, neither is designed specifically as a message queue with native FIFO queue capabilities like SQS. AWS Step Functions is an orchestration service for visual workflows, not a dedicated message queuing service.