Question 46
Your Kafka cluster has five brokers. The topic t1 on the cluster has two partitions, and it has replication.factor
= 4, min.insync.replicas = 3.
You want to have strong durability guarantees for messages written to topic t1.
If you configure a producer 'acks=all', how many brokers need to acknowledge a message before it is considered committed?
= 4, min.insync.replicas = 3.
You want to have strong durability guarantees for messages written to topic t1.
If you configure a producer 'acks=all', how many brokers need to acknowledge a message before it is considered committed?
Question 47
A stream processing application is tracking user activity in online shopping carts.
You want to identify periods of user inactivity.
Which type of Kafka Streams window should you use?
You want to identify periods of user inactivity.
Which type of Kafka Streams window should you use?
Question 48
Match the testing tool with the type of test it is typically used to perform.


Question 49
What information isn't stored inside of Zookeeper? (select two)
Question 50
A consumer wants to read messages from partitions 0 and 1 of a topic topic1. Code snippet is shown below.
consumer.subscribe(Arrays.asList("topic1"));
List<TopicPartition> pc = new ArrayList<>();
pc.add(new PartitionTopic("topic1", 0));
pc.add(new PartitionTopic("topic1", 1));
consumer.assign(pc);
consumer.subscribe(Arrays.asList("topic1"));
List<TopicPartition> pc = new ArrayList<>();
pc.add(new PartitionTopic("topic1", 0));
pc.add(new PartitionTopic("topic1", 1));
consumer.assign(pc);

