Medium1 markMultiple Choice
Domain 3.3: Performance ImprovementPerformanceKinesisLambda

AWS SAP-C02 · Question 21 · Domain 3.3: Performance Improvement

An architecture uses Amazon Kinesis Data Streams to ingest telemetry data from IoT devices. An AWS Lambda function processes the stream. During a sudden surge in data, the Lambda function's IteratorAge metric spikes, indicating it is falling behind. What is the MOST effective way to increase processing throughput?

Answer options:

A.

Increase the memory allocation for the Lambda function.

B.

Increase the number of shards in the Kinesis Data Stream.

C.

Configure Lambda Provisioned Concurrency.

D.

Change the Kinesis stream to use enhanced fan-out.

How to approach this question

Understand how Lambda scales with Kinesis.

Full Answer

B.Increase the number of shards in the Kinesis Data Stream.✓ Correct
By default, AWS Lambda invokes one instance of your function per Kinesis shard. To increase concurrency and process the stream faster, you must increase the number of shards.

Common mistakes

Choosing enhanced fan-out, which helps with multiple consumers, not single-consumer throughput.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 7

75 questions · hints · full answers · grading

More questions from this exam