Confluent CCDAK - Confluent Certified Developer for Apache Kafka Exam
Page: 3 / 18
Total 89 questions
Question #11 (Topic: Exam A)
What is the purpose of the key.serializer property?
A. key.serializer specifies the serializer class to use for the key of the message.
B. key.serializer specifies the serializer class to use for the value of the message.
C. key.serializer determines which class to use for the message.
D. key.serializer determines where to send the message.
Answer: A
Question #12 (Topic: Exam A)
You are working on an Orders microservice that is publishing messages to an Orders topic. It is a business requirement that the Orders for a given customer are processed sequentially. The Orders topic is partitioned for scalability.
You need to ensure the business requirements are met during application development.
Which action should you take?
You need to ensure the business requirements are met during application development.
Which action should you take?
A. Enable producer Idempotence. Ensure the message key is set to current timestamp, set batch.size =1, and set linger.ms to 0, and the number of partitions is not changed.
B. Enable producer Idempotence. Ensure the message key is set to customer id, set max-in-flight requests per connection to less than or equal to 5, and the number of partitions is not changed.
C. Enable producer Idempotence. Ensure the message key is set to producer id, set max-in-flight requests per connection to 1, and the number of partitions is changed.
D. Enable producer Idempotence. Ensure the message key is set to current timestamp, set linger.ms to 0, set acks=0, and the number of partitions is not changed.
Answer: B
Question #13 (Topic: Exam A)
Which configuration determines how many bytes of data are collected before sending messages to the Kafka broker?
A. batch.size
B. max.block.size
C. buffer.memory
D. send.buffer.bytes
Answer: A
Question #14 (Topic: Exam A)
Your company has three Kafka clusters: Development, Testing, and Production. The Production cluster is running out of storage so you add a new node to the Kafka cluster.
Which two statements about the new node are true? (Choose two.)
Which two statements about the new node are true? (Choose two.)
A. A node id will be assigned to the new node automatically.
B. A newly added node will have KRaft controller role by default.
C. A new node will not have any partitions assigned to it unless a new topic is created.
D. A new node can be added without stopping existing cluster nodes.
Answer: CD
Question #15 (Topic: Exam A)
You are receiving messages in your consumer slower than you expect.
Which command can you use to determine whether there is any consumer lag?
Which command can you use to determine whether there is any consumer lag?
A. kafka-consumer-groups --bootstrap-server <bootstrap-server> --describe --group my-consumer-group
B. kafka-consumer-groups --bootstrap-server <bootstrap-server> --describe
C. kafka-consumer-groups --bootstrap-server <bootstrap-server> --consumer-lag --group my-consumer-group
D. kafka-consumer-groups --bootstrap-server <bootstrap-server> --metric consumer-lag
Answer: A