EventBridge successfully delivers events to Lambda, but some function executions fail after Lambda accepts them asynchronously. Which configuration captures these failures after Lambda exhausts its processing attempts?
Show the answer
Correct answerA. An SQS on-failure destination on the Lambda function
AWhy this is right: A Lambda on-failure destination receives records for asynchronous invocations that exhaust processing attempts.
BWhy not this: An EventBridge target dead-letter queue captures failed deliveries, not execution failures after Lambda accepts an event.
CWhy not this: EventBridge delivery retries do not retry function code that fails after successful asynchronous acceptance.
DWhy not this: An archive retains matching events for replay but does not specifically capture exhausted Lambda execution failures.
A Lambda asynchronous on-failure destination receives invocation records when processing fails after retries or the event expires. An EventBridge target dead-letter queue handles failures to deliver to Lambda, not function failures after Lambda accepts an event.