What is the disadvantage of request/response communication?

What is the disadvantage of request/response communication?A . ScalabilityB . ReliabilityC . CouplingD . CostView AnswerAnswer: C Explanation: Point-to-point (request-response) style will couple client to the server.

January 27, 2022 No Comments READ MORE +

What happens when broker.rack configuration is provided in broker configuration in Kafka cluster?

What happens when broker.rack configuration is provided in broker configuration in Kafka cluster?A . You can use the same broker.id as long as they have different broker.rack configurationB . Replicas for a partition are placed in the same rackC . Replicas for a partition are spread across different racksD ....

January 27, 2022 No Comments READ MORE +

How will you read all the messages from a topic in your KSQL query?

How will you read all the messages from a topic in your KSQL query?A . KSQL reads from the beginning of a topic, by default.B . KSQL reads from the end of a topic. This cannot be changed.C . Use KSQL CLI to set auto.offset.reset property to earliestView AnswerAnswer: C...

January 27, 2022 No Comments READ MORE +

Which of these joins does not require input topics to be sharing the same number of partitions?

Which of these joins does not require input topics to be sharing the same number of partitions?A . KStream-KTable joinB . KStream-KStream joinC . KStream-GlobalKTableD . KTable-KTable joinView AnswerAnswer: C Explanation: GlobalKTables have their datasets replicated on each Kafka Streams instance and therefore no repartitioning is required

January 27, 2022 No Comments READ MORE +

Where will the consumer read from?

A consumer starts and has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 643 for the topic before. Where will the consumer read from?A . it will crashB . offset 2311C . offset 643D . offset...

January 26, 2022 No Comments READ MORE +

In Kafka, every broker... (select three)

In Kafka, every broker... (select three)A . contains all the topics and all the partitionsB . knows all the metadata for all topics and partitionsC . is a controllerD . knows the metadata for the topics and partitions it has on its diskE . is a bootstrap brokerF . contains...

January 26, 2022 No Comments READ MORE +

Which component needs to encode the binary data into base 64?

If I want to send binary data through the REST proxy, it needs to be base64 encoded . Which component needs to encode the binary data into base 64?A . The ProducerB . The Kafka BrokerC . ZookeeperD . The REST ProxyView AnswerAnswer: A Explanation: The REST Proxy requires to...

January 26, 2022 No Comments READ MORE +

To enhance compression, I can increase the chances of batching by using

To enhance compression, I can increase the chances of batching by usingA . acks=allB . linger.ms=20C . batch.size=65536D . max.message.size=10MBView AnswerAnswer: B Explanation: linger.ms forces the producer to wait before sending messages, hence increasing the chance of creating batches that can be heavily compressed.

January 26, 2022 No Comments READ MORE +

How does client handle this situation?

A client connects to a broker in the cluster and sends a fetch request for a partition in a topic. It gets an exception Not Leader For Partition Exception in the response . How does client handle this situation?A . Get the Broker id from Zookeeper that is hosting the...

January 25, 2022 No Comments READ MORE +

Which of the following is not an Avro primitive type?

Which of the following is not an Avro primitive type?A . stringB . longC . intD . dateE . nullView AnswerAnswer: D Explanation: date is a logical type

January 25, 2022 No Comments READ MORE +