EventBridge successfully delivers events to a Lambda target, but the function later fails during execution. The rule's target dead-letter queue remains empty after Lambda exhausts its asynchronous retries. What should the engineer configure to retain these failures?
Show the answer
Correct answerD. A Lambda asynchronous on-failure destination
AWhy not this: An archive retains incoming bus events, not records identifying exhausted Lambda execution failures.
BWhy not this: The EventBridge event-age limit governs delivery attempts, not processing after Lambda accepts the event.
CWhy not this: EventBridge delivery retries do not respond to execution failures after Lambda accepts an event.
DWhy this is right: An asynchronous on-failure destination receives invocation records after Lambda exhausts its processing attempts.
After Lambda accepts an asynchronous invocation, Lambda manages execution failures and retries. A Lambda on-failure destination retains failed invocation records; an EventBridge target dead-letter queue handles delivery failures, not subsequent function errors.