Topic 1 Question 234
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?
Increase the SQS event source’s batch size setting.
Configure provisioned concurrency for the Lambda function based on the third-party API’s documented rate limits.
Increase the retry attempts and maximum event age in the Lambda function’s asynchronous configuration.
Configure maximum concurrency on the SQS event source based on the third-party service’s documented rate limits.
ユーザの投票
コメント(6)
- 正解だと思う選択肢: D👍 7nickolaj2023/11/23
B. Configure provisioned concurrency for the Lambda function based on the third-party API’s documented rate limits.
👍 2Claire_KMT2023/10/28- 正解だと思う選択肢: B
Option B addresses the issue by configuring provisioned concurrency for the Lambda function. Provisioned concurrency ensures that a specified number of concurrent executions of the Lambda function are always available. This can help in managing the third-party API rate limits by controlling the number of simultaneous requests made to the API. By setting the provisioned concurrency to a value that aligns with the third-party API's rate limits, you can avoid exceeding those limits and reduce the occurrence of HTTP 429 errors.
👍 2PrakashM142023/11/01
シャッフルモード