DVA-C02 · Question #699
DVA-C02 Question #699: Real Exam Question with Answer & Explanation
The correct answer is A: Add a retrier to the state machine. Configure values for the ErrorEquals, Interval, MaxAttempts,. A retrier with the parameters ErrorEquals, IntervalSeconds, MaxAttempts, and BackoffRate implements retry logic for transient failures. A catcher with the parameters FallbackState and Errors handles errors after retries fail by routing to a fallback state for error handling or co
Question
A developer is building an AWS Step Functions state machine that invokes an AWS Lambda function. The Lambda function makes requests to an external API that sometimes is not available. The developer needs to implement retry logic in the state machine to handle situations when the external API is not available. Which combination of steps will meet these requirements? (Choose two.)
Options
- AAdd a retrier to the state machine. Configure values for the ErrorEquals, Interval, MaxAttempts,
- BAdd a retrier to the state machine. Configure values for the ErrorEquals, RetrierDeliveryDelay,
- CAdd a catcher to the state machine. Configure values for the DeliveryDelay and Errors fields.
- DAdd a catcher to the state machine. Configure values for the FallbackState and Errors fields.
- EAdd a tailback state to the state machine. Configure values for the Interval, MaxAttempts, and
Explanation
A retrier with the parameters ErrorEquals, IntervalSeconds, MaxAttempts, and BackoffRate implements retry logic for transient failures. A catcher with the parameters FallbackState and Errors handles errors after retries fail by routing to a fallback state for error handling or compensation.
Community Discussion
No community discussion yet for this question.