AWS Certified Big Data – Specialty — Question 42
An organization has added a clickstream to their website to analyze traffic. The website is sending each page request with the PutRecord API call to an Amazon
Kinesis stream by using the page name as the partition key. During peak spikes in website traffic, a support engineer notices many events in the application logs.
ProvisionedThroughputExcededException
What should be done to resolve the issue in the MOST cost-effective way?
Answer options
- A. Create multiple Amazon Kinesis streams for page requests to increase the concurrency of the clickstream.
- B. Increase the number of shards on the Kinesis stream to allow for more throughput to meet the peak spikes in traffic.
- C. Modify the application to use on the Kinesis Producer Library to aggregate requests before sending them to the Kinesis stream.
- D. Attach more consumers to the Kinesis stream to process records in parallel, improving the performance on the stream. B
Correct answer:
Explanation
The correct answer is B because increasing the number of shards on the Kinesis stream directly allows for greater throughput, which is necessary during peak traffic. Options A and C would involve more complexity and potential costs without directly addressing the core issue of throughput limits. Option D does not increase the throughput of the stream itself; it merely adds more consumers, which would not resolve the ProvisionedThroughputExcededException.