Labour Day Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

CCDAK Exam Dumps - Confluent Certified Developer for Apache Kafka Certification Examination

Question # 4

There are 3 producers writing to a topic with 5 partitions. There are 5 consumers consuming from the topic. How many Controllers will be present in the cluster?

A.

3

B.

5

C.

2

D.

1

Full Access
Question # 5

In Avro, adding a field to a record without default is a __ schema evolution

A.

forward

B.

backward

C.

full

D.

breaking

Full Access
Question # 6

To import data from external databases, I should use

A.

Confluent REST Proxy

B.

Kafka Connect Sink

C.

Kafka Streams

D.

Kafka Connect Source

Full Access
Question # 7

We have a store selling shoes. What dataset is a great candidate to be modeled as a KTable in Kafka Streams?

A.

Money made until now

B.

The transaction stream

C.

Items returned

D.

Inventory contents right now

Full Access
Question # 8

To prevent network-induced duplicates when producing to Kafka, I should use

A.

max.in.flight.requests.per.connection=1

B.

enable.idempotence=true

C.

retries=200000

D.

batch.size=1

Full Access
Question # 9

How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?

A.

Call consumer.wakeUp() and catch a WakeUpException

B.

Call consumer.poll() in another thread

C.

Kill the consumer thread

Full Access
Question # 10

What is the disadvantage of request/response communication?

A.

Scalability

B.

Reliability

C.

Coupling

D.

Cost

Full Access
Question # 11

In Kafka, every broker... (select three)

A.

contains all the topics and all the partitions

B.

knows all the metadata for all topics and partitions

C.

is a controller

D.

knows the metadata for the topics and partitions it has on its disk

E.

is a bootstrap broker

F.

contains only a subset of the topics and the partitions

Full Access
Question # 12

We want the average of all events in every five-minute window updated every minute. What kind of Kafka Streams window will be required on the stream?

A.

Session window

B.

Tumbling window

C.

Sliding window

D.

Hopping window

Full Access
Question # 13

A producer just sent a message to the leader broker for a topic partition. The producer used acks=1 and therefore the data has not yet been replicated to followers. Under which conditions will the consumer see the message?

A.

Right away

B.

When the message has been fully replicated to all replicas

C.

Never, the produce request will fail

D.

When the high watermark has advanced

Full Access
Question # 14

How much should be the heap size of a broker in a production setup on a machine with 256 GB of RAM, in PLAINTEXT mode?

A.

4 GB

B.

128 GB

C.

16 GB

D.

512 MB

Full Access
Question # 15

The rule "same key goes to the same partition" is true unless...

A.

the number of producer changes

B.

the number of kafka broker changes

C.

the number of partition changes

D.

the replication factor changes

Full Access
Question # 16

If a topic has a replication factor of 3...

A.

3 replicas of the same data will live on 1 broker

B.

Each partition will live on 4 different brokers

C.

Each partition will live on 2 different brokers

D.

Each partition will live on 3 different brokers

Full Access
Question # 17

You have a consumer group of 12 consumers and when a consumer gets killed by the process management system, rather abruptly, it does not trigger a graceful shutdown of your consumer. Therefore, it takes up to 10 seconds for a rebalance to happen. The business would like to have a 3 seconds rebalance time. What should you do? (select two)

A.

Increase session.timeout.ms

B.

Decrease session.timeout.ms

C.

Increase heartbeat.interval.ms

D.

decrease max.poll.interval.ms

E.

increase max.poll.interval.ms

F.

Decrease heartbeat.interval.ms

Full Access
Question # 18

What happens when broker.rack configuration is provided in broker configuration in Kafka cluster?

A.

You can use the same broker.id as long as they have different broker.rack configuration

B.

Replicas for a partition are placed in the same rack

C.

Replicas for a partition are spread across different racks

D.

Each rack contains all the topics and partitions, effectively making Kafka highly available

Full Access
Question # 19

A consumer has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group never committed offsets for the topic before. Where will the consumer read from?

A.

offset 2311

B.

offset 0

C.

offset 45

D.

it will crash

Full Access
Question # 20

A topic has three replicas and you set min.insync.replicas to 2. If two out of three replicas are not available, what happens when a consume request is sent to broker?

A.

Data will be returned from the remaining in-sync replica

B.

An empty message will be returned

C.

NotEnoughReplicasException will be returned

D.

A new leader for the partition will be elected

Full Access
Question # 21

Your topic is log compacted and you are sending a message with the key K and value null. What will happen?

A.

The broker will delete all messages with the key K upon cleanup

B.

The producer will throw a Runtime exception

C.

The broker will delete the message with the key K and null value only upon cleanup

D.

The message will get ignored by the Kafka broker

Full Access
Question # 22

Where are the dynamic configurations for a topic stored?

A.

In Zookeeper

B.

In an internal Kafka topic __topic_configuratins

C.

In server.properties

D.

On the Kafka broker file system

Full Access