image


CCDAK Dumps CCDAK Braindumps CCDAK Real Questions CCDAK Practice Test

CCDAK Actual Questions


Confluent


CCDAK


Confluent Certified Developer for Apache Kafka


https://killexams.com/pass4sure/exam-detail/CCDAK


Question: 51


is KSQL ANSI SQL compliant?

  1. Yes

  2. 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

  1. 3888

  2. 443

  3. 2888

  4. 9092

  5. 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?

  1. Mount a persistent volume for your RocksDB

  2. Increase the number of partitions in your inputs topic

  3. Reduce the Streams caching property

  4. 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?

  1. Partition 5

  2. Any of the topic partitions

  3. The partition for the null key

  4. 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?

  1. 0

  2. 2

  3. 1

  4. 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?

  1. Call consumer.wakeUp() and catch a WakeUpException

  2. Call consumer.poll() in another thread

  3. 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?

  1. 3

  2. 4

  3. 2

  4. 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?

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

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

  3. The broker will crash

  4. 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?

  1. Increase fetch.max.wait

  2. Increase fetch.max.bytes

  3. Decrease fetch.max.bytes

  4. Decrease fetch.min.bytes

  5. Increase fetch.min.bytes

Answer: E Explanation:

This will allow consumers to wait and receive more bytes in each fetch request.


image

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


$FWXDO ([DP 4XHVWLRQV .LOOH[DPV FRP SURYLGHV DFWXDO H[DP TXHVWLRQV WKDW DUH H[SHULHQFHG LQ WHVW FHQWHUV 7KHVH TXHVWLRQV DUH XSGDWHG UHJXODUO\ WR HQVXUH WKH\ DUH XS WR GDWH DQG UHOHYDQW WR WKH ODWHVW H[DP V\OODEXV %\ VWXG\LQJ WKHVH DFWXDO TXHVWLRQV FDQGLGDWHV FDQ IDPLOLDUL]H WKHPVHOYHV ZLWK WKH FRQWHQW DQG IRUPDW RI WKH UHDO H[DP


([DP 'XPSV .LOOH[DPV FRP RIIHUV H[DP GXPSV LQ 3') IRUPDW 7KHVH GXPSV FRQWDLQ D FRPSUHKHQVLYH FROOHFWLRQ RI TXHVWLRQV DQG DQVZHUV WKDW FRYHU WKH H[DP WRSLFV %\ XVLQJ WKHVH GXPSV FDQGLGDWHV FDQ HQKDQFH WKHLU NQRZOHGJH DQG LPSURYH WKHLU FKDQFHV RI VXFFHVV LQ WKH FHUWLILFDWLRQ H[DP


3UDFWLFH 7HVWV .LOOH[DPV FRP SURYLGHV SUDFWLFH WHVWV WKURXJK WKHLU GHVNWRS 9&( H[DP VLPXODWRU DQG RQOLQH WHVW HQJLQH 7KHVH SUDFWLFH WHVWV VLPXODWH WKH UHDO H[DP HQYLURQPHQW DQG KHOS FDQGLGDWHV DVVHVV WKHLU UHDGLQHVV IRU WKH DFWXDO H[DP 7KH SUDFWLFH WHVWV FRYHU D ZLGH UDQJH RI TXHVWLRQV DQG HQDEOH FDQGLGDWHV WR LGHQWLI\ WKHLU VWUHQJWKV DQG ZHDNQHVVHV


*XDUDQWHHG 6XFFHVV .LOOH[DPV FRP RIIHUV D VXFFHVV JXDUDQWHH ZLWK WKHLU H[DP GXPSV 7KH\ FODLP WKDW E\ XVLQJ WKHLU PDWHULDOV FDQGLGDWHV ZLOO SDVV WKHLU H[DPV RQ WKH ILUVW DWWHPSW RU WKH\ ZLOO UHIXQG WKH SXUFKDVH SULFH 7KLV JXDUDQWHH SURYLGHV DVVXUDQFH DQG FRQILGHQFH WR LQGLYLGXDOV SUHSDULQJ IRU FHUWLILFDWLRQ H[DPV


8SGDWHG &RQWHQW .LOOH[DPV FRP UHJXODUO\ XSGDWHV LWV TXHVWLRQ EDQN DQG H[DP GXPSV WR HQVXUH WKDW WKH\ DUH FXUUHQW DQG UHIOHFW WKH ODWHVW FKDQJHV LQ WKH H[DP V\OODEXV 7KLV KHOSV FDQGLGDWHV VWD\ XS WR GDWH ZLWK WKH H[DP FRQWHQW DQG LQFUHDVHV WKHLU FKDQFHV RI VXFFHVV


7HFKQLFDO 6XSSRUW .LOOH[DPV FRP SURYLGHV IUHH [ WHFKQLFDO VXSSRUW WR DVVLVW FDQGLGDWHV ZLWK DQ\ TXHULHV RU LVVXHV WKH\ PD\ HQFRXQWHU ZKLOH XVLQJ WKHLU VHUYLFHV 7KHLU FHUWLILHG H[SHUWV DUH DYDLODEOH WR SURYLGH JXLGDQFH DQG KHOS FDQGLGDWHV WKURXJKRXW WKHLU H[DP SUHSDUDWLRQ MRXUQH\


'PS .PSF FYBNT WJTJU IUUQT LJMMFYBNT DPN WFOEPST FYBN MJTU

.LOO \RXU H[DP DW )LUVW $WWHPSW *XDUDQWHHG