Pass the Confluent Confluent Certified Developer CCDAK Questions and answers with CertsForce

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

Which is true about topic compaction?

Options:

A.

When a client produces a new event with an existing key, the old value is overwritten with the new value in the compacted log segment.


B.

When a client produces a new event with an existing key, the broker immediately deletes the offset of the existing event.


C.

Topic compaction does not remove old events; instead, when clients consume events from a compacted topic, they store events in a hashmap that maintains the latest value.


D.

Compaction will keep exactly one message per key after compaction of inactive log segments.


Expert Solution
Questions # 2:

Your Kafka cluster has five brokers. The topic t1 on the cluster has:

    Two partitions

    Replication factor = 4

    min.insync.replicas = 3You need strong durability guarantees for messages written to topic t1.You configure a producer acks=all and all the replicas for t1 are in-sync.How many brokers need to acknowledge a message before it is considered committed?

Options:

A.

2


B.

3


C.

4


D.

5


Expert Solution
Questions # 3:

You have a Kafka consumer in production actively reading from a critical topic.

You need to update the offset of your consumer to start reading from the beginning of the topic.

Which action should you take?

Options:

A.

Temporarily configure the topic’s retention.ms parameter to 0 to empty the topic.


B.

Start a new consumer application with the same consumer group id.


C.

Update the consumer configuration by setting auto.offset.reset=earliest.


D.

Update the consumer group’s offset to the earliest position using the kafka-consumer-groups CLI tool.


Expert Solution
Questions # 4:

You want to connect with username and password to a secured Kafka cluster that has SSL encryption.

Which properties must your client include?

Options:

A.

security.protocol=SASL_SSL

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myUser' password='myPassword';


B.

security.protocol=SSL

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myUser' password='myPassword';


C.

security.protocol=SASL_PLAINTEXT

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myUser' password='myPassword';


D.

security.protocol=PLAINTEXT

sasl.jaas.config=org.apache.kafka.common.security.ssl.TlsLoginModule required username='myUser' password='myPassword';


Expert Solution
Questions # 5:

Which two producer exceptions are examples of the class RetriableException? (Select two.)

Options:

A.

LeaderNotAvailableException


B.

RecordTooLargeException


C.

AuthorizationException


D.

NotEnoughReplicasException


Expert Solution
Questions # 6:

Match the topic configuration setting with the reason the setting affects topic durability.

(You are given settings like unclean.leader.election.enable=false, replication.factor, min.insync.replicas=2)

Question # 6


Expert Solution
Questions # 7:

You need to set alerts on key broker metrics to trigger notifications when the cluster is unhealthy.

Which are three minimum broker metrics to monitor?

(Select three.)

Options:

A.

kafka.controller:type=KafkaController,name=TopicsToDeleteCount


B.

kafka.controller:type=KafkaController,name=OfflinePartitionsCount


C.

kafka.controller:type=KafkaController,name=ActiveControllerCount


D.

kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec


E.

kafka.controller:type=KafkaController,name=LastCommittedRecordOffset


Expert Solution
Questions # 8:

What are two examples of performance metrics?

(Select two.)

Options:

A.

fetch-rate


B.

Number of active users


C.

total-login-attempts


D.

incoming-byte-rate


E.

Number of active user sessions


F.

Time of last failed login


Expert Solution
Questions # 9:

Which two statements are correct when assigning partitions to the consumers in a consumer group using the assign() API?

(Select two.)

Options:

A.

It is mandatory to subscribe to a topic before calling assign() to assign partitions.


B.

The consumer chooses which partition to read without any assignment from brokers.


C.

The consumer group will not be rebalanced if a consumer leaves the group.


D.

All topics must have the same number of partitions to use assign() API.


Expert Solution
Questions # 10:

You are experiencing low throughput from a Java producer.

Metrics show low I/O thread ratio and low I/O thread wait ratio.

What is the most likely cause of the slow producer performance?

Options:

A.

Compression is enabled.


B.

The producer is sending large batches of messages.


C.

There is a bad data link layer (layer 2) connection from the producer to the cluster.


D.

The producer code has an expensive callback function.


Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions