
Answer-first summary for fast verification
Answer: Change the partition key from facility ID to a randomly generated key.
Option A is CORRECT because changing the partition key from facility ID to a randomly generated key will help distribute the data more evenly across the shards. This approach helps avoid hot shards that are caused by the uneven distribution of facility IDs, leading to more balanced write throughput across all shards.
Author: Ritesh Yadav
Ultimate access to all questions.
Question 24/60
A manufacturing company has many IoT devices in facilities around the world. The company uses Amazon Kinesis Data Streams to collect data from the devices. The data includes device ID, capture date, measurement type, measurement value, and facility ID. The company uses facility ID as the partition key.
The company's operations team recently observed many WriteThroughputExceeded exceptions. The operations team found that some shards were heavily used but other shards were generally idle.
How should the company resolve the issues that the operations team observed?
A
Change the partition key from facility ID to a randomly generated key.
B
Increase the number of shards.
C
Archive the data on the producer's side.
D
Change the partition key from facility ID to capture date.
No comments yet.