nerdexam
AmazonAmazon

DAS-C01 · Question #106

DAS-C01 Question #106: Real Exam Question with Answer & Explanation

The correct answer is C: Increase the provisioned write capacity units assigned to the stream's Amazon DynamoDB table.. {"question_number": 5, "question_summary": "KCL app throwing ExpiredIteratorExceptions after shard splits in Kinesis", "correct_answer": "C", "explanation": "The Kinesis Client Library (KCL) uses an Amazon DynamoDB table to store lease and checkpoint information for each shard. W

Processing

Question

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?

Options

  • AIncrease the number of threads that process the stream records.
  • BIncrease the provisioned read capacity units assigned to the stream's Amazon DynamoDB table.
  • CIncrease the provisioned write capacity units assigned to the stream's Amazon DynamoDB table.
  • DDecrease the provisioned write capacity units assigned to the stream's Amazon DynamoDB table.

Explanation

{"question_number": 5, "question_summary": "KCL app throwing ExpiredIteratorExceptions after shard splits in Kinesis", "correct_answer": "C", "explanation": "The Kinesis Client Library (KCL) uses an Amazon DynamoDB table to store lease and checkpoint information for each shard. When shards are split, the number of shards increases, which means KCL must perform more writes to the DynamoDB lease table to track the new shards. If write capacity is insufficient, DynamoDB throttles the writes, causing KCL to fall behind and shard iterators to expire - resulting in ExpiredIteratorExceptions. Increasing the provisioned write capacity units (WCUs) on the KCL DynamoDB table resolves the throttling. Increasing threads (A) or read capacity (B) does not address the write bottleneck causing the error.", "generated_by": "claude-sonnet", "llm_judge_score": 3}

Topics

#Kinesis Client Library (KCL)#Kinesis Data Streams#DynamoDB Provisioned Capacity#ExpiredIteratorExceptions

Community Discussion

No community discussion yet for this question.

Full DAS-C01 PracticeBrowse All DAS-C01 Questions