CCAAK · Question #37
CCAAK Question #37: Real Exam Question with Answer & Explanation
The correct answer is A. Enable compression (compression.type) on the producer side to reduce the size of messages C. Increase 'min.insync.replicas' and ensure acks is set to all for producers so messages are durably E. Increase 'buffer.memory' and 'max.block.ms' for producers to handle higher volumes and rates of. Compression reduces message size, improving broker throughput and decreasing consumer lag under high load. Increasing the minimum in-sync replicas together with producer acknowledgments ensures durability and consistency, which is critical as throughput grows. Expanding producer
Question
Options
- AEnable compression (compression.type) on the producer side to reduce the size of messages
- BAdjust 'log.flush.interval.messages' and 'log.flush.interval.ms' settings to optimize disk I/O on
- CIncrease 'min.insync.replicas' and ensure acks is set to all for producers so messages are durably
- DSet 'unclean.leader.election.enable' to true to maintain availability even at the risk of data
- EIncrease 'buffer.memory' and 'max.block.ms' for producers to handle higher volumes and rates of
Explanation
Compression reduces message size, improving broker throughput and decreasing consumer lag under high load. Increasing the minimum in-sync replicas together with producer acknowledgments ensures durability and consistency, which is critical as throughput grows. Expanding producer buffer capacity allows producers to handle higher ingest rates smoothly, preventing backpressure that can otherwise increase consumer lag.
Community Discussion
No community discussion yet for this question.