Topic: AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 168
A DevOps engineer is building a solution that uses Amazon Simple Queue Service (Amazon SQS) standard queues. The solution also includes an AWS Lambda function and an Amazon DynamoDB table. The Lambda function pulls content from an SQS queue event source and writes the content to the DynamoDB table.
The solution must maximize the scalability of Lambda and must prevent successfully processed SQS messages from being processed multiple times.
Which solution will meet these requirements?
A.
Decrease the batch window to 1 second when configuring the Lambda function's event source mapping.
B.
Decrease the batch size to 1 when configuring the Lambda function's event source mapping.
C.
Include the ReportBatchItemFailures value in the FunctionResponseTypes list in the Lambda function's event source mapping.
D.
Set the queue visibility timeout on the Lambda function's event source mapping to account for invocation throttling of the Lambda function.