CLF-C02 Question 255
Single answerYour company runs a mobile application that needs to send real-time notifications to users about important events, such as order updates or promotional offers. These notifications should reach users' devices instantly and reliably. Which AWS service should you choose for this purpose?
- A
Amazon Simple Notification Service (SNS)
- B
Amazon Simple Queue Service (SQS)
- C
AWS Lambda
- D
Amazon CloudWatch
Show answer and explanation
Correct answer: A
Explanation
Amazon SNS is the correct service because it is specifically designed for delivering real-time notifications to various endpoints, including mobile devices, email, and SMS. For a mobile application that requires instant notifications, SNS is the ideal choice as it supports push notifications to platforms like iOS and Android.
- A. Correct.
Amazon SNS is designed to send real-time notifications to a variety of endpoints, including mobile devices, via push notifications, making it the appropriate choice for this scenario.
- B. Incorrect.
Amazon SQS is intended for message queuing, where messages are processed in a decoupled, asynchronous manner. It does not directly send notifications to users.
- C. Incorrect.
AWS Lambda is a serverless compute service used for running code in response to events, but it does not directly handle notifications to user devices.
- D. Incorrect.
Amazon CloudWatch is used for monitoring and logging metrics and events, not for delivering notifications directly to users.