ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 321 - DVA-C01 discussion

Report
Export

A company is developing a report executed by AWS Step Functions Amazon CloudWatch shows errors in the Step Functions task state machine To troubleshoot each task, the state input needs to be included along with the error message in the state output.

Which coding practice can preserve both the original input and the error for the state?

A.
Use ResultPath in a Catch statement to include the error with the original input
Answers
A.
Use ResultPath in a Catch statement to include the error with the original input
B.
Use inputPath in a Catch statement and set the value to null.
Answers
B.
Use inputPath in a Catch statement and set the value to null.
C.
Use ErrorEquals in a Retry statement to include the error with the original input
Answers
C.
Use ErrorEquals in a Retry statement to include the error with the original input
D.
Use OutputPath in a Retry statement and set the value to $.
Answers
D.
Use OutputPath in a Retry statement and set the value to $.
Suggested answer: A

Explanation:

Use ResultPath in a Catch to include the error with the original input.

Reference: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultpath.html

asked 16/09/2024
Vasil Ishmatov
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first