A developer has designed an application to store incoming data as JSON files in Amazon S3 objects. Custom business logic in an AWS Lambda function then transforms the objects, and the Lambda function loads the data into an Amazon DynamoDB table. Recently, the workload has experienced sudden and significant changes in traffic. The flow of data to the DynamoDB table is becoming throttled. The developer needs to implement a solution to eliminate the throttling and load the data into the DynamoDB table more consistently. Which solution will meet these requirements?
Select one answer.
Marked answer: A
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose B1
Adjusting the WCU is enough. no need to implement such complex solutions
Chose A2
The SQS queue acts as a buffer, which smooths out sudden traffic spikes by queuing up data. The second Lambda function processes data from the queue at a steady rate, reducing the likelihood of throttling in DynamoDB. B) Eliminated - Auto scaling takes time to adjust, during which throttling may still occur. C) Eliminated - Provisioned concurrency ensures that the Lambda function can handle a predictable number of concurrent requests, but it does not solve the throttling issue at the DynamoDB layer