You deploy a Step Functions workflow that integrates with Lambda and an external HTTP service. Some executions fail intermittently due to transient network errors. Which approach best improves reliability while preventing runaway retries?

Answer

Use Retry with exponential backoff and a max attempt count, plus a Catch that routes to a compensation branch; add a circuit-breaker via stateful flags stored externally

Explanation

Controlled retries with backoff reduce load and handle transient faults, while Catch enables safe fallback/compensation. External circuit-breaking prevents repeated pressure during wider outages.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list