Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: netbudy65

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

Questions 4

Which KSQL queries write to Kafka?

Options:

A.

COUNT and JOIN

B.

SHOW STREAMS and EXPLAIN statements

C.

CREATE STREAM WITH and CREATE TABLE WITH

D.

CREATE STREAM AS SELECT and CREATE TABLE AS SELECT

Buy Now
Questions 5

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

Options:

A.

9092

B.

8088

C.

8083

D.

2181

Buy Now
Questions 6

How does a consumer commit offsets in Kafka?

Options:

A.

It directly sends a message to the __consumer_offsets topic

B.

It interacts with the Group Coordinator broker

C.

It directly commits the offsets in Zookeeper

Buy Now
Questions 7

You want to sink data from a Kafka topic to S3 using Kafka Connect. There are 10 brokers in the cluster, the topic has 2 partitions with replication factor of 3. How many tasks will you configure for the S3 connector?

Options:

A.

10

B.

6

C.

3

D.

2

Buy Now
Questions 8

Using the Confluent Schema Registry, where are Avro schema stored?

Options:

A.

In the Schema Registry embedded SQL database

B.

In the Zookeeper node /schemas

C.

In the message bytes themselves

D.

In the _schemas topic

Buy Now
Questions 9

is KSQL ANSI SQL compliant?

Options:

A.

Yes

B.

No

Buy Now
Questions 10

Which of the following errors are retriable from a producer perspective? (select two)

Options:

A.

MESSAGE_TOO_LARGE

B.

INVALID_REQUIRED_ACKS

C.

NOT_ENOUGH_REPLICAS

D.

NOT_LEADER_FOR_PARTITION

E.

TOPIC_AUTHORIZATION_FAILED

Buy Now
Questions 11

How do you create a topic named test with 3 partitions and 3 replicas using the Kafka CLI?

Options:

A.

bin/kafka-topics.sh --create --broker-list localhost:9092 --replication-factor 3 --partitions 3 --topic test

B.

bin/kafka-topics-create.sh --zookeeper localhost:9092 --replication-factor 3 --partitions 3 --topic test

C.

bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 3 --partitions 3 --topic test

D.

bin/kafka-topics.sh --create --bootstrap-server localhost:2181 --replication-factor 3 --partitions 3 --topic test

Buy Now
Questions 12

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 13

In Avro, adding an element to an enum without a default is a __ schema evolution

Options:

A.

breaking

B.

full

C.

backward

D.

forward

Buy Now
Questions 14

Which of these joins does not require input topics to be sharing the same number of partitions?

Options:

A.

KStream-KTable join

B.

KStream-KStream join

C.

KStream-GlobalKTable

D.

KTable-KTable join

Buy Now
Questions 15

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 16

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 17

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 18

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 19

What is true about replicas ?

Options:

A.

Produce requests can be done to the replicas that are followers

B.

Produce and consume requests are load-balanced between Leader and Follower replicas

C.

Leader replica handles all produce and consume requests

D.

Follower replica handles all consume requests

Buy Now
Questions 20

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 21

If I supply the setting compression.type=snappy to my producer, what will happen? (select two)

Options:

A.

The Kafka brokers have to de-compress the data

B.

The Kafka brokers have to compress the data

C.

The Consumers have to de-compress the data

D.

The Consumers have to compress the data

E.

The Producers have to compress the data

Buy Now
Questions 22

A client connects to a broker in the cluster and sends a fetch request for a partition in a topic. It gets an exception Not Leader For Partition Exception in the response. How does client handle this situation?

Options:

A.

Get the Broker id from Zookeeper that is hosting the leader replica and send request to it

B.

Send metadata request to the same broker for the topic and select the broker hosting the leader replica

C.

Send metadata request to Zookeeper for the topic and select the broker hosting the leader replica

D.

Send fetch request to each Broker in the cluster

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

PDF + Testing Engine

$130

Testing Engine

$95

PDF (Q&A)

$80