exam questions

Exam AWS Certified Machine Learning - Specialty All Questions

View all questions & answers for the AWS Certified Machine Learning - Specialty exam

Exam AWS Certified Machine Learning - Specialty topic 1 question 104 discussion

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?

  • A. 1 shards
  • B. 10 shards
  • C. 100 shards
  • D. 1,000 shards
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
Highly Voted 3 years, 1 month ago
Agreed, B it is. See https://medium.com/slalom-data-analytics/amazon-kinesis-data-streams-auto-scaling-the-number-of-shards-105dc967bed5 One shard can Ingest 1 MB/second or 1,000 records/second. So 100 KB * 100 = 10 MB (10 shards required)
upvoted 26 times
...
james2033
Most Recent 8 months, 1 week ago
Selected Answer: B
100 KB * 100 = 10 MB 1 MB/second 10 / 1 = 10 shards.
upvoted 1 times
...
Mickey321
1 year, 2 months ago
Selected Answer: B
Each shard in Amazon Kinesis Data Streams can support up to 1,000 transactions per second. The data needs to be ingested at up to 100 transactions per second, so we need at least 1 shard. However, we also need to consider the size of the JSON data blob. Each JSON data blob is 100 KB in size, and each shard can only store up to 1 MB of data. This means that we need to have at least 10 shards, so that each shard can store 100 KB of data.
upvoted 1 times
...
PHTR
1 year, 10 months ago
B - Max. ingestion per shard = 1000 KB/s --> 100 Records * 100 KB = 10.000 KB --> 10.000 KB / 1000 KB/per Shard = 10 Shards
upvoted 3 times
...
Shailendraa
2 years, 2 months ago
10 should be correct.
upvoted 1 times
...
tgaos
2 years, 5 months ago
Selected Answer: B
B is correct
upvoted 2 times
...
mahmoudai
3 years ago
100 kb * 100 t/second = 10000 kb = 10 mb 10mb / max_threshold_per_shard (1 mb) = 10 shards
upvoted 1 times
...
benson2021
3 years, 1 month ago
Reference: https://docs.aws.amazon.com/streams/latest/dev/service-sizes-and-limits.html
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago