Medium1 markMultiple Choice
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?
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
Q01A global enterprise is designing a multi-region network architecture connecting 50 AWS accounts a...HardQ02A company is migrating its hybrid network to AWS. They have two 10 Gbps AWS Direct Connect connec...HardQ03An enterprise has 100 AWS accounts in AWS Organizations. The security team mandates that all Amaz...MediumQ04A financial company requires that all EBS volumes, S3 buckets, and RDS databases be encrypted usi...EasyQ05An enterprise is designing a disaster recovery strategy for a critical application running on Ama...Hard
Expert