ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 177 - MLS-C01 discussion

Report
Export

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
Answers
A.
1 shards
B.
10 shards
Answers
B.
10 shards
C.
100 shards
Answers
C.
100 shards
D.
1,000 shards
Answers
D.
1,000 shards
Suggested answer: A

Explanation:

According to the Amazon Kinesis Data Streams documentation, the maximum size of data blob (the data payload before Base64-encoding) per record is 1 MB. The maximum number of records that can be sent to a shard per second is 1,000. Therefore, the maximum throughput of a shard is 1 MB/sec for input and 2 MB/sec for output. In this case, the input throughput is 100 transactions per second * 100 KB per transaction = 10 MB/sec. Therefore, the minimum number of shards required is 10 MB/sec / 1 MB/sec = 10 shards. However, the question asks for the minimum number of shards in Kinesis Data Streams, not the minimum number of shards per stream. A Kinesis Data Streams account can have multiple streams, each with its own number of shards. Therefore, the minimum number of shards in Kinesis Data Streams is 1, which is the minimum number of shards per stream.References:

Amazon Kinesis Data Streams Terminology and Concepts

Amazon Kinesis Data Streams Limits

asked 16/09/2024
Jay Chua
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first