00:00

QUESTION 26

What is not a valid authentication mechanism in Kafka?

Correct Answer: C
Learn more about security herehttps://kafka.apache.org/documentation/#security

QUESTION 27

Which is an optional field in an Avro record?

Correct Answer: A
doc represents optional description of message

QUESTION 28

Your producer is producing at a very high rate and the batches are completely full each
time. How can you improve the producer throughput? (select two)

Correct Answer: AC
batch.size controls how many bytes of data to collect before sending messages to the Kafka broker. Set this as high as possible, without exceeding available memory. Enabling compression can also help make more compact batches and increase the throughput of your producer. Linger.ms will have no effect as the batches are already full

QUESTION 29

To continuously export data from Kafka into a target database, I should use

Correct Answer: C
Kafka Connect Sink is used to export data from Kafka to external databases and Kafka Connect Source is used to import from external databases into Kafka.

QUESTION 30

Partition leader election is done by

Correct Answer: C
The Controller is a broker that is responsible for electing partition leaders