KatInterview

Walking Through a Production Data Pipeline You Own

System DesignModel answer
MediumModel answerSystem Designdata-pipelinearchitecture-tradeoffsbackfill

Last updated

Present one real data pipeline you built or reworked, linking requirements to design choices, rejected options, replay and backfill handling, a hard failure, and what you would change.

Task

Pick one production data pipeline that you personally designed or significantly reworked, and present it as you would in a technical screen. Cover the architecture, the requirements that shaped it, the technologies you chose and the ones you passed over, one hard technical problem, and the lessons from running it.

A list of tools is not an answer. For every major decision, show the constraint behind it, the evidence you used, and the result. If confidentiality limits what you can share, use anonymized names and scale ranges. Do not invent facts.

Ground rules

  • Stick to one coherent pipeline, not a mix of unrelated projects.
  • Separate the decisions you owned from those you inherited or that the team made.
  • Quantify requirements and outcomes only when you can defend the numbers. Otherwise describe the constraint qualitatively.
  • Go beyond the happy path: address correctness, reliability, cost, security, and maintainability.
  • Include at least one alternative you rejected and one decision you would revisit today.

Questions worth asking first

  • Should I emphasize architecture, incident response, or team leadership?
  • How deep should the implementation detail go, given the time?
  • May I sketch the design, and should it show the original state, the current state, or both?
  • Is anonymized detail acceptable?
  • Which matters most to you: latency, scale, correctness, cost, or developer velocity?

Part 1: Context and requirements

Describe who uses the pipeline and what decision it supports, what existed before, what your role was, and the measurable functional and non-functional requirements.

Part 2: Architecture and trade-offs

Follow a single record from its source through ingestion, storage, transformation, quality checks, orchestration, and serving. For each significant technology or pattern, compare it with at least one realistic alternative.

Part 3: Deep dive on a technical problem

Describe one specific failure or constraint. Explain how you diagnosed it, the options you weighed, the fix, how you validated it, how you rolled it out, and the measured outcome. Finish with what you would do differently now.

Hints

Hint 1

Choose a small set of requirements that make the trade-offs unavoidable, such as freshness target, late-arriving data window, and correctness tolerance. A clear workload shape and objective beat a big unsupported number.

Hint 2

State the decision criterion before naming the tool, then name the alternative you rejected and why. Make replay, idempotency, schema evolution, and failure isolation visible in your diagram.

Hint 3

For the deep dive, pick a problem whose resolution shows judgment rather than effort. Separate the quick mitigation from the lasting fix, and describe how you validated it (shadow runs, reconciliation) before cutover.