Professional Documents
Culture Documents
Protocol.
TCP--correct
Topics--correct
Kafka--correct
The _ is one of the brokers and is responsible for maintaining the leader/follower
relationship for all the partitions.
Controller--correct
Zookeeper--correct
offset--correct
Broker--correct
topic partition--correct
Which is the node responsible for all reads and writes for the given partition ?
Leader--correct
__ is the subset of the replicas list that is currently alive and caught-up to the
leader.
In-sync replicas--correct
Consumer Group--correct
Kafka also provides better ordering guarantees than a traditional messaging system
using .
topic partitions.--correct
retention period--correct
If multiple consumers subscribed for a topic and each belong to different Consumer
Group, the messages of the topic will be consumed by all consumers. This is:
Publish-Subscribe model--correct
If only one 'Consumer Group' subscribed for a topic and there are lots of consumers
in this Consumer Group, messages of the topic will be evenly load balanced between
consumers of the consumer group. This is :
Queuing model--correct
When a consumer subscribe to a topic, kafka provides the current offset of the
topic to :
If the retention policy is set to two days, then for the two days after a record is
published, it is available for consumption, after which it will be discarded to
free up space.
True--correct
True--correct
Which processor sends any received records from its upstream processors to a
specified Kafka topic ?
Sink--correct
False--correct
A _ in Kafka reads streams of data from input topics, processes this data and
produces continual streams of data to output topics.
Stream processor--correct
Processor Topology--correct
Kafka Streams has no external dependencies on systems other than Apache Kafka
itself.
True
False--correct
assign()--correct
A _ subscribes to a topic and consumes published messages by pulling data from the
brokers.
Consumer
Streams API
Each __ acts as a leader for some of its partitions and a follower for others so
load is well balanced within the cluster.
Topic
Streams API
7 days--correct
keeps track of topics, its partitions and replicas, who is the preferred leader and
what configuration overrides are set for each topic
Zookeeper
Banking industry can leverage Kafka Streams for detecting fraudulent transactions.
True--correct
True
The allows building and running reusable producers or consumers that connect Kafka
topics to existing applications or data systems.
Streams API
True
--- are servers that replicate a partition log regardless of their role as leader
or follower?
Leaders
Producer API
Kafka provides better ordering guarantees than a traditional messaging system using
topic partitions.
True
Offset--correct
true
True--correct
Partition Key
Which API supports managing and inspecting topics, brokers and other kafka objects?
AdminClient API--correct
The allows building and running reusable producers or consumers that connect Kafka
topics to existing applications or data systems.
Connector API--correct
Which is the correct order of steps to create a simple messaging system in Kafka?
i.Step1. Start the ZooKeeper server. ii.Step 2: Start the kafka server. iii.Step3:
Create a topic. iv.Step 4:Run the producer and send some messages. v. Step 5: Start
the consumer and see the messages send from producer.
The __ allows an application to subscribe to one or more topics and process the
stream of records produced to them.
Consumer API--correct
True---correct
Each __ acts as a leader for some of its partitions and a follower for others so
load is well balanced within the cluster.
Kafka Server
False--correct
The only metadata retained on a per-consumer basis is the position of the consumer
in the log, called :
Offset