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.
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.
D) Use OutputPath in a Retry statement and set the value to $.
Correct Answer:
Verified
Q380: A company experienced partial downtime during the
Q381: A developer has created a REST API
Q382: A developer is building an application on
Q383: A Developer has created a new AWS
Q384: A company is developing a serverless ecommerce
Q386: A Developer is storing sensitive data generated
Q387: How does Envelope Encryption work in AWS
Q388: A Developer is writing an application that
Q389: A developer must build a mobile application
Q390: A company has a legacy application that
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents