Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 485 discussion

A utility company wants to collect usage data every 5 minutes from its smart meters to facilitate time-of-use metering. When a meter sends data to AWS, the data is sent to Amazon API Gateway, processed by an AWS Lambda function. and stored in an Amazon DynamoDB table. During the pilot phase, the Lambda functions took from 3 to 5 seconds to complete.

As more smart meters are deployed, the engineers notice the Lambda functions are taking from 1 to 2 minutes to complete. The functions are also increasing in duration as new types of metrics are collected from the devices. There are many ProvisionedThroughputExceededException errors while performing PUT operations on DynamoDB, and there are also many TooManyRequestsException errors from Lambda.

Which combination of changes will resolve these issues? (Choose two.)

  • A. Increase the write capacity units to the DynamoDB table.
  • B. Increase the memory available to the Lambda functions.
  • C. Increase the payload size from the smart meters to send more data.
  • D. Stream the data into an Amazon Kinesis data stream from API Gateway and process the data in batches.
  • E. Collect data in an Amazon SQS FIFO queue, which triggers a Lambda function to process each message
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mifune
Highly Voted 5 months ago
Selected Answer: AD
I would go with Increasing the write capacity units to the DynamoDB table and Stream the data into an Amazon Kinesis data stream from API Gateway and process the data in batches. I think that processing the data in batches is much better than increasing the lambda functions memory.
upvoted 6 times
...
zapper1234
Highly Voted 5 months ago
AB because the more memory a Lambda funtion has the faster it reacts
upvoted 5 times
...
0b43291
Most Recent 1 week, 2 days ago
Selected Answer: AD
By increasing the DynamoDB write capacity units and streaming the data into a Kinesis data stream for batch processing, you can address the throughput limitations, reduce Lambda invocation overhead, and improve the overall performance and scalability of the smart meter data processing pipeline. The other options are either not applicable or may not resolve the issues effectively: B. Increasing the memory available to the Lambda functions may not resolve the issues caused by the high volume of concurrent requests and the need for batching. C. Increasing the payload size from the smart meters is not necessary and may even exacerbate the issues by increasing the processing overhead for each data point. E. Collecting data in an Amazon SQS FIFO queue and triggering a Lambda function for each message would still result in a high number of Lambda invocations and may not provide significant performance improvements compared to processing data in batches from a Kinesis data stream.
upvoted 1 times
...
vip2
4 months, 3 weeks ago
Selected Answer: AD
Kinesis allows to process data in batches, which can help reduce the number of requests and the load on your Lambda functions and DynamoDB.
upvoted 4 times
...
wbedair
4 months, 4 weeks ago
Selected Answer: AD
A and D
upvoted 3 times
...
ujizane
4 months, 4 weeks ago
need batch execution so i think AD is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...