A telemetry ingestion pipeline collects data from IoT sensors. Each sensor transmits a payload every to an Amazon Kinesis data stream configured with provisioned shards. During peak periods, downstream consumers experience data gaps, and the sensor applications log frequent `ProvisionedThroughputExceededException` errors. Which action should a solutions architect take to resolve this issue with the least operational overhead?
- Change the capacity mode of the Kinesis data stream to On-Demand.Answer
- BIncrease the number of provisioned shards in the Kinesis data stream to .
- CMigrate the ingestion layer from Amazon Kinesis Data Streams to a standard Amazon SQS queue to buffer the telemetry spikes.
- DConfigure an AWS Lambda function triggered by an Amazon CloudWatch alarm to programmatically scale the stream's shard count when utilization exceeds .
Answer
Change the capacity mode of the Kinesis data stream to On-Demand.
The correct option is to change the capacity mode of the Kinesis data stream to On-Demand. The total ingestion requirements are and of throughput. Since a single shard is limited to of write throughput, the stream requires a minimum of shards. The current configuration of shards is insufficient. Switching to On-Demand capacity mode enables automatic scaling of shards to accommodate the peak write rate, eliminating the ProvisionedThroughputExceededException errors with minimal administrative effort.
Step-by-Step Solution
Key Concept
Kinesis Data Streams Capacity Planning and Auto-Scaling
Estimated Time:1m 30s