AWS Certified Developer – Associate (DVA-C02) — Question 522

A developer is creating a stock trading application. The developer needs a solution to send text messages to application users to confirmation when a trade has been completed.

The solution must deliver messages in the order a user makes stock trades. The solution must not send duplicate messages.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Amazon SNS FIFO topics guarantee first-in-first-out delivery and message deduplication, making them perfect for sending ordered, duplicate-free SMS notifications. Amazon SQS FIFO queues do not have 'SendMessageIn' or 'SendMessageOut' APIs and are designed for message queuing rather than direct end-user SMS delivery. Amazon Data Firehose and Amazon EventBridge Pipes do not natively support direct SMS delivery to mobile numbers without integration with a notification service like SNS.