Which additional action should the SysOps administrator take to meet this requirement?
Configure an Amazon CloudWatch alarm for errors from the Lambda function, which notifies the Amazon SNS topic.
Implement a dead-letter queue targeting the Amazon SNS topic.
Modify the Lambda function code to publish failed orders to the Amazon SNS topic before exiting.
Subscribe to Lambda function error notifications from the AWS Personal Health Dashboard.
Explanations:
Amazon CloudWatch alarms do not directly handle retry attempts for Lambda functions. They are used for monitoring and alerting, but not for retry logic or failures.
A dead-letter queue (DLQ) can be configured to handle failed events that cannot be processed after a certain number of retries. The DLQ can notify the SNS topic.
Modifying Lambda function code to publish failures to SNS would require manual error handling, but Lambda’s retry behavior is automatic and managed by AWS services.
The AWS Personal Health Dashboard notifies about AWS service issues, not specific Lambda function failures or retries related to application code.