Confluent
CCDAK · Question #202
CCDAK Question #202: Real Exam Question with Answer & Explanation
Sign in or unlock CCDAK to reveal the answer and full explanation for question #202. The question stem and answer options stay visible for context.
Question
You are developing a Java application including a Kafka consumer. - You need to integrate the Kafka's client logs with your own application's log - Your application is using log4j2 logger Which Java library dependency must you include in your project?
Options
- ASLF4J implementation for Log4j 1.2 (org.slf4j:slf4j-log4j12)
- BSLF4J implementation for Log4j2 (org.apache.logging.log4j:log4j-slf4j-mpl)
- CNone, the right dependency will be added by the Kafka client dependency by transitivity.
- DJust the log4j2 dependency of the application
Unlock CCDAK to see the answer
You've previewed enough free CCDAK questions. Unlock CCDAK for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.