AWS Certified Solutions Architect – Professional (SAP-C02) — Question 253
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
The correct actions are to reshard the stream to increase the number of shards, use enhanced fan-out consumers, and implement an error retry with exponential backoff. Resharding increases throughput capacity, enhanced fan-out allows for dedicated read throughput, and the retry mechanism helps manage the error effectively. The other options either reduce capacity or do not address the throttling issue directly.