Question #806
A company uses AWS Step Functions to manage a workflow involving AWS Lambda functions. The workflow occasionally fails, and the company needs to ensure that notifications are sent whenever any failure occurs. A solutions architect must enhance the workflow to handle all failure types and send alerts.
Which combination of steps should the solutions architect implement? (Choose three.)
Create an Amazon SNS topic with an email subscription targeting the team's distribution list.
Create a task state named 'Notify' that publishes a message to the Amazon SNS topic.
Add a Catch field to every Task, Map, and Parallel state with \"ErrorEquals\": [\"States.ALL\"] and \"Next\": \"Notify\".
Verify the email address in Amazon Simple Email Service (Amazon SES).
Implement a Dead-Letter Queue using Amazon SQS to capture failed executions and trigger an SNS notification.
Add a Retry field to each state with \"ErrorEquals\": [\"States.Runtime\"].
Explanation
A: Creating an SNS topic with an email subscription enables notifications to be sent to the team. B: A 'Notify' task state publishes failure alerts to the SNS topic. C: Adding a Catch field with "States.ALL" ensures all errors in Task/Map/Parallel states route to the Notify state.
D is incorrect because SNS email subscriptions do not require SES verification beyond the initial opt-in. E is unnecessary as Step Functions' native error handling (Catch) directly triggers notifications without needing a DLQ. F is incorrect because Retry attempts to reprocess failures instead of alerting, and "States.Runtime" does not cover all error types.
Answer
The correct answer is: ABC