AWS Certified Developer – Associate (DVA-C02)Development with AWS ServicesEasy
A developer is implementing a new feature where an AWS Lambda function needs to send emails to users. The application requires the ability to send emails to verified identities and manage email templates. Which AWS service should the developer integrate with the Lambda function to achieve this functionality?
- AAmazon SNS (Simple Notification Service)
- BAmazon SES (Simple Email Service)
- CAmazon SQS (Simple Queue Service)
- DAmazon Pinpoint
Show answer & explanationAnswer & explanation
Correct answer: B. Amazon SES (Simple Email Service)
Amazon SES is a highly scalable and cost-effective email sending service that allows applications to send marketing, notification, and transactional emails. It supports verified identities and email templates.
Why the other options are wrong
- A. Amazon SNS is a pub/sub messaging service, primarily for sending notifications to various endpoints, including email, but SES is better for application-driven transactional emails.
- C. Amazon SQS is a message queuing service, not for sending emails directly to users.
- D. Amazon Pinpoint is a customer engagement service for targeted campaigns, not primarily for transactional email sending from a Lambda function.
Amazon SES
A highly scalable, flexible, and cost-effective email service that enables developers to send mail from within any application.
- Supports sending various types of emails (transactional, marketing, notification).
- Requires sender identity verification (email address or domain).
- Provides features for email templates and sending metrics.
Memory trick: SES is the best choice when your app needs to 'Express' itself through email.