AWS Certified Solutions Architect - Professional / Question #806 of 529

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.)

A

Create an Amazon SNS topic with an email subscription targeting the team's distribution list.

B

Create a task state named 'Notify' that publishes a message to the Amazon SNS topic.

C

Add a Catch field to every Task, Map, and Parallel state with \"ErrorEquals\": [\"States.ALL\"] and \"Next\": \"Notify\".

D

Verify the email address in Amazon Simple Email Service (Amazon SES).

E

Implement a Dead-Letter Queue using Amazon SQS to capture failed executions and trigger an SNS notification.

F

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