exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 277 discussion

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

  • A. Create an Amazon Simple Notification Service (Amazon SNS) topic with a subscription of type "Email" that targets the team's mailing list.
  • B. Create a task named "Email" that forwards the input arguments to the SNS topic.
  • C. Add a Catch field to all Task, Map, and Parallel states that have a statement of "ErrorEquals": [ "States.ALL" ] and "Next”: "Email".
  • D. Add a new email address to Amazon Simple Email Service (Amazon SES). Verify the email address.
  • E. Create a task named "Email" that forwards the input arguments to the SES email address.
  • F. Add a Catch field to all Task, Map, and Parallel states that have a statement of "ErrorEquals": [ "States.Runtime" ] and "Next": "Email".
Show Suggested Answer Hide Answer
Suggested Answer: ABC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Maria2023
Highly Voted 1 year, 10 months ago
Selected Answer: ABC
"notifications are sent for all types of failures in the retraining process" - that means States.ALL. The rest is common sense. https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html
upvoted 6 times
...
youonebe
Most Recent 5 months ago
Selected Answer: ABC
abc-abc-abc
upvoted 1 times
...
liquen14
1 year, 1 month ago
Selected Answer: AB
I think that ABC makes the most sense here but look what I found reading this: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html "A retry or catch on States.ALL won't catch States.Runtime errors." Really does this need be so convoluted? Do we need to be tested in such nitty-gritty details? :-(
upvoted 1 times
liquen14
1 year, 1 month ago
Correcting my poor English grammar: "Really, does this need to be so convoluted? Do we need to be tested in such nitty-gritty details?"
upvoted 1 times
...
...
career360guru
1 year, 5 months ago
Selected Answer: ABC
A, B, C - Right answers
upvoted 2 times
...
joleneinthebackyard
1 year, 5 months ago
Selected Answer: ABC
I love how this question formulated, wish all SAP question can be of this type. With only knowing SES is not for notification, you can rule out D and E. We have to choose three among A B C F, which easily can narrow down to choose between C and F as they are similar. Then yeah, State.ALL vs State.Runtime determines it, A B C it is 😂
upvoted 3 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: ABC
simple as ABC
upvoted 1 times
...
javitech83
1 year, 10 months ago
Selected Answer: ABC
ABC is the right answer
upvoted 1 times
...
SmileyCloud
1 year, 10 months ago
Selected Answer: ABC
ABC D, E - SES - not good F - States.runtime, doesn't catch all errors
upvoted 2 times
...
gd1
1 year, 10 months ago
Selected Answer: ABC
From GPT 4 now - Changed to ABC - A to create SNS, Create a task named "Email" that forwards the input arguments to the SNS topic.C for Errorr- F is bad since "States.Runtime" is not correct.
upvoted 3 times
...
shree2023
1 year, 10 months ago
Selected Answer: ABC
ABC is correct
upvoted 1 times
...
gd1
1 year, 10 months ago
Selected Answer: ACE
GPT 4.0 is more accurate than 3.5. But has a limit. A is to create SNS; C to create a Task -This step adds error handling to the states in the workflow. If any step fails, the workflow will transition to the "Email" task to send a notification. E. Create a task named "Email" that forwards the input arguments to the SNS email address. E This step creates an AWS Lambda function or an AWS Step Functions task that sends an email notification using the SNS topic created in step A.
upvoted 1 times
...
i_am_robot
1 year, 10 months ago
Selected Answer: ABC
In AWS Step Functions, each state reports heartbeat failure, timeout failure, and all other types of failures. Therefore, to catch all errors, the solutions architect should add a Catch field to all Task, Map, and Parallel states with a statement of "ErrorEquals": [ "States.ALL" ], and "Next": "Email". Then, a task named "Email" can be created to forward the input arguments to an SNS topic that sends notifications to the team's email.
upvoted 2 times
...
PhuocT
1 year, 10 months ago
A, B and C
upvoted 1 times
...
bhanus
1 year, 10 months ago
Selected Answer: ABC
ABC are right DE are incorrect because SES cannot be used here. SES can be good fir for Bulk/Marketing emails F is incorrect because the error type "States.Runtime" doesn't catch all types of errors. The ques asks "notifications are sent for all types of failures "
upvoted 2 times
...
MoussaNoussa
1 year, 10 months ago
ABC is the right answer
upvoted 2 times
...
psyx21
1 year, 10 months ago
Selected Answer: ACF
Correct Answer is ACF
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago