Data Preparation for ML and AI

A provisioned Kinesis Data Streams stream throttles writes on one shard while other shards are lightly used; most records share one partition key. Record ordering is unnecessary, and adding shards has not helped; which change best resolves the bottleneck?

Show the answer

Correct answerB. Distribute records across more partition keys

AWhy not this: Enhanced fan-out provides dedicated consumer read throughput, not additional producer write capacity.

BWhy this is right: More evenly distributed partition keys spread incoming writes across shards; ordering is not required here.

CWhy not this: Aggregation retains partition-key routing and does not resolve the concentration of traffic on one shard.

DWhy not this: Longer retention changes how long records remain available, not the capacity of the overloaded shard.

A partition key maps to one shard, so a dominant key can overload that shard despite spare capacity elsewhere. Using more partition keys distributes writes; producer aggregation can reduce record-count pressure but does not distribute a hot key across shards.