DVA-C02 · Question #249
DVA-C02 Question #249: Real Exam Question with Answer & Explanation
The correct answer is C: Increase the retry attempts and maximum event age in the Lambda function's asynchronous. Provisioned concurrency will not solve the problem as the number of instances can increase till it reaches the max number of unreserved limit (this is not reserved concurrency).
Question
A developer is troubleshooting an application in an integration environment. In the application, an Amazon Simple Queue Service (Amazon SQS) queue consumes messages and then an AWS Lambda function processes the messages. The Lambda function transforms the messages and makes an API call to a third-party service. There has been an increase in application usage. The third-party API frequently returns an HTTP 429 Too Many Requests error message. The error message prevents a significant number of messages from being processed successfully. How can the developer resolve this issue?
Options
- AIncrease the SQS event source's batch size setting.
- BConfigure provisioned concurrency for the Lambda function based on the third-party API's
- CIncrease the retry attempts and maximum event age in the Lambda function's asynchronous
- DConfigure maximum concurrency on the SQS event source based on the third-party service's
Explanation
Provisioned concurrency will not solve the problem as the number of instances can increase till it reaches the max number of unreserved limit (this is not reserved concurrency).
Community Discussion
No community discussion yet for this question.