DE tool

Kafka

Streaming, partitioning, consumer-group debugging. Open-ended prompts; your written answer gets senior-reviewer feedback on the coached tier.

Easy

1 scenario
EZ

Slow consumer group after adding an ML enricher

~8 min

Your team runs a Kafka consumer group enriching payment events with fraud signals — about 2M events/day across 12 partitions and 6 consumer instances. Last sprint someone added a new ML model that takes ~80ms per event (up from ~5ms). Consumer- group lag is now spiking to 30+ minutes during peak. The on-call DE just paged you to figure it out.

Unlock from ₹1,099 →
kafkaconsumer-groupslag

Medium

2 scenarios
MD

Partition strategy for a 200-tenant event stream

~15 min

You're designing the Kafka topic strategy for a new multi-tenant analytics product. ~200 tenants, traffic ranges from 1k events/day for the smallest to 5M events/day for the biggest. Each tenant's data must stay isolated for compliance. Two senior engineers are arguing in the design doc — one wants one topic per tenant, the other wants a single topic partitioned by `tenant_id`. Both are bad ideas in different ways. What's your actual design?

Unlock from ₹1,099 →
kafkapartitioningmulti-tenancy
MD

Exactly-once vs at-least-once for a payments pipeline

~15 min

Your team is building a payments-events pipeline through Kafka. Money is involved. The engineering manager says "we need exactly-once delivery — anything less is unacceptable." The tech lead says "at-least-once with idempotent consumers is the actual production move — Kafka's 'exactly-once' is more or less a marketing term." Both have a point. You've been brought in to make the call and write up the design.

Unlock from ₹1,099 →
kafkaexactly-onceidempotence

Hard

2 scenarios
HD

Schema evolution mid-flight without a downtime window

~25 min

Production Kafka cluster, AVRO with Confluent Schema Registry. The product team needs to add a required field settlement_currency to the order_placed event, retroactively required across all consumers. The problem: some consumers are stale-but-running, some are mid-deploy, some won't deploy for 2 weeks (frozen for a release). Marketing wants this field live by next Tuesday. You can't take downtime — the cluster handles fraud detection 24/7. Design the rollout.

Unlock from ₹1,099 →
kafkaavroschema-registry
HD

3 AM page — hot-partition incident, 20 minutes to PR fire

~25 min

3 AM page. Your fraud-detection consumer group is lagging — but only on ONE consumer instance. The other 11 are idle. You have 12 partitions, 12 consumers. Lag on partition 7 is climbing fast (3M events behind and growing); other partitions are at 0. The CEO of the affected merchant is on Twitter complaining about transaction delays. You have ~20 minutes before this becomes a PR incident. Diagnose, then walk through what you'd actually do.

Unlock from ₹1,099 →
kafkaincident-responsehot-partitions