SAP-C02 · Question #544
SAP-C02 Question #544: Real Exam Question with Answer & Explanation
The correct answer is A: Create an Amazon Simple Notification Service (Amazon SNS) topic with a subscription of type. https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html
Question
A company has automated the nightly retraining of its machine learning models by using AWS Step Functions. The workflow consists of multiple steps that use AWS Lambda. Each step can fail for various reasons, and any failure causes a failure of the overall workflow. A review reveals that the retraining has failed multiple nights in a row without the company noticing the failure. A solutions architect needs to improve the workflow so that notifications are sent for all types of failures in the retraining process. Which combination of steps should the solutions architect take to meet these requirements? (Choose three.)
Options
- ACreate an Amazon Simple Notification Service (Amazon SNS) topic with a subscription of type
- BCreate a task named "Email" that forwards the input arguments to the SNS topic.
- CAdd a Catch field to all Task, Map, and Parallel states that have a statement of "ErrorEquals":
- DAdd a new email address to Amazon Simple Email Service (Amazon SES). Verify the email
- ECreate a task named "Email" that forwards the input arguments to the SES email address.
- FAdd a Catch field to all Task, Map, and Parallel states that have a statement of "ErrorEquals":
Explanation
https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html
Community Discussion
No community discussion yet for this question.