What data format isn't natively available with the Confluent REST Proxy?
A. avro
B. binary
C. protobuf
D. json
The kafka-console-consumer CLI, when used with the default options
A. uses a random group id
B. always uses the same group id
C. does not use a group id
How will you find out all the partitions without a leader?
A. kafka-topics.sh --broker-list localhost:9092 --describe --under-replicated-partitions
B. kafka-topics.sh --bootstrap-server localhost:2181 --describe --unavailable-partitions
C. kafka-topics.sh --zookeeper localhost:2181 --describe --unavailable-partitions
D. kafka-topics.sh --zookeeper localhost:2181 --describe --under-replicated-partitions
A topic receives all the orders for the products that are available on a commerce site. Two applications want to process all the messages independently - order fulfilment and monitoring. The topic has 4 partitions, how would you organise the consumers for optimal performance and resource usage?
A. Create 8 consumers in the same group with 4 consumers for each application
B. Create two consumers groups for two applications with 8 consumers in each
C. Create two consumer groups for two applications with 4 consumers in each
D. Create four consumers in the same group, one for each partition - two for fulfilment and two for monitoring
What is the risk of increasing max.in.flight.requests.per.connection while also enabling retries in a producer?
A. At least once delivery is not guaranteed
B. Message order not preserved
C. Reduce throughput
D. Less resilient
You are building a consumer application that processes events from a Kafka topic. What is the most important metric to monitor to ensure real-time processing?
A. UnderReplicatedPartitions
B. records-lag-max
C. MessagesInPerSec
D. BytesInPerSec
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
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
A topic has three replicas and you set min.insync.replicas to 2. If two out of three replicas are not available, what happens when a consume request is sent to broker?
A. Data will be returned from the remaining in-sync replica
B. An empty message will be returned
C. NotEnoughReplicasException will be returned
D. A new leader for the partition will be elected
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