CCDAK Dumps CCDAK Braindumps CCDAK Real Questions CCDAK Practice Test
CCDAK Actual Questions
Confluent Certified Developer for Apache Kafka
https://killexams.com/pass4sure/exam-detail/CCDAK
Question: 51
is KSQL ANSI SQL compliant?
Yes
No
Answer: B Explanation:
KSQL is not ANSI SQL compliant, for now there are no defined standards on streaming SQL languages
Question: 52
Question: 53
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
3888
443
2888
9092
80
Answer: A,B,D Explanation:
2181 – client port, 2888 – peer port, 3888 – leader port
Question: 54
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?
Mount a persistent volume for your RocksDB
Increase the number of partitions in your inputs topic
Reduce the Streams caching property
Increase the number of Streams threads
Answer: A Explanation:
Although any Kafka Streams application is stateless as the state is stored in Kafka, it can take a while and lots of resources to recover the state from Kafka. In order to speed up recovery, it is advised to store the Kafka Streams state on a persistent volume, so that only the missing part of the state needs to be recovered.
Question: 55
A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?
Partition 5
Any of the topic partitions
The partition for the null key
Partition 0
Answer: A Explanation:
Message with no keys will be stored with round-robin strategy among partitions.
Question: 56
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?
0
2
1
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
Question: 57
How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?
Call consumer.wakeUp() and catch a WakeUpException
Call consumer.poll() in another thread
Kill the consumer thread
Answer: A
Explanation:
See https://stackoverflow.com/a/37748336/3019499
Question: 58
A Zookeeper ensemble contains 5 servers .
What is the maximum number of servers that can go missing and the ensemble still run?
3
4
2
1
Answer: C Explanation:
majority consists of 3 zk nodes for 5 nodes zk cluster, so 2 can fail
Question: 59
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?
The broker will start, and other topics will also be deleted as the broker data on the disk got deleted
The broker will start, and won’t be online until all the data it needs to have is replicated from other leaders
The broker will crash
The broker will start, and won’t have any data. If the broker comes leader, we have a data loss
Answer: B Explanation:
Kafka replication mechanism makes it resilient to the scenarios where the broker lose data on disk, but can recover from replicating from other brokers. This makes Kafka amazing!
Question: 60
In the Kafka consumer metrics it is observed that fetch-rate is very high and each fetch is small . What steps will you take to increase throughput?
Increase fetch.max.wait
Increase fetch.max.bytes
Decrease fetch.max.bytes
Decrease fetch.min.bytes
Increase fetch.min.bytes
Answer: E Explanation:
This will allow consumers to wait and receive more bytes in each fetch request.
6$03/( 48(67,216
7KHVH TXHVWLRQV DUH IRU GHPR SXUSRVH RQO\ )XOO YHUVLRQ LV XS WR GDWH DQG FRQWDLQV DFWXDO TXHVWLRQV DQG DQVZHUV
.LOOH[DPV FRP LV DQ RQOLQH SODWIRUP WKDW RIIHUV D ZLGH UDQJH RI VHUYLFHV UHODWHG WR FHUWLILFDWLRQ H[DP SUHSDUDWLRQ 7KH SODWIRUP SURYLGHV DFWXDO TXHVWLRQV H[DP GXPSV DQG SUDFWLFH WHVWV WR KHOS LQGLYLGXDOV SUHSDUH IRU YDULRXV FHUWLILFDWLRQ H[DPV ZLWK FRQILGHQFH +HUH DUH VRPH NH\ IHDWXUHV DQG VHUYLFHV RIIHUHG E\ .LOOH[DPV FRP
'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU
.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG