Hard1 markMultiple Choice
Domain 2.5: PerformancePerformanceKinesisScaling

AWS SAP-C02 · Question 36 · Domain 2.5: Performance

An application uses Amazon Kinesis Data Streams to ingest high-throughput telemetry data. During peak hours, the application experiences ProvisionedThroughputExceededException errors. The architect needs to resolve this automatically without losing data. What is the BEST solution?

Answer options:

A.

Enable Auto Scaling on the Kinesis Data Stream in the AWS Management Console.

B.

Implement a custom AWS Lambda function triggered by CloudWatch alarms to call the UpdateShardCount API to scale the stream.

C.

Migrate the stream to Amazon SQS.

D.

Increase the retention period of the Kinesis Data Stream.

How to approach this question

Recognize that provisioned Kinesis requires custom automation (or switching to On-Demand mode) to scale shards dynamically.

Full Answer

B.Implement a custom AWS Lambda function triggered by CloudWatch alarms to call the UpdateShardCount API to scale the stream.✓ Correct
Implement a custom AWS Lambda function triggered by CloudWatch alarms to call the UpdateShardCount API to scale the stream.
To handle `ProvisionedThroughputExceededException` in a provisioned Kinesis stream, you must increase the number of shards. This can be automated using CloudWatch alarms and a Lambda function that calls `UpdateShardCount`.

Common mistakes

Assuming Kinesis has a simple 'Auto Scaling' checkbox like EC2.

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

75 questions · hints · full answers · grading

More questions from this exam