00:00

QUESTION 41

If I supply the setting compression.type=snappy to my producer, what will happen? (select two)

Correct Answer: C
Kafka transfers data with zero copy and no transformation. Any transformation (including compression) is the responsibility of clients.

QUESTION 42

What client protocol is supported for the schema registry? (select two)

Correct Answer: AB
clients can interact with the schema registry using the HTTP or HTTPS interface

QUESTION 43

What's a Kafka partition made of?

Correct Answer: C
Kafka partitions are made of segments (usually each segment is 1GB), and each segment has two corresponding indexes (offset index and time index)

QUESTION 44

There are 3 brokers in the cluster. You want to create a topic with a single partition that is resilient to one broker failure and one broker maintenance. What is the replication factor will you specify while creating the topic?

Correct Answer: B
1 is not possible as it doesn't provide resilience to failure, 2 is not enough as if we take a broker down for maintenance, we cannot tolerate a broker failure, and 6 is impossible as we only have 3 brokers (RF cannot be greater than the number of brokers). Here the correct answer is 3

QUESTION 45

How will you find out all the partitions where one or more of the replicas for the partition are not in-sync with the leader?

Correct Answer: D