Winter Special Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 713PS592

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

Questions 4

When using the Confluent Kafka Distribution, where does the schema registry reside?

Options:

A.

As a separate JVM component

B.

As an in-memory plugin on your Zookeeper cluster

C.

As an in-memory plugin on your Kafka Brokers

D.

As an in-memory plugin on your Kafka Connect Workers

Buy Now
Questions 5

By default, which replica will be elected as a partition leader? (select two)

Options:

A.

Preferred leader broker if it is in-sync and auto.leader.rebalance.enable=true

B.

Any of the replicas

C.

Preferred leader broker if it is in-sync and auto.leader.rebalance.enable=false

D.

An in-sync replica

Buy Now
Questions 6

A topic "sales" is being produced to in the Americas region. You are mirroring this topic using Mirror Maker to the European region. From there, you are only reading the topic for analytics purposes. What kind of mirroring is this?

Options:

A.

Passive-Passive

B.

Active-Active

C.

Active-Passive

Buy Now
Questions 7

Partition leader election is done by

Options:

A.

The consumers

B.

The Kafka Broker that is the Controller

C.

Zookeeper

D.

Vote amongst the brokers

Buy Now
Questions 8

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

Options:

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

Buy Now
Questions 9

Which of the following setting increases the chance of batching for a Kafka Producer?

Options:

A.

Increase batch.size

B.

Increase message.max.bytes

C.

Increase the number of producer threads

D.

Increase linger.ms

Buy Now
Questions 10

A kafka topic has a replication factor of 3 and min.insync.replicas setting of 2. How many brokers can go down before a producer with acks=1 can't produce?

Options:

A.

0

B.

3

C.

1

D.

2

Buy Now
Questions 11

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?

Options:

A.

4 GB

B.

128 GB

C.

16 GB

D.

512 MB

Buy Now
Questions 12

When using plain JSON data with Connect, you see the following error messageorg.apache.kafka.connect.errors.DataExceptionJsonDeserializer with schemas.enable requires "schema" and "payload" fields and may not contain additional fields. How will you fix the error?

Options:

A.

Set key.converter, value.converter to JsonConverter and the schema registry url

B.

Use Single Message Transforms to add schema and payload fields in the message

C.

Set key.converter.schemas.enable and value.converter.schemas.enable to false

D.

Set key.converter, value.converter to AvroConverter and the schema registry url

Buy Now
Questions 13

A Zookeeper ensemble contains 5 servers. What is the maximum number of servers that can go missing and the ensemble still run?

Options:

A.

3

B.

4

C.

2

D.

1

Buy Now
Questions 14

What is the default port that the KSQL server listens on?

Options:

A.

9092

B.

8088

C.

8083

D.

2181

Buy Now
Questions 15

In Java, Avro SpecificRecords classes are

Options:

A.

automatically generated from an Avro Schema

B.

written manually by the programmer

C.

automatically generated from an Avro Schema + a Maven / Gradle Plugin

Buy Now
Questions 16

Select all the way for one consumer to subscribe simultaneously to the following topics - topic.history, topic.sports, topic.politics? (select two)

Options:

A.

consumer.subscribe(Pattern.compile("topic\..*"));

B.

consumer.subscribe("topic.history"); consumer.subscribe("topic.sports"); consumer.subscribe("topic.politics");

C.

consumer.subscribePrefix("topic.");

D.

consumer.subscribe(Arrays.asList("topic.history", "topic.sports", "topic.politics"));

Buy Now
Questions 17

You have a Zookeeper cluster that needs to be able to withstand the loss of 2 servers and still be able to function. What size should your Zookeeper cluster have?

Options:

A.

4

B.

5

C.

2

D.

3

E.

6

Buy Now
Questions 18

Which Kafka CLI should you use to consume from a topic?

Options:

A.

kafka-console-consumer

B.

kafka-topics

C.

kafka-console

D.

kafka-consumer-groups

Buy Now
Questions 19

A consumer application is using KafkaAvroDeserializer to deserialize Avro messages. What happens if message schema is not present in AvroDeserializer local cache?

Options:

A.

Throws SerializationException

B.

Fails silently

C.

Throws DeserializationException

D.

Fetches schema from Schema Registry

Buy Now
Questions 20

The Controller is a broker that is... (select two)

Options:

A.

elected by Zookeeper ensemble

B.

is responsible for partition leader election

C.

elected by broker majority

D.

is responsible for consumer group rebalances

Buy Now
Questions 21

You are doing complex calculations using a machine learning framework on records fetched from a Kafka topic. It takes more about 6 minutes to process a record batch, and the consumer enters rebalances even though it's still running. How can you improve this scenario?

Options:

A.

Increase max.poll.interval.ms to 600000

B.

Increase heartbeat.interval.ms to 600000

C.

Increase session.timeout.ms to 600000

D.

Add consumers to the consumer group and kill them right away

Buy Now
Questions 22

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

Options:

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

Buy Now
Exam Code: CCDAK
Exam Name: Confluent Certified Developer for Apache Kafka Certification Examination
Last Update: Dec 1, 2024
Questions: 150

PDF + Testing Engine

$66  $164.99

Testing Engine

$50  $124.99
buy now CCDAK testing engine

PDF (Q&A)

$42  $104.99
buy now CCDAK pdf