Skip to Content

SAP-C02: Resolving ReadProvisionedThroughputExceeded Error in Amazon Kinesis Data Streams

Learn how to resolve the ReadProvisionedThroughputExceeded error in Amazon Kinesis Data Streams by resharding the stream, using enhanced fan-out feature, and implementing an error retry mechanism in the consumer logic.

Table of Contents

Question

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.)

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.

Answer

A. Reshard the stream to increase the number of shards in the stream.
C. Use consumers with the enhanced fan-out feature.
E. Use an error retry and exponential backoff mechanism in the consumer logic.

Explanation

The solutions architect should take the following actions to resolve this issue:

  1. A. Reshard the stream to increase the number of shards in the stream. Increasing the number of shards in the stream will increase the throughput, reducing the likelihood of throttling.
  2. C. Use consumers with the enhanced fan-out feature. Enhanced fan-out is a feature that enables consumers to receive records from a stream with dedicated throughput of up to 2 MiB/sec per shard.
  3. E. Use an error retry and exponential backoff mechanism in the consumer logic. This is a standard approach to handle API request rate limits. When a consumer reaches the read throughput limit for a shard, it can retry the read request with exponential backoff.

Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Professional SAP-C02 exam and earn Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification.