Which AWS service or feature should the developer use to meet this requirement?
Amazon Simple Email Service (Amazon SES)
AWS Lambda
Amazon Simple Queue Service (Amazon SQS)
Amazon CloudWatch alarm
Explanations:
Amazon Simple Email Service (SES) is primarily used for sending emails. It does not provide a mechanism for preserving undelivered messages from SNS.
AWS Lambda can process messages from SNS but does not inherently provide a feature to preserve undelivered SNS messages for later reprocessing.
Amazon Simple Queue Service (SQS) can be used to create a queue that SNS can publish messages to. If messages cannot be delivered, they can be preserved in the SQS queue for later reprocessing.
Amazon CloudWatch alarms are used for monitoring and alerting but do not provide message storage or reprocessing capabilities for undelivered SNS messages.