AWS Certified Developer – Associate (DVA-C02) — Question 58

A company is using an AWS Lambda function to process records from an Amazon Kinesis data stream. The company recently observed slow processing of the records. A developer notices that the iterator age metric for the function is increasing and that the Lambda run duration is constantly above normal.
Which actions should the developer take to increase the processing speed? (Choose two.)

Answer options

Correct answer: A, C

Explanation

Increasing the number of shards in the Kinesis data stream (Option A) allows for parallel processing, which can improve throughput. Additionally, increasing the memory allocated to the Lambda function (Option C) can enhance performance since more memory often leads to faster CPU allocation. The other options either reduce resources or do not address the processing speed issues effectively.