CCDAK Practice Exam 1

https://learning.datacouch.io/course/ccdak-practice-tests?previouspage=home#/course/3280285000000183032/attend/section/3280285000000183078/lesson/3280285000000183108

References

Flashcards

Which of the following is the correct command for creating a topic foo with 3 partitions and with a replication factor of 3?

Which class is used to create a Producer in kafka:

What happens when a broker is brought down for an upgrade and the topic has no replication enabled i.e. 1 copy only.

Does KSQL support indexing?:: No

Which property is used to specify brokers for the initial connection in kafka:

On our development cluster we have set auto.create.topics.enable to true. We have just created a new topic called “platinumcustomers”. What will be replication factor for this topic

Kafka platform is not well suited for

Which property is used to specify compression type:

On our development cluster we have set auto.create.topics.enable to true. We have just created a new topic called “goldcustomers”.How many partitions will the topic have

Which of the following are not part of the Kafka Ecosystem? Choose Two

Which of the following are invalid compression types to be specified in Kafka, Choose Two:

Which setting in the Kafka Cluster Configuration decides if automatic creation of topic is allowed or not allowed

The non-Java clients are based on the following library which provides consistent APIs & semantics, high performance & high quality clients in various programming languages

Which property is used to specify the datatype i.e. Class used to serialize the key for the key in a kafka message:

While running the following two commands the second command does not go through and throws an error. What could be the root cause of the error:
$> kafka-topics --zookeeper zk:port --create --topic sometopic --partitions 6 --replication-factor 3
$> kafka-topics --zookeeper zk:port --alter --topic sometopic --partitions 2

Are worker processes of Kafka Connect managed by Kafka?:: False

Which property is used to specify the datatype i.e. Class used to serialize the value for the value in a kafka message:

While running the following two commands on our development Kafka Cluster with all default settings we see an extremely strange behavior:
$> kafka-topics --zookeeper zk:port --delete --topic sometopic
$> kafka-topics --zookeeper zk:port --list
After running second command we still see that sometopic is existing and hasn’t been deleted. What could be the potential reason

Following are the main storage and messaging components of the Kafka cluster

When writing a Kafka Producer the compression.type is set to snappy. What does this imply:

What is the default size of a log segment i.e. log.segment.bytes

True or False: Broker, Producer, and Consumer software works the same on physical machines, VMs, Docker containers i.e. the broker, producer and consumer are agnostic to running on physical machines, VMs and Dockers.:: True

True or False: Key serializer must be used even if you do not intend to use keys:: True

What is the default period of time for log segment files to be rolled i.e. log.roll.hours

True or False: Keys and Values in a kafka message have to be of the same type:: False

True or False: Compression in Kafka is enabled on per topic basis:: False

Client Authentication can be done using which two protocols

__________________ is a concept that allows breaking up data, so that there is no need for Consumers to parse the data that they do not want or need to see.

True or False: We can have one producer compressing the messages and another one not compressing messages both writing to the same topic:: True

Which of the following best describes Kafka Connect?

Following partitioner is used when there is no key specified.

In a Kafka Produce program how do you ensure Producer will not wait for any acknowledgement from the server:

Which of the following is not a characteristic or benefit of Kafka Connect?

Following partitioner is the default partitioner when the key is specified.

In a Kafka Produce program how do you ensure Producer will wait until the leader has written the record to its local log:

Which component of Kafka Connect would be considered capable of reading data from external data stores such as databases

True or False: Hashpartitioner will place all messages with the same value on a single partition.:: False

In a Kafka Produce program how do you ensure Producer will wait until all in-sync replicas have acknowledged receipt of the record:

Which component of Kafka Connect would be considered capable of pulling data from a Kafka topic and write it to an external application such as HDFS

REST server allows users to send Producer and Consumer requests to the cluster using which protocol

What is the best practice to handle transient failures if acks is a value other than 0:

Which component related to Kafka Connect is a repository for Connectors, Transformations and convertors for Kafka Connect

The following is intended to allow customers to add Kafka to their IoT architecture to enable stream processing?

What is the difference between KafkaProducer class and ProducerRecord class?

Where does Kafka Connect run

True or False: Retention policies for messages can be configured on a topic level:: True

What should be the configurations looking like for High Throughput for batching:

What does Offset mean or correspond to for the Kafka Connector Source for a file input?

Consumer Offset are stored in

What should be the configurations looking like for Low Latency for batching:

Which of the below components of Kafka support Exactly Once Semantic? (More than one option is correct)

How do we configure rack awareness in Kafka?

How many modes exist in Kafka Connect? (Choose 2)

How does Replicator solve the problem of infinite replication loop?

How can we ensure that the load balancer of Rest proxy binds a User’s session to a specific instance?

Which is considered as the best format to work with Kafka?

Which factors are considered while deciding the task.max for Kafka connector? (Choose any three)

What is the default size of a message in Kafka?

Which of the below options are recommended for Zookeeper?

How many max partitions are recommended in a broker?

How much JVM memory is sufficient for Broker JVM in a typical deployment?

Which filesystem is recommended for deploying Kafka clusters?

Which component is responsible for checking the liveness of Consumers?

Where does Kafka store Consumer offsets?