InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is the default retention period for a Kafka topic ? |
|
Answer» What is the DEFAULT retention period for a Kafka topic ? |
|
| 2. |
Kafka cluster can enforce quota on requests to control the broker resources used by clients. |
|
Answer» KAFKA cluster can enforce QUOTA on REQUESTS to control the broker resources used by clients. Choose the CORRECT option from below list (1)False (2)True Answer:-(2)True |
|
| 3. |
Based on the classification of messages Kafka categorizes messages into |
|
Answer» BASED on the classification of messages KAFKA categorizes messages into Choose the correct option from below list (1)Messages (2)Topics (3)PARTITIONS (4)Chunks Answer:-(2)Topics |
|
| 4. |
Kafka Streams supports exactly-once processing semantics. |
|
Answer» KAFKA Streams SUPPORTS exactly-once processing semantics. Choose the correct option from below LIST (1)False (2)True Answer:-(2)True |
|
| 5. |
When a consumer subscribe to a topic, kafka provides the current offset of the topic to : |
|
Answer» When a consumer subscribe to a topic, KAFKA provides the current offset of the topic to : |
|
| 6. |
__________ is the subset of the replicas list that is currently alive and caught-up to the leader. |
|
Answer» __________ is the SUBSET of the REPLICAS list that is currently alive and caught-up to the LEADER. |
|
| 7. |
A _______ is a structured commit log to which records are appended continually. |
|
Answer» A _______ is a structured commit LOG to which records are appended continually. |
|
| 8. |
Each record in the partition is assigned a sequential id called as the _______. |
|
Answer» Each record in the partition is assigned a SEQUENTIAL ID called as the _______. |
|
| 9. |
In Kafka, the communication between the clients and servers is done with _______ Protocol. |
|
Answer» In Kafka, the communication between the clients and servers is done with _______ Protocol. |
|
| 10. |
For stream processing, Kafka provides which of the following ? |
|
Answer» For stream processing, KAFKA provides which of the FOLLOWING ? |
|
| 11. |
The _________ is one of the brokers and is responsible for maintaining the leader/follower relationship for all the part |
|
Answer» The _________ is ONE of the brokers and is responsible for maintaining the leader/follower relationship for all the partitions. |
|
| 12. |
The _______ allows an application to act as a stream processor, consuming an input stream from one or more topics and producing an output stream to on |
|
Answer» The _______ ALLOWS an application to act as a stream processor, consuming an input stream from one or more topics and producing an OUTPUT stream to one or more output topics. |
|
| 13. |
Kafka streams does not support interactive queries to unify the worlds of streams and databases. |
|
Answer» KAFKA STREAMS does not support interactive queries to unify the WORLDS of streams and databases. Choose the correct option from below list (1)TRUE (2)False Answer:-(2)False |
|
| 14. |
Which configuration in Producer API controls the criteria under which requests are considered complete? |
|
Answer» Which configuration in Producer API CONTROLS the criteria under which requests are considered COMPLETE? |
|
| 15. |
Kafka is run as a cluster comprised of one or more servers each of which is called |
|
Answer» KAFKA is RUN as a cluster comprised of one or more servers each of which is called Choose the CORRECT OPTION from below LIST (1)Leader (2)Replica (3)Broker (4)Main server Answer:-(3)Broker |
|
| 16. |
Which one functions as a messaging system? |
|
Answer» Which one functions as a messaging SYSTEM? |
|
| 17. |
Source Processor does not have any downstream processors. |
|
Answer» Source PROCESSOR does not have any downstream processors. |
|
| 18. |
Banking industry can leverage Kafka Streams for detecting fraudulent transactions. |
|
Answer» Banking industry can LEVERAGE Kafka Streams for DETECTING fraudulent transactions. |
|
| 19. |
A _________ in Kafka reads streams of data from input topics, processes this data and produces continual streams of data to output topics. |
|
Answer» A _________ in Kafka reads streams of DATA from input TOPICS, PROCESSES this data and PRODUCES continual streams of data to output topics. |
|
| 20. |
Kafka supports both 'queuing model' and 'publish-subscribe' model? |
|
Answer» KAFKA supports both 'queuing MODEL' and 'publish-subscribe' model? Choose the correct option from below LIST (1)False (2)TRUE Answer:-(2)True |
|
| 21. |
If the retention policy is set to two days, then for the two days after a record is published, it is available for consu |
|
Answer» 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. |
|
| 22. |
Which is the node responsible for all reads and writes for the given partition ? |
|
Answer» Which is the node responsible for all reads and writes for the GIVEN partition ? |
|
| 23. |
Each message published to a topic is delivered to _______ within each subscribing consumer group. |
|
Answer» Each message published to a topic is DELIVERED to _______ within each subscribing consumer group. |
|
| 24. |
__________keeps track of topics, its partitions and replicas, who is the preferred leader and what configuration overrides are set for each topic. |
|
Answer» __________keeps track of topics, its partitions and replicas, who is the preferred LEADER and what CONFIGURATION overrides are SET for each topic. |
|
| 25. |
Kafka Streams employs one-record-at-a-time processing to achieve millisecond processing latency |
|
Answer» KAFKA Streams EMPLOYS one-record-at-a-time PROCESSING to achieve millisecond processing latency Choose the CORRECT option from below LIST (1)False (2)True Answer:-(2)True |
|
| 26. |
Kafka also provides better ordering guarantees than a traditional messaging system using ________. |
|
Answer» Kafka ALSO PROVIDES better ORDERING guarantees than a TRADITIONAL messaging system using ________. |
|
| 27. |
A ________ is a logical abstraction for stream processing code. |
|
Answer» A ________ is a logical ABSTRACTION for stream processing code. |
|
| 28. |
Each record consists of a key, a value, and a ________. |
|
Answer» Each record consists of a KEY, a value, and a ________. |
|
| 29. |
Which service monitors Cluster membership ? |
|
Answer» Which service monitors Cluster membership ? |
|
| 30. |
How are messages stored in topic partitions ? |
|
Answer» How are MESSAGES stored in topic partitions ? |
|
| 31. |
The only metadata retained on a per-consumer basis is the offset or position of that consumer in the log. |
|
Answer» The only metadata RETAINED on a per-consumer BASIS is the offset or position of that consumer in the log. |
|
| 32. |
Which processor sends any received records from its upstream processors to a specified Kafka topic ? |
|
Answer» Which processor sends any received records from its UPSTREAM PROCESSORS to a specified Kafka topic ? |
|
| 33. |
Kafka can be used for which of the following : |
|
Answer» Kafka can be used for which of the following : |
|
| 34. |
Each __________ acts as a leader for some of its partitions and a follower for others so load is well balanced within th |
|
Answer» Each __________ acts as a leader for some of its partitions and a follower for OTHERS so load is WELL balanced within the cluster. |
|
| 35. |
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 |
|
Answer» 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 |
|
| 36. |
A configurable ________ can be set to retain all published |
|
Answer» A CONFIGURABLE ________ can be set to retain all published records in KAFKA irrespective of whether they have been consumed or not. |
|