DVA-C02 · Question #330
A company uses an AWS Lambda function that reads messages from an Amazon Simple Queue Service (Amazon SQS) standard queue. The Lambda function makes an HTTP call to a third- party API for each message
The correct answer is D. Configure a maximum concurrency of two on the Amazon SQS event source mapping for the. https://aws.amazon.com/blogs/compute/introducing-maximum-concurrency-of-aws-lambda- functions-when-using-amazon-sqs-as-an-event-source/
Question
A company uses an AWS Lambda function that reads messages from an Amazon Simple Queue Service (Amazon SQS) standard queue. The Lambda function makes an HTTP call to a third- party API for each message. The company wants to ensure that the Lambda function does not overwhelm the third-party API with more than two concurrent requests. Which solution will meet these requirements?
Options
- AConfigure a provisioned concurrency of two on the Lambda function.
- BConfigure a batch size of two on the Amazon SQS event source mapping for the Lambda
- CConfigure Lambda event filtering to process two messages from Amazon SQS at every
- DConfigure a maximum concurrency of two on the Amazon SQS event source mapping for the
How the community answered
(59 responses)- A19% (11)
- B7% (4)
- C3% (2)
- D71% (42)
Explanation
https://aws.amazon.com/blogs/compute/introducing-maximum-concurrency-of-aws-lambda- functions-when-using-amazon-sqs-as-an-event-source/
Community Discussion
No community discussion yet for this question.