AWS Certified Data Analytics – Specialty — Question 81
A company has an application that uses the Amazon Kinesis Client Library (KCL) to read records from a Kinesis data stream.
After a successful marketing campaign, the application experienced a significant increase in usage. As a result, a data analyst had to split some shards in the data stream. When the shards were split, the application started throwing an ExpiredIteratorExceptions error sporadically.
What should the data analyst do to resolve this?
Answer options
- A. Increase the number of threads that process the stream records.
- B. Increase the provisioned read capacity units assigned to the stream's Amazon DynamoDB table.
- C. Increase the provisioned write capacity units assigned to the stream's Amazon DynamoDB table.
- D. Decrease the provisioned write capacity units assigned to the stream's Amazon DynamoDB table.
Correct answer: C
Explanation
The correct answer is C because increasing the provisioned write capacity units for the DynamoDB table can help accommodate the increased data flow resulting from the split shards, preventing the ExpiredIteratorExceptions. Options A and B do not directly address the underlying issue related to writing data, while option D would further decrease capacity and likely exacerbate the problem.