Q71 — AWS DEA-C01 Ch.1
Question 71 of 100 | ← Chapter 1
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.
Correct Answer: A. Change the partition key from facility ID to a randomly generated key.
Explanation
在这种情况下,使用FacilityID作为分区键导致了数据分布不均,一些分片被过度使用而其他分片闲置。A选项,将分区键更改为随机生成的键,可以更均匀地分布数据,避免某些分片负载过重。B选项,增加分片数量可能不能根本解决数据分布不均的问题。C选项,在生产者端归档数据不能直接解决当前的写吞吐量超出异常问题。D选项,将分区键更改为capturedate可能仍无法实现数据的均匀分布。所以,选择A选项来解决观察到的问题。