
Answer-first summary for fast verification
Answer: Increase the Kinesis data stream's shard count., Allocate more memory to the Lambda function.
To enhance the processing speed of the AWS Lambda function with an Amazon Kinesis data stream, two key actions can be taken: Increasing the number of shards in the Kinesis data stream (Option A) will improve parallel processing, allowing more records to be processed simultaneously. Additionally, increasing the memory allocated to the Lambda function (Option C) can lead to better performance, as Lambda allocates CPU power linearly in proportion to the amount of memory configured. This combination should effectively reduce the iterator age and Lambda duration.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company's AWS Lambda function, processing records from an Amazon Kinesis data stream, is experiencing slow record processing. The developer identifies an increasing iterator age metric and consistently high Lambda run duration. What actions can the developer take to enhance processing speed?
A
Increase the Kinesis data stream's shard count.
B
Reduce the Lambda function's timeout setting.
C
Allocate more memory to the Lambda function.
D
Reduce the Kinesis data stream's shard count.
E
Extend the Lambda function's timeout setting.
No comments yet.