Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: geek65

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

Questions 4

What's is true about Kafka brokers and clients from version 0.10.2 onwards?

Options:

A.

Clients and brokers must have the exact same version to be able to communicate

B.

A newer client can talk to a newer broker, but an older client cannot talk to a newer broker

C.

A newer client can talk to a newer broker, and an older client can talk to a newer broker

D.

A newer client can't talk to a newer broker, but an older client can talk to a newer broker

Buy Now
Questions 5

What are the requirements for a Kafka broker to connect to a Zookeeper ensemble? (select two)

Options:

A.

Unique value for each broker's zookeeper.connect parameter

B.

Unique values for each broker's broker.id parameter

C.

All the brokers must share the same broker.id

D.

All the brokers must share the same zookeeper.connect parameter

Buy Now
Questions 6

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

Options:

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

Buy Now
Questions 7

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

Options:

A.

offset 45

B.

offset 10

C.

it will crash

D.

offset 2311

Buy Now
Questions 8

The kafka-console-consumer CLI, when used with the default options

Options:

A.

uses a random group id

B.

always uses the same group id

C.

does not use a group id

Buy Now
Questions 9

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

Options:

A.

Call consumer.wakeUp() and catch a WakeUpException

B.

Call consumer.poll() in another thread

C.

Kill the consumer thread

Buy Now
Questions 10

A consumer wants to read messages from partitions 0 and 1 of a topic topic1. Code snippet is shown below.

consumer.subscribe(Arrays.asList("topic1"));

List pc = new ArrayList<>();

pc.add(new PartitionTopic("topic1", 0));

pc.add(new PartitionTopic("topic1", 1));

consumer.assign(pc);

Options:

A.

This works fine. subscribe() will subscribe to the topic and assign() will assign partitions to the consumer.

B.

Throws IllegalStateException

Buy Now
Questions 11

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

Options:

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

Buy Now
Questions 12

What exceptions may be caught by the following producer? (select two)

ProducerRecord record =

new ProducerRecord<>("topic1", "key1", "value1");

try {

producer.send(record);

} catch (Exception e) {

e.printStackTrace();

}

Options:

A.

BrokerNotAvailableException

B.

SerializationException

C.

InvalidPartitionsException

D.

BufferExhaustedException

Buy Now
Questions 13

A Kafka producer application wants to send log messages to a topic that does not include any key. What are the properties that are mandatory to configure for the producer configuration? (select three)

Options:

A.

bootstrap.servers

B.

partition

C.

key.serializer

D.

value.serializer

E.

key

F.

value

Buy Now
Questions 14

What is the protocol used by Kafka clients to securely connect to the Confluent REST Proxy?

Options:

A.

Kerberos

B.

SASL

C.

HTTPS (SSL/TLS)

D.

HTTP

Buy Now
Questions 15

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?

Options:

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

Buy Now
Questions 16

You are using JDBC source connector to copy data from a table to Kafka topic. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?

Options:

A.

3

B.

2

C.

1

D.

6

Buy Now
Questions 17

Select all that applies (select THREE)

Options:

A.

min.insync.replicas is a producer setting

B.

acks is a topic setting

C.

acks is a producer setting

D.

min.insync.replicas is a topic setting

E.

min.insync.replicas matters regardless of the values of acks

F.

min.insync.replicas only matters if acks=all

Buy Now
Questions 18

A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is able to connect to Kafka but unable to produce to the same Kafka topic because of an authorization issue. What is the likely issue?

Options:

A.

Broker configuration needs to be changed to allow a different producer

B.

You cannot copy a producer application from one machine to another

C.

The Kafka ACL does not allow another machine IP

D.

The Kafka Broker needs to be rebooted

Buy Now
Questions 19

An ecommerce wesbite sells some custom made goods. What's the natural way of modeling this data in Kafka streams?

Options:

A.

Purchase as stream, Product as stream, Customer as stream

B.

Purchase as stream, Product as table, Customer as table

C.

Purchase as table, Product as table, Customer as table

D.

Purchase as stream, Product as table, Customer as stream

Buy Now
Questions 20

Producing with a key allows to...

Options:

A.

Ensure per-record level security

B.

Influence partitioning of the producer messages

C.

Add more information to my message

D.

Allow a Kafka Consumer to subscribe to a (topic,key) pair and only receive that data

Buy Now
Questions 21

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 22

An ecommerce website maintains two topics - a high volume "purchase" topic with 5 partitions and low volume "customer" topic with 3 partitions. You would like to do a stream-table join of these topics. How should you proceed?

Options:

A.

Repartition the purchase topic to have 3 partitions

B.

Repartition customer topic to have 5 partitions

C.

Model customer as a GlobalKTable

D.

Do a KStream / KTable join after a repartition step

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

CCDAK PDF

$28  $80
CCDAK Engine

CCDAK Testing Engine

$33.25  $95
CCDAK PDF + Engine

CCDAK PDF + Testing Engine

$45.5  $130