DEA-C01 · Question #215
DEA-C01 Question #215: Real Exam Question with Answer & Explanation
The correct answer is B: Increase the number of shards in the data stream. Distribute the records across the shards.. Amazon Kinesis Data Streams distribute data across multiple shards, with each shard having its own capacity for read and write operations. Throttling occurs when one or more shards, referred to as "hot shards," receive significantly more data than they can handle. To resolve this
Question
A data engineer uses Amazon Kinesis Data Streams to ingest and process records that contain user behavior data from an application every day. The data engineer notices that the data stream is experiencing throttling because hot shards receive much more data than other shards in the data stream. How should the data engineer resolve the throttling issue?
Options
- AUse a random partition key to distribute the ingested records.
- BIncrease the number of shards in the data stream. Distribute the records across the shards.
- CLimit the number of records that are sent each second by the producer to match the capacity of
- DDecrease the size of the records that the producer sends to match the capacity of the stream.
Explanation
Amazon Kinesis Data Streams distribute data across multiple shards, with each shard having its own capacity for read and write operations. Throttling occurs when one or more shards, referred to as "hot shards," receive significantly more data than they can handle. To resolve this, increasing the number of shards in the data stream and redistributing the records across the shards is the appropriate solution. This approach ensures that the workload is spread more evenly, thereby preventing throttling on individual shards.
Topics
Community Discussion
No community discussion yet for this question.