Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon SAP-C02 Exam - Topic 1 Question 66 Discussion

A utility company collects usage data from smart meters every 5 minutes. Data is sent to API Gateway, processed by Lambda, and stored in DynamoDB. As usage increased, Lambda durations increased and DynamoDB PUTs failed with ProvisionedThroughputExceededException. Lambda also experiences TooManyRequestsException errors.Which combination of changes will resolve these issues? (Select TWO.)
A) Increase the write capacity units to the DynamoDB table. and D) Stream the data into an Amazon Kinesis data stream from API Gateway and process the data in batches.
B) Increase the memory available to the Lambda functions.
C) Increase the payload size from the smart meters.
E) Collect data in an Amazon SQS FIFO queue, which triggers a Lambda function to process each message.

Amazon SAP-C02 Exam - Topic 1 Question 66 Discussion

Actual exam question for Amazon's SAP-C02 exam
Question #: 66
Topic #: 1
[All SAP-C02 Questions]

A utility company collects usage data from smart meters every 5 minutes. Data is sent to API Gateway, processed by Lambda, and stored in DynamoDB. As usage increased, Lambda durations increased and DynamoDB PUTs failed with ProvisionedThroughputExceededException. Lambda also experiences TooManyRequestsException errors.

Which combination of changes will resolve these issues? (Select TWO.)

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Comprehensive and Detailed in Depth

A is correct because write throttling on DynamoDB means WCU (write capacity units) are insufficient. Increasing them will reduce the error rate.

D is correct because introducing Kinesis allows for efficient, high-throughput ingestion and batch processing, reducing the number of Lambda invocations and overall load.


DynamoDB Throttling

Using Kinesis with Lambda

Contribute your Thoughts:

0/2000 characters
Laticia
26 days ago
Totally agree with A! That should help a lot.
upvoted 0 times
...
Adolph
1 month ago
A) Increase the write capacity units to the DynamoDB table.
upvoted 0 times
...
Alaine
2 months ago
I feel like using SQS could help with throttling the requests to Lambda, but I'm not completely confident about that option.
upvoted 0 times
...
Felicitas
2 months ago
This question reminds me of a practice scenario where we had to manage data spikes. I wonder if using Kinesis for batching would be effective here.
upvoted 0 times
...
Veronika
2 months ago
I'm not entirely sure, but I think increasing the memory for Lambda could help with the TooManyRequestsException errors.
upvoted 0 times
...
Monte
2 months ago
I remember reading about DynamoDB's provisioned throughput limits, so increasing the write capacity units seems like a solid choice.
upvoted 0 times
...

Save Cancel