A company runs nightly automated model retraining using AWS Step Functions. The workflow uses multiple Lambda tasks; any task failure causes the entire workflow to fail. Retraining has failed several nights without notifications. The solutions architect must ensure notifications are sent for all retraining failures. Which combination of steps should be implemented? (Choose three.)
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon SNS topic and add an Email subscription that sends to the team’s mailing list., Add a Step Functions task named "Email" that forwards its input arguments to the SNS topic., Add a Catch field to every Task, Map, and Parallel state with "ErrorEquals": [ "States.ALL" ] and "Next": "Email"..
Why this is the answer
To ensure notifications for all retraining failures, an Amazon SNS topic is created with an email subscription for the team's mailing list. This establishes the notification channel. A new Step Functions task named "Email" is then added. This task will publish messages to the SNS topic, acting as the mechanism to send the notification. Finally, a Catch field is added to every Task, Map, and Parallel state within the Step Functions workflow. Setting ErrorEquals": [ "States.ALL" ] ensures that any type of error within these states will trigger the catch block, and Next": "Email" directs the workflow to execute the "Email" task, sending a notification via SNS when a failure occurs. Incorrect options: Creating and verifying an email address in Amazon SES is not directly required for sending notifications via SNS email subscriptions. SES is for sending emails directly, not for SNS topic subscriptions. Adding a Step Functions task to forward input arguments to an SES email address is incorrect because the solution uses SNS for notifications, not direct SES sending. Using ErrorEquals": [ "States.Runtime" ] would only catch runtime errors, not all possible failures, which is explicitly stated as a requirement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed