Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Confluent CCDAK Exam - Topic 1 Question 10 Discussion

You are receiving orders from different customer in an "orders" topic with multiple partitions. Each message has the customer name as the key. There is a special customer named ABC that generates a lot of orders and you would like to reserve a partition exclusively for ABC. The rest of the message should be distributed among other partitions. How can this be achieved?
B) Create a custom partitioner
A) Add metadata to the producer record
C) All messages with the same key will go the same partition, but the same partition may have messages with different keys. It is not possible to reserve
D) Define a Kafka Broker routing rule

Confluent CCDAK Exam - Topic 1 Question 10 Discussion

Actual exam question for Confluent's CCDAK exam
Question #: 10
Topic #: 1
[All CCDAK Questions]

You are receiving orders from different customer in an "orders" topic with multiple partitions. Each message has the customer name as the key. There is a special customer named ABC that generates a lot of orders and you would like to reserve a partition exclusively for ABC. The rest of the message should be distributed among other partitions. How can this be achieved?

Show Suggested Answer Hide Answer
Suggested Answer: B

A Custom Partitioner allows you to easily customise how the partition number gets computed from a source message.


Contribute your Thoughts:

0/2000 characters
Corrina
7 months ago
Adding metadata won't solve the problem, B is the best choice.
upvoted 0 times
...
Domingo
8 months ago
C is misleading, we can reserve a partition for ABC.
upvoted 0 times
...
Dick
8 months ago
Wait, can we really reserve a partition like that?
upvoted 0 times
...
Novella
8 months ago
Definitely agree with that!
upvoted 0 times
...
Kayleigh
8 months ago
I think a custom partitioner is the way to go!
upvoted 0 times
...
Chi
8 months ago
I think we practiced a similar question where we had to manage partitions based on keys. Creating a custom partitioner sounds familiar, so I lean towards B as well.
upvoted 0 times
...
Aileen
8 months ago
I'm not entirely sure, but I feel like option C is saying that we can't really reserve a partition for ABC. That seems a bit limiting, though.
upvoted 0 times
...
Maurine
8 months ago
I remember we talked about custom partitioners in class. I think option B might be the right choice since it allows us to control how messages are distributed.
upvoted 0 times
...
Laurel
8 months ago
I vaguely recall something about metadata and producers, but I don't think that would help us reserve a partition. So, I guess that rules out option A for me.
upvoted 0 times
...
Melissia
8 months ago
Hmm, this looks like a tricky one. I'll need to carefully examine the table structure and the SQL statements to determine how the view and table changes might impact the final code block.
upvoted 0 times
...
Van
8 months ago
Okay, I've got this. The key is to identify the common characteristics of poorly functioning teams and then find the one that doesn't fit.
upvoted 0 times
...
Javier
9 months ago
Multi-Account Onboarding sounds familiar, but I don't see how that fits here. It seems like this problem is more about restricting access specifically.
upvoted 0 times
...
Carman
9 months ago
I think the key here is the concept of control versus significant influence. OP is a subsidiary since LM owns 55%, but QR and ST are more complicated.
upvoted 0 times
...

Save Cancel