The Avant-garde Guide To CCDAK Test Preparation
we provide Exact Confluent CCDAK free practice exam which are the best for clearing CCDAK test, and to get certified by Confluent Confluent Certified Developer for Apache Kafka Certification Examination. The CCDAK Questions & Answers covers all the knowledge points of the real CCDAK exam. Crack your Confluent CCDAK Exam with latest dumps, guaranteed!
Free demo questions for Confluent CCDAK Exam Dumps Below:
NEW QUESTION 1
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
Answer: C
Explanation:
With SSL, messages will need to be encrypted and decrypted, by being first loaded into the JVM, so you lose the zero copy optimization. See more information herehttps://twitter.com/ijuma/status/1161303431501324293?s=09
NEW QUESTION 2
In Kafka Streams, by what value are internal topics prefixed by?
- A. tasks-<number>
- B. application.id
- C. group.id
- D. kafka-streams-
Answer: B
Explanation:
In Kafka Streams, the application.id is also the underlying group.id for your consumers, and the prefix for all internal topics (repartition and state)
NEW QUESTION 3
How do you create a topic named test with 3 partitions and 3 replicas using the Kafka CLI?
- 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
Answer: C
Explanation:
As of Kafka 2.3, the kafka-topics.sh command can take --bootstrap-server localhost:9092 as an argument. You could also use the (now deprecated) option of --zookeeper localhost:2181.
NEW QUESTION 4
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=all can't produce?
- A. 2
- B. 1
- C. 3
Answer: C
Explanation:
acks=all and min.insync.replicas=2 means we must have at least 2 brokers up for the partition to be available
NEW QUESTION 5
You are receiving orders from different customer in an "orders" topic with multiple partitions. Each message has the customer name as the key. There is a special customer named ABC that generates a lot of orders and you would like to reserve a partition exclusively for ABC. The rest of the message should be distributed among other partitions. How can this be achieved?
- A. Add metadata to the producer record
- B. Create a custom partitioner
- C. All messages with the same key will go the same partition, but the same partition may have messages with different key
- D. It is not possible to reserve
- E. Define a Kafka Broker routing rule
Answer: B
Explanation:
A Custom Partitioner allows you to easily customise how the partition number gets computed from a source message.
NEW QUESTION 6
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
Answer: C
Explanation:
retention.ms can be configured at topic level while creating topic or by altering topic. It shouldn't be set at the broker level (log.retention.ms) as this would impact all the topics in the cluster, not just the one we are interested in
NEW QUESTION 7
Your streams application is reading from an input topic that has 5 partitions. You run 5 instances of your application, each with num.streams.threads set to 5. How many stream tasks will be created and how many will be active?
- A. 5 created, 1 active
- B. 5 created, 5 active
- C. 25 created, 25 active
- D. 25 created, 5 active
Answer: D
Explanation:
One partition is assigned a thread, so only 5 will be active, and 25 threads (i.e. tasks) will be created
NEW QUESTION 8
An ecommerce wesbite sells some custom made goods. What's the natural way of modeling this data in Kafka streams?
- 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
Answer: B
Explanation:
Mostly-static data is modeled as a table whereas business transactions should be modeled as a stream.
NEW QUESTION 9
Which of the following is not an Avro primitive type?
- A. string
- B. long
- C. int
- D. date
- E. null
Answer: D
Explanation:
date is a logical type
NEW QUESTION 10
What is the disadvantage of request/response communication?
- A. Scalability
- B. Reliability
- C. Coupling
- D. Cost
Answer: C
Explanation:
Point-to-point (request-response) style will couple client to the server.
NEW QUESTION 11
You are using JDBC source connector to copy data from 2 tables to two Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?
- A. 6
- B. 1
- C. 2
- D. 3
Answer: C
Explanation:
we have two tables, so the max number of tasks is 2
NEW QUESTION 12
Your manager would like to have topic availability over consistency. Which setting do you need to change in order to enable that?
- A. compression.type
- B. unclean.leader.election.enable
- C. min.insync.replicas
Answer: B
Explanation:
unclean.leader.election.enable=true allows non ISR replicas to become leader, ensuring availability but losing consistency as data loss will occur
NEW QUESTION 13
There are two consumers C1 and C2 belonging to the same group G subscribed to topics T1 and T2. Each of the topics has 3 partitions. How will the partitions be assigned to consumers with Partition Assigner being Round Robin Assigner?
- A. C1 will be assigned partitions 0 and 2 from T1 and partition 1 from T2. C2 will have partition 1 from T1 and partitions 0 and 2 from T2.
- B. Two consumers cannot read from two topics at the same time
- C. C1 will be assigned partitions 0 and 1 from T1 and T2, C2 will be assigned partition 2 from T1 and T2.
- D. All consumers will read from all partitions
Answer: A
Explanation:
The correct option is the only one where the two consumers share an equal number of partitions amongst the two topics of three partitions. An interesting article to read ishttps://medium.com/@anyili0928/what-i-have-learned-from-kafka-partition-assignment- strategy-799fdf15d3ab
NEW QUESTION 14
What's is true about Kafka brokers and clients from version 0.10.2 onwards?
- 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
Answer: C
Explanation:
Kafka's new bidirectional client compatibility introduced in 0.10.2 allows this. Read more herehttps://www.confluent.io/blog/upgrading-apache-kafka-clients-just-got-easier/
NEW QUESTION 15
Which of the following setting increases the chance of batching for a Kafka Producer?
- A. Increase batch.size
- B. Increase message.max.bytes
- C. Increase the number of producer threads
- D. Increase linger.ms
Answer: D
Explanation:
linger.ms forces the producer to wait to send messages, hence increasing the chance of creating batches
NEW QUESTION 16
Which Kafka CLI should you use to consume from a topic?
- A. kafka-console-consumer
- B. kafka-topics
- C. kafka-console
- D. kafka-consumer-groups
Answer: A
Explanation:
Examplekafka-console-consumer --bootstrap-server 127.0.0.1:9092 --topic test --from- beginning
NEW QUESTION 17
What isn't an internal Kafka Connect topic?
- A. connect-status
- B. connect-offsets
- C. connect-configs
- D. connect-jars
Answer: D
Explanation:
connect-configs stores configurations, connect-status helps to elect leaders for connect, and connect-offsets store source offsets for source connectors
NEW QUESTION 18
......
P.S. Certleader now are offering 100% pass ensure CCDAK dumps! All CCDAK exam questions have been updated with correct answers: https://www.certleader.com/CCDAK-dumps.html (150 New Questions)