DOP-C02 · Question #231
DOP-C02 Question #231: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #231. The question stem and answer options stay visible for context.
Question
A company releases a new application in a new AWS account. The application includes an AWS Lambda function that processes messages from an Amazon Simple Queue Service (Amazon SQS) standard queue. The Lambda function stores the results in an Amazon S3 bucket for further downstream processing. The Lambda function needs to process the messages within a specific period of time after the messages are published. The Lambda function has a batch size of 10 messages and takes a few seconds to process a batch of messages. As load increases on the application's first day of service, messages in the queue accumulate at a greater rate than the Lambda function can process the messages. Some messages miss the required processing timelines. The logs show that many messages in the queue have data that is not valid. The company needs to meet the timeline requirements for messages that have valid data. Which solution will meet these requirements?
Options
- AIncrease the Lambda function's batch size. Change the SQS standard queue to an SQS FIFO
- BReduce the Lambda function's batch size. Increase the SQS message throughput quota. Request
- CIncrease the Lambda function's batch size. Configure S3 Transfer Acceleration on the S3 bucket.
- DKeep the Lambda function's batch size the same. Configure the Lambda function to report failed
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.