nerdexam
Amazon

DOP-C02 · Question #163

A DevOps engineer is designing an application that integrates with a legacy REST API. The application has an AWS Lambda function that reads records from an Amazon Kinesis data stream. The Lambda…

The correct answer is B. Configure the setting to split the batch when an error occurs. https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis- eventsourcemapping

Submitted by kim_seoul· Mar 6, 2026Reliability & Resilience

Question

A DevOps engineer is designing an application that integrates with a legacy REST API. The application has an AWS Lambda function that reads records from an Amazon Kinesis data stream. The Lambda function sends the records to the legacy REST API. Approximately 10% of the records that the Lambda function sends from the Kinesis data stream have data errors and must be processed manually. The Lambda function event source configuration has an Amazon Simple Queue Service (Amazon SQS) dead-letter queue as an on- failure destination. The DevOps engineer has configured the Lambda function to process records in batches and has implemented retries in case of failure. During testing, the DevOps engineer notices that the dead-letter queue contains many records that have no data errors and that already have been processed by the legacy REST API. The DevOps engineer needs to configure the Lambda function's event source options to reduce the number of errorless records that are sent to the dead-letter queue. Which solution will meet these requirements?

Options

  • AIncrease the retry attempts.
  • BConfigure the setting to split the batch when an error occurs.
  • CIncrease the concurrent batches per shard.
  • DDecrease the maximum age of record.

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    84% (26)
  • C
    10% (3)
  • D
    3% (1)

Explanation

https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis- eventsourcemapping

Topics

#AWS Lambda#Kinesis Data Streams#Error Handling#Dead-Letter Queue

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice