New Year Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

CCDAK Questions and Answers

Question # 6

In Java, Avro SpecificRecords classes are

A.

automatically generated from an Avro Schema

B.

written manually by the programmer

C.

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

Full Access
Question # 7

Producing with a key allows to...

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

Full Access
Question # 8

You have a Kafka cluster and all the topics have a replication factor of 3. One intern at your company stopped a broker, and accidentally deleted all the data of that broker on the disk. What will happen if the broker is restarted?

A.

The broker will start, and other topics will also be deleted as the broker data on the disk got deleted

B.

The broker will start, and won't be online until all the data it needs to have is replicated from other leaders

C.

The broker will crash

D.

The broker will start, and won't have any data. If the broker comes leader, we have a data loss

Full Access
Question # 9

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?

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

Full Access
Question # 10

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?

A.

4

B.

5

C.

2

D.

3

E.

6

Full Access
Question # 11

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 # 12

How will you set the retention for the topic named “my-topic” to 1 hour?

A.

Set the broker config log.retention.ms to 3600000

B.

Set the consumer config retention.ms to 3600000

C.

Set the topic config retention.ms to 3600000

D.

Set the producer config retention.ms to 3600000

Full Access
Question # 13

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?

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

Full Access
Question # 14

is KSQL ANSI SQL compliant?

A.

Yes

B.

No

Full Access
Question # 15

You are running a Kafka Streams application in a Docker container managed by Kubernetes, and upon application restart, it takes a long time for the docker container to replicate the state and get back to processing the data. How can you improve dramatically the application restart?

A.

Mount a persistent volume for your RocksDB

B.

Increase the number of partitions in your inputs topic

C.

Reduce the Streams caching property

D.

Increase the number of Streams threads

Full Access
Question # 16

In Avro, removing a field that does not have a default is a __ schema evolution

A.

breaking

B.

full

C.

backward

D.

forward

Full Access
Question # 17

A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?

A.

Partition 5

B.

Any of the topic partitions

C.

The partition for the null key

D.

Partition 0

Full Access
Question # 18

Select the Kafka Streams joins that are always windowed joins.

A.

KStream-KStream join

B.

KTable-KTable join

C.

KStream-GlobalKTable

D.

KStream-KTable join

Full Access
Question # 19

A Zookeeper ensemble contains 3 servers. Over which ports the members of the ensemble should be able to communicate in default configuration? (select three)

A.

2181

B.

3888

C.

443

D.

2888

E.

9092

F.

80

Full Access
Question # 20

If you enable an SSL endpoint in Kafka, what feature of Kafka will be lost?

A.

Cross-cluster mirroring

B.

Support for Avro format

C.

Zero copy

D.

Exactly-once delivery

Full Access
Question # 21

Where are the ACLs stored in a Kafka cluster by default?

A.

Inside the broker's data directory

B.

Under Zookeeper node /kafka-acl/

C.

In Kafka topic __kafka_acls

D.

Inside the Zookeeper's data directory

Full Access
Question # 22

If I want to have an extremely high confidence that leaders and replicas have my data, I should use

A.

acks=all, replication factor=2, min.insync.replicas=1

B.

acks=1, replication factor=3, min.insync.replicas=2

C.

acks=all, replication factor=3, min.insync.replicas=2

D.

acks=all, replication factor=3, min.insync.replicas=1

Full Access