Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Kafka & Streaming - Practice Tests
12 students

Kafka & Streaming - Practice Tests

Kafka architecture, producers, consumers, Kafka Streams, Schema Registry, and production operations.
Created byTech Coach
Last updated 6/2026
English

What you'll learn

  • Explain Kafka's architecture: brokers, partitions, replication, ISR, consumer groups, offsets, and delivery guarantees with production-level precision.
  • Configure producers and consumers correctly: acks, idempotence, transactions, serialisation, offset management, and consumer group rebalancing.
  • Build and operate Kafka Streams and ksqlDB pipelines: stateful operations, windowing, state stores, exactly-once semantics, and scaling.
  • Diagnose and resolve production Kafka incidents: under-replicated partitions, consumer lag, ISR oscillation, security misconfigurations, and more.

Included in This Course

300 questions
  • Kafka Architecture: Brokers, Topics, Partitions & Consumers50 questions
  • Producers, Consumers & Consumer Groups50 questions
  • Kafka Internals, Replication, Offsets & Delivery Guarantees50 questions
  • Kafka Streams & ksqlDB50 questions
  • Schema Registry, Connect & Real-World Patterns50 questions
  • Performance, Security & Operations50 questions

Description

Apache Kafka is one of the most in-demand skills in data and backend engineering, and one of the most technically deep. This course gives you 300 practice questions across six tests covering the full range of Kafka knowledge, from beginner architecture through to expert-level performance tuning, security, and production operations.

Tests 1 and 2 build the foundation. Test 1 covers Kafka architecture in depth: brokers, clusters, ZooKeeper and KRaft, topics, partitions, replication, ISR, the high watermark, consumer groups, offsets, and the internal __consumer_offsets topic. Test 2 covers the producer and consumer APIs in depth: required configuration, send patterns, callbacks, interceptors, delivery timeout, buffer management, partition assignment strategies, consumer group rebalancing, offset management, serialisation, deserialisation, and Schema Registry basics with Avro.

Tests 3 and 4 move into advanced territory. Test 3 covers Kafka internals: leader epoch, log truncation, the high watermark, unclean leader election, ISR oscillation, the two-phase commit protocol for Kafka transactions, idempotent producers, exactly-once semantics, log compaction internals, zero-copy I/O, request purgatory, and the JoinGroup and SyncGroup consumer group protocol. Test 4 covers Kafka Streams and ksqlDB: KStream, KTable, stream-table duality, GlobalKTable, stateful aggregations, RocksDB state stores, interactive queries, windowing (tumbling, sliding, session), watermarks, suppress(), fault tolerance via changelog topics, ksqlDB push and pull queries, and headless mode deployment.

Tests 5 and 6 are expert-level. Test 5 covers Schema Registry (wire format, subject naming, compatibility modes, schema evolution, Karapace, data contracts), Kafka Connect (architecture, distributed mode, Single Message Transforms, exactly-once sinks, dead letter queues), Change Data Capture with Debezium (log-based CDC, snapshot modes, outbox pattern, binlog expiry), and real-world streaming patterns (event sourcing, CQRS, saga choreography, MirrorMaker 2, consumer-driven contract testing). Test 6 covers production Kafka at scale: network and I/O thread diagnosis, producer and consumer throughput optimisation, JVM tuning, tiered storage, TLS and SASL_SSL security, ACL best practices, multi-tenancy with quotas, Prometheus monitoring and alerting thresholds, disaster recovery, rolling restarts, partition rebalancing, Cruise Control, and troubleshooting under-replicated partitions, TimeoutExceptions, group coordinator overload, ISR oscillation, and controller split-brain.

Every question explains not just the correct answer but exactly why each of the three wrong options fails, with code examples, configuration snippets, and production engineering context throughout.

Whether you are preparing for a senior engineering interview, designing a production Kafka platform, or trying to understand and fix issues in an existing streaming system, this course is built for that purpose.

Who this course is for:

  • This course is for data engineers, backend engineers, platform engineers, and site reliability engineers who work with Kafka or are preparing to. It covers six tests and 300 questions across the full spectrum of Kafka knowledge, from beginner architecture through to expert-level operations and security. Tests 1 and 2 are for engineers who are new to Kafka or want to verify their foundations are solid. Test 1 covers Kafka architecture in depth: brokers, clusters, ZooKeeper and KRaft, topics, partitions, replication, ISR, the high watermark, consumer groups, offsets, and the __consumer_offsets topic. Test 2 deepens the producer and consumer APIs: required configuration, send patterns (fire-and-forget, synchronous, asynchronous), callbacks, interceptors, delivery timeout, buffer management, partition assignment strategies, rebalancing, offset management, serialisation and deserialisation, and the fundamentals of Avro and Schema Registry. Tests 3 and 4 move into advanced territory. Test 3 covers Kafka internals in depth: leader epoch, log truncation, the high watermark, unclean leader election, ISR oscillation, the two-phase commit protocol for Kafka transactions, exactly-once semantics, idempotent producers, log compaction internals, the JoinGroup and SyncGroup consumer group protocol, zero-copy I/O, and the request purgatory. Test 4 covers Kafka Streams and ksqlDB: KStream versus KTable, stream-table duality, GlobalKTable, stateful aggregations, state stores, RocksDB, interactive queries, windowing (tumbling, sliding, session), watermarks, suppress(), fault tolerance via changelog topics, ksqlDB push and pull queries, CTAS, and headless mode. Tests 5 and 6 are expert-level. Test 5 covers Schema Registry (wire format, subject naming strategies, compatibility modes, schema evolution, Karapace, data contracts), Kafka Connect (architecture, distributed mode, SMTs, exactly-once sinks, DLQ configuration, worker rebalancing), Change Data Capture with Debezium (log-based CDC, snapshot modes, outbox pattern, binlog expiry recovery), and real-world streaming patterns (event sourcing, CQRS, saga choreography, MirrorMaker 2, event-driven architecture trade-offs, consumer-driven contract testing). Test 6 covers production Kafka at scale: network and I/O thread diagnosis, producer and consumer throughput optimisation, JVM tuning, tiered storage, TLS and SASL_SSL security, ACL best practices, multi-tenancy, Prometheus monitoring and alerting, disaster recovery (RPO and RTO), rolling restarts, partition rebalancing, and troubleshooting under-replicated partitions, TimeoutExceptions, group coordinator overload, ISR oscillation, and split-brain. If you are preparing for a senior engineering interview, building a production Kafka platform, or trying to debug and improve an existing streaming system, this course covers the material you need to know.