AWS Certified Machine Learning – Specialty — Question 92
A Machine Learning Specialist is working for an online retailer that wants to run analytics on every customer visit, processed through a machine learning pipeline.
The data needs to be ingested by Amazon Kinesis Data Streams at up to 100 transactions per second, and the JSON data blob is 100 KB in size.
What is the MINIMUM number of shards in Kinesis Data Streams the Specialist should use to successfully ingest this data?
Answer options
- A. 1 shards
- B. 10 shards
- C. 100 shards
- D. 1,000 shards
Correct answer: B
Explanation
The correct answer is B, as each shard in Amazon Kinesis Data Streams can handle up to 1,000 records per second or 1 MB per second. Given that the data blob is 100 KB and the rate is 100 transactions per second, one shard can handle this load, but it would be at its maximum capacity. Therefore, to ensure reliable ingestion, a minimum of 10 shards is required to avoid throttling and maintain performance.