Your streams application is reading from an input topic that has 5 partitions. You run 5 instances of your application, each with num.streams.threads set to 5. How many stream tasks will be created and how many will be active?
Suggested Answer: D
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
One partition is assigned a thread, so only 5 will be active, and 25 threads (i.e. tasks) will be created
11 comments · newest first
BE
Beatriz
11 months ago
I thought it would be more than 5 active with 5 instances.
AI
Aileen
12 months ago
Definitely B, 5 created and 5 active!
JA
Jaime
12 months ago
Wait, how can there be 25 tasks? That seems off.
TR
Trina
12 months ago
I think it's actually 25 created, but only 5 active.
KI
Kimberlie
1 year ago
5 tasks created, 5 active!
DO
Dorethea
1 year ago
I thought that if there are 5 partitions and 5 threads, it would mean 25 tasks in total. But I’m not sure if all of them would be active at the same time.
DO
Domingo
1 year ago
I practiced a similar question, and I think each instance can handle one task per partition, so maybe 5 active? That feels right, but I’m a bit confused.
HA
Hailey
1 year ago
I remember that the number of stream tasks is based on the number of partitions, so I think there will be 5 created. But I'm not sure about how many will be active with 5 instances running.
MA
Mabel
1 year ago
I feel like the answer is D, 25 created and 5 active, because the threads multiply, but only one thread can work on each partition at a time.
BR
Bronwyn
1 year ago
Ah, I remember learning about this in class. The xinetd config files are stored in a specific directory, so I just need to recall the full path.
RO
Rory
1 year ago
I feel pretty confident about the parent-child component event handling, but the other options are making me second-guess myself. I'll need to carefully review each choice.