Question 460
An event-driven application must recover from consumer failures. The team confirms that an event source mapping cannot keep up with a high-volume stream. Which choice directly addresses the documented cause?
Explanation
Correct Answer
The scenario identifies this requirement: An event source mapping cannot keep up with a high-volume stream. Select Tune batching, concurrency and shard capacity within service constraints as the specified technical mechanism. Stream consumption throughput depends on worker and shard configuration. This response addresses the problem described rather than a different design goal.
Incorrect Answers
Configure a DLQ with inspected redrive policy would help if a message repeatedly fails and blocks successful work. Poison-message isolation prevents endless retries. That is not the symptom described here: an event source mapping cannot keep up with a high-volume stream. The matching response is Tune batching, concurrency and shard capacity within service constraints, because stream consumption throughput depends on worker and shard configuration.
For the alternative failure lambda receives asynchronous invocation errors but no failure destination is configured, the control Configure a supported Lambda on-failure destination or DLQ is relevant: failure destinations preserve records for later handling. Here the evidence instead is an event source mapping cannot keep up with a high-volume stream. The selected technical mechanism is Tune batching, concurrency and shard capacity within service constraints: stream consumption throughput depends on worker and shard configuration.
Store jobs in SQS and retry consumers when service resumes solves a different operational problem where a Lambda worker is unavailable for minutes while jobs arrive. A durable queue buffers failures independently from producers. It does not directly address an event source mapping cannot keep up with a high-volume stream. The case calls for Tune batching, concurrency and shard capacity within service constraints, since stream consumption throughput depends on worker and shard configuration.