Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

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

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

(What are two stateless operations in the Kafka Streams API?

Select two.)

Options:

A.

Reduce


B.

Join


C.

Filter


D.

GroupBy


Expert Solution
Questions # 2:

(You are experiencing low throughput from a Java producer.

Kafka producer metrics show a 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.

The producer is sending large batches of messages.


B.

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


C.

The producer code has an expensive callback function.


D.

Compression is enabled.


Expert Solution
Questions # 3:

You are working on a Kafka cluster with three nodes. You create a topic named orders with:

replication.factor = 3

min.insync.replicas = 2

acks = allWhat exception will be generated if two brokers are down due to network delay?

Options:

A.

NotEnoughReplicasException


B.

NetworkException


C.

NotCoordinatorException


D.

NotLeaderForPartitionException


Expert Solution
Questions # 4:

You need to explain the best reason to implement the consumer callback interface ConsumerRebalanceListener prior to a Consumer Group Rebalance.

Which statement is correct?

Options:

A.

Partitions assigned to a consumer may change.


B.

Previous log files are deleted.


C.

Offsets are compacted.


D.

Partition leaders may change.


Expert Solution
Questions # 5:

Where are source connector offsets stored?

Options:

A.

offset.storage.topic


B.

storage.offset.topic


C.

topic.offset.config


D.

offset, storage, partitions


Expert Solution
Questions # 6:

(A stream processing application tracks user activity in online shopping carts, including items added, removed, and ordered throughout the day for each user.

You need to capture data to identify possible periods of user inactivity.

Which type of Kafka Streams window should you use?)

Options:

A.

Session


B.

Hopping


C.

Tumbling


D.

Sliding


Expert Solution
Questions # 7:

You have a topic with four partitions. The application reads from it using two consumers in a single consumer group.

Processing is CPU-bound, and lag is increasing.

What should you do?

Options:

A.

Add more consumers to increase the level of parallelism of the processing.


B.

Add more partitions to the topic to increase the level of parallelism of the processing.


C.

Increase the max.poll.records property of consumers.


D.

Decrease the max.poll.records property of consumers.


Expert Solution
Questions # 8:

You create a topic named loT-Data with 10 partitions and replication factor of three.

A producer sends 1 MB messages compressed with Gzip.

Which two statements are true in this scenario?

(Select two.)

Options:

A.

Compression type will be stored in batch attributes.


B.

By default, compression is the producer’s responsibility.


C.

The message is already compressed so it will not be serialized.


D.

All compressed messages will be stored in the same topic partition.


Expert Solution
Questions # 9:

(You are designing a stream pipeline to monitor the real-time location of GPS trackers, where historical location data is not required.

Each event has:

• Key: trackerId

• Value: latitude, longitude

You need to ensure that the latest location for each tracker is always retained in the Kafka topic.

Which topic configuration parameter should you set?)

Options:

A.

cleanup.policy=compact


B.

retention.ms=infinite


C.

min.cleanable.dirty.ratio=-1


D.

retention.ms=0


Expert Solution
Questions # 10:

You need to configure a sink connector to write records that fail into a dead letter queue topic. Requirements:

Topic name: DLQ-Topic

Headers containing error context must be added to the messagesWhich three configuration parameters are necessary?(Select three.)

Options:

A.

errors.tolerance=all


B.

errors.deadletterqueue.topic.name=DLQ-Topic


C.

errors.deadletterqueue.context.headers.enable=true


D.

errors.tolerance=none


E.

errors.log.enable=true


F.

errors.log.include.messages=true


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