DVA-C02 · Question #304
DVA-C02 Question #304: Real Exam Question with Answer & Explanation
The correct answer is C: Set the event source mapping maximum concurrency to 10 for the high priority queue and to 90. https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
Question
A company runs an application on AWS. The application uses an AWS Lambda function that is configured with an Amazon Simple Queue Service (Amazon SQS) queue called high priority queue as the event source. A developer is updating the Lambda function with another SQS queue called low priority queue as the event source. The Lambda function must always read up to 10 simultaneous messages from the high priority queue before processing messages from low priority queue. The Lambda function must be limited to 100 simultaneous invocations. Which solution will meet these requirements?
Options
- ASet the event source mapping batch size to 10 for the high priority queue and to 90 for the low
- BSet the delivery delay to 0 seconds for the high priority queue and to 10 seconds for the low
- CSet the event source mapping maximum concurrency to 10 for the high priority queue and to 90
- DSet the event source mapping batch window to 10 for the high priority queue and to 90 for the low
Explanation
https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
Community Discussion
No community discussion yet for this question.