21.) Which Kafka tool can be used for performance testing?
A) kafka-producer-perf-test.sh
B) kafka-load-runner.sh
C) kafka-monitor.sh
D) kafka-consumer-perf-test.sh
22.) What is the best practice for log retention in a production Kafka setup?
A) Set it to 1 hour
B) Infinite retention
C) Based on business requirements
D) 7 years for audit
23.) In testing, how can you validate a Kafka topic received all expected messages?
A) Count messages manually
B) Use Kafka Connect
C) Check broker logs
D) Consume from topic and validate count
24.) Which command is used to consume messages from the beginning?
A) –reset-offset
B) –from-earliest
C) –seek=0
D) –read-all
25.) Which Kafka configuration helps reduce disk usage?
A) log.retention.bytes
B) message.timeout.ms
C) acks=0
D) buffer.size
Related