REAL EXAM AND COMPLETE QUESTIONS AND ANSWERS | 100%
RATED CORRECT | 100% VERFIED | ALREADY GRADED A+
What is the purpose of the file recovery-point-offset-checkpoint? - (answer)This is
the file that tracks which messages were successfully checkpointed to disk.
(recovery-point-offset-checkpoint is the internal broker log where Kafka tracks
which messages (from-to offset) were successfully checkpointed to disk.)
What is batch.size, compression and linger.ms? - (answer)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 not affect as the batches are already full
If a broker goes down what should you ensure to recover from the situation? -
(answer)* Ensure all topics had a replication factor of two or more
* Create a new broker with ID #6
, What is backward vs forward compatibility? - (answer)Adding a field to record
without default and deleting one with default is forward schema evolution
Deleting a field without default value and adding one with default is backward
What happens if you send a message to Kafka that does not contain any partition
key? - (answer)The message will be sent as it a random partition
When a producer sends data, it sends it directly to... - (answer)A Kafka Broker
When doing a --describe on a topic should the replicas for the topic match the isr? -
(answer)Yes
How should you delete a message in a log compacted topic? - (answer)Send a
message with the value of Null