Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Confluent > Confluent Certified Developer > CCDAK

CCDAK Confluent Certified Developer for Apache Kafka Certification Examination Question and Answers

Question # 4

You have a Kafka client application that has real-time processing requirements.

Which Kafka metric should you monitor?

A.

Consumer lag between brokers and consumers

B.

Total time to serve requests to replica followers

C.

Consumer heartbeat rate to group coordinator

D.

Aggregate incoming byte rate

Full Access
Question # 5

This schema excerpt is an example of which schema format?

package com.mycorp.mynamespace;

message SampleRecord {

int32 Stock = 1;

double Price = 2;

string Product_Name = 3;

}

A.

Avro

B.

Protobuf

C.

JSON Schema

D.

YAML

Full Access
Question # 6

Which partition assignment minimizes partition movements between two assignments?

A.

RoundRobinAssignor

B.

StickyAssignor

C.

RangeAssignor

D.

PartitionAssignor

Full Access
Question # 7

You have a consumer group with default configuration settings reading messages from your Kafka cluster.

You need to optimize throughput so the consumer group processes more messages in the same amount of time.

Which change should you make?

A.

Remove some consumers from the consumer group.

B.

Increase the number of bytes the consumers read with each fetch request.

C.

Disable auto commit and have the consumers manually commit offsets.

D.

Decrease the session timeout of each consumer.

Full Access
Question # 8

Which two statements are correct about transactions in Kafka?

(Select two.)

A.

All messages from a failed transaction will be deleted from a Kafka topic.

B.

Transactions are only possible when writing messages to a topic with single partition.

C.

Consumers can consume both committed and uncommitted transactions.

D.

Information about producers and their transactions is stored in the _transaction_state topic.

E.

Transactions guarantee at least once delivery of messages.

Full Access
Question # 9

What are three built-in abstractions in the Kafka Streams DSL?

(Select three.)

A.

KStream

B.

KTable

C.

GlobalKTable

D.

GlobalKStream

E.

StreamTable

Full Access
Question # 10

Which configuration allows more time for the consumer poll to process records?

A.

session.timeout.ms

B.

heartbeat.interval.ms

C.

max.poll.interval.ms

D.

fetch.max.wait.ms

Full Access
Question # 11

You need to set alerts on key broker metrics to trigger notifications when the cluster is unhealthy.

Which are three minimum broker metrics to monitor?

(Select three.)

A.

kafka.controller:type=KafkaController,name=TopicsToDeleteCount

B.

kafka.controller:type=KafkaController,name=OfflinePartitionsCount

C.

kafka.controller:type=KafkaController,name=ActiveControllerCount

D.

kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec

E.

kafka.controller:type=KafkaController,name=LastCommittedRecordOffset

Full Access
Question # 12

You need to collect logs from a host and write them to a Kafka topic named 'logs-topic'. You decide to use Kafka Connect File Source connector for this task.

What is the preferred deployment mode for this connector?

A.

Standalone mode

B.

Distributed mode

C.

Parallel mode

D.

SingleCluster mode

Full Access
Question # 13

You are sending messages to a Kafka cluster in JSON format and want to add more information related to each message:

    Format of the message payload

    Message creation time

    A globally unique identifier that allows the message to be traced through the systemWhere should this additional information be set?

A.

Header

B.

Key

C.

Value

D.

Broker

Full Access
Question # 14

Your company has three Kafka clusters: Development, Testing, and Production.

The Production cluster is running out of storage, so you add a new node.

Which two statements about the new node are true?

(Select 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 or reassignment occurs.

D.

A new node can be added without stopping existing cluster nodes.

Full Access
Question # 15

You are creating a Kafka Streams application to process retail data.

Match the input data streams with the appropriate Kafka Streams object.

Full Access
Question # 16

Which tool can you use to modify the replication factor of an existing topic?

A.

kafka-reassign-partitions.sh

B.

kafka-recreate-topic.sh

C.

kafka-topics.sh

D.

kafka-reassign-topics.sh

Full Access
Question # 17

You need to consume messages from Kafka using the command-line interface (CLI).

Which command should you use?

A.

kafka-console-consumer

B.

kafka-consumer

C.

kafka-get-messages

D.

kafka-consume

Full Access
Question # 18

What is the default maximum size of a message the Apache Kafka broker can accept?

A.

1MB

B.

2MB

C.

5MB

D.

10MB

Full Access