Command Palette

Search for a command to run...

Hectal
PHASE 17Advanced ~5 min· topic 4 of 5

Topic 17.4

Senior and Staff Questions (51–65)

In one line

Fifteen failure-driven questions: producer timeouts after acceptance, crashes before commit, growing lag, a partition with half the traffic, 15-minute batches, 95% full disks, shrinking ISR, broker death during leadership, AZ survival, global ordering, per-customer ordering, a 30% customer, exactly-once payments, atomic DB + Kafka writes, and ZooKeeper-to-KRaft migration.

0/5 · 0%

Think of it like this

A senior pilot's check ride, where the examiner fails an engine at the worst moment and watches how you reason.

Key ideas

  1. 01

    Answer shape: precise mechanism, what's lost or duplicated, how you'd detect it, and the configuration or design that prevents it.

Explain it without notes

01

51. A producer receives a timeout after the broker accepted the record. What happens?

02

52. A consumer processes a message successfully but crashes before committing the offset. What happens?

03

53. Consumer lag is growing continuously. How do you diagnose it?

04

54. One partition is receiving 50% of all traffic. What do you do?

05

55. One consumer takes 15 minutes to process a batch. What happens?

06

56. A broker's disk is 95% full. What do you do?

07

57. The ISR keeps shrinking. What do you investigate?

08

58. A broker dies while leading partitions. What happens?

09

59. You need to survive one AZ failure. How do you configure Kafka?

10

60. You need global ordering. Can Kafka provide it at scale?

11

61. You need strict ordering per customer. How do you partition?

12

62. One customer generates 30% of traffic. How do you solve the hot partition?

13

63. You need exactly-once payment processing. What does Kafka guarantee and what must the application guarantee?

14

64. A PostgreSQL update and a Kafka publish must be atomic. How do you solve it?

15

65. How would you migrate from a ZooKeeper-era cluster to KRaft?

Done when you can

  • I can answer all 15 staff-level questions with mechanisms, detection and prevention.