CLF-C02 Question 256
Single answerA company needs to design a solution to send automated alerts to their operations team when critical application errors occur. The alerts should be delivered as SMS messages and emails. Which AWS service is most suitable for this use case?
- A
Amazon SNS (Simple Notification Service)
- B
Amazon SQS (Simple Queue Service)
- C
AWS Lambda
- D
Amazon MQ
Show answer and explanation
Correct answer: A
Explanation
Amazon SNS is the best choice for sending alerts and notifications to multiple endpoints such as SMS and email. It is specifically designed for use cases where messages need to be delivered to subscribers in real time, which fits the described scenario perfectly.
- A. Correct.
Amazon SNS (Simple Notification Service) is designed to send messages and notifications to multiple endpoints, including SMS, email, and HTTP/S. It is the most suitable service for sending alerts in this scenario.
- B. Incorrect.
Amazon SQS (Simple Queue Service) is a message queuing service designed for decoupling applications and workloads. It does not directly send notifications to users or endpoints like SMS or email.
- C. Incorrect.
AWS Lambda is a compute service used for running code in response to events. While it can be integrated with SNS to trigger notifications, it is not directly designed for sending alerts or messages.
- D. Incorrect.
Amazon MQ is a managed message broker service for setting up and operating message brokers like ActiveMQ and RabbitMQ. It is not designed for sending notifications or alerts.