AWS Certified Cloud Practitioner (CLF-C02) — Question 215
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
The correct answer is D, Amazon Simple Queue Service (Amazon SQS), as it supports FIFO queues, ensuring messages are processed in the order they are sent. AWS Step Functions (A) is for orchestrating workflows, Amazon SNS (B) is for pub/sub messaging without FIFO guarantee, and Amazon Kinesis Data Streams (C) is for real-time data streaming, not specifically for FIFO message processing.