AWS Certified Solutions Architect – Professional — Question 749
A company has IoT sensors that monitor traffic patterns throughout a large city. The company wants to read and collect data from the sensors and perform aggregations on the data.
A solutions architect designs a solution in which the IoT devices are streaming to Amazon Kinesis Data Streams. Several applications are reading from the stream. However, several consumers are experiencing throttling and are periodically encountering a ReadProvisionedThroughputExceeded error.
Which actions should the solutions architect take to resolve this issue? (Choose three.)
Answer options
- A. Reshard the stream to increase the number of shards in the stream.
- B. Use the Kinesis Producer Library (KPL). Adjust the polling frequency.
- C. Use consumers with the enhanced fan-out feature.
- D. Reshard the stream to reduce the number of shards in the stream.
- E. Use an error retry and exponential backoff mechanism in the consumer logic.
- F. Configure the stream to use dynamic partitioning.
Correct answer: A, C, E
Explanation
To resolve consumer-side throttling (ReadProvisionedThroughputExceeded), increasing the shard count (resharding) scales the stream's overall capacity. Utilizing enhanced fan-out provides each consumer application with a dedicated 2 MB/s throughput pipe per shard, preventing competition between multiple readers. Finally, integrating exponential backoff and retries in the consumer application code gracefully handles transient throttling spikes.