Tick-Bank is a privately held Internet retailer of both physical and digital products founded in 2008
The company has more than six-million clients worldwide.
Tick-Bank aims to serve as a connection between digital content makers and affiliate dealers, who then promote them to clients.
Tick-Bank's technology aids in payments, tax calculations and a variety of customer service tasks.
Tick-Bank assists in building perceptibility and revenue-making opportunities for entrepreneurs. Tick-Bank runs multiple java based web applications running on windows based EC2 machines in AWS managed by internal IT Java team, to serve various business functions.
Tick-Bank is looking to enable web-site traffic analytics thereby understanding user navigational behavior, preferences, and other clicks related info.
The amount of data captured per click is in tens of bytes. Tick-Bank has the following objectives in mind for the solution. Tick-Bank has multiple kinesis data streams supporting various business processes and uses enhanced fan-out consumers to fulfill the processing of data.
The stream has 2 shards.
There are 2 consumers that are using enhanced fan-out to receive data from the stream.
Please detail the implementation specifics of consumers.
Select 3 options.
Click on the arrows to vote for the correct answer
A. B. C. D. E.Answer: A, B, D.
Option A is correct - An enhanced fan-out pipe provides up to 2 MiB/sec of data per shard.
https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.htmlOption B is correct - consumers can be built out KCL library or API.
https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.htmlOption C is incorrect - consumers can be built out KCL library or API.
https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.htmlOption D is correct - KCL automatically subscribes to the consumer to all the shards of the stream.
https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.htmlOption E is incorrect - KCL automatically subscribes to the consumer to all the shards of the stream.
https://docs.aws.amazon.com/streams/latest/dev/introduction-to-enhanced-consumers.htmlTick-Bank is looking to enable web-site traffic analytics by understanding user navigational behavior, preferences, and other clicks related info. They have multiple Kinesis data streams supporting various business processes and use enhanced fan-out consumers to fulfill the processing of data. The stream has 2 shards, and there are 2 consumers that are using enhanced fan-out to receive data from the stream.
Enhanced fan-out is a feature of Amazon Kinesis Data Streams that allows multiple consumers to simultaneously receive real-time data from a single shard. Enhanced fan-out uses a streaming model where multiple consumers can read data from the same shard simultaneously. Each consumer receives a copy of the data, and the data is not partitioned between consumers.
Regarding the implementation specifics of the consumers, the following options are correct:
A. An enhanced fan-out pipe provides up to 2 MiB/sec of data per shard: This is correct. Enhanced fan-out provides up to 2 MiB/sec of data per shard. This means that if you have a Kinesis data stream with multiple shards, each shard can deliver up to 2 MiB/sec of data to enhanced fan-out consumers.
B. Consumers can be built out KCL library or API: This is correct. Consumers can be built using the Kinesis Client Library (KCL) or API. The KCL is a Java library that makes it easy to consume and process data from Kinesis data streams.
C. Consumers can be built out only out of KCL library: This is incorrect. While the KCL is a popular option for building consumers, consumers can also be built using the Kinesis API directly.
D. KCL automatically subscribes to the consumer to all the shards of the stream: This is incorrect. The KCL does not automatically subscribe to all shards of the stream. Instead, it uses a concept called a "worker" that can consume data from one or more shards.
E. KCL automatically subscribes to the consumer to the first shard of the shards of the stream: This is incorrect. The KCL does not automatically subscribe to the first shard of the stream. Instead, the KCL worker can consume data from one or more shards, depending on the configuration.
In summary, to implement enhanced fan-out consumers for Kinesis data streams, developers can use the KCL or the Kinesis API. Enhanced fan-out provides up to 2 MiB/sec of data per shard, and each consumer receives a copy of the data. The KCL uses workers to consume data from one or more shards, but it does not automatically subscribe to all shards or the first shard of the stream.