144 Data Pipeline Interview Questions for Data Engineers

20 real pipeline design questions from data engineer loops, 1 per company, from Amazon, Netflix, Google, Disney, PayPal, Fidelity, Walmart and HelloFresh plus 12 other companies. Each sits on the live design canvas with a worked walkthrough and the guarantee its design depends on.

Last updated: Proudly published by: Jeff WahlVerified against 144 live pipeline design problems

The pipeline design round gives you billions of events a day and a freshness SLA. The consumer cannot tolerate double-counting, and you're expected to put the end-to-end system on a whiteboard. The boxes matter less than whether you reason out loud about durability and idempotency under replay, and about what happens when the upstream dies on a holiday. These are 20 questions from real data engineer loops, 1 per company, from Amazon, Netflix, Google, Disney, PayPal, Fidelity, Walmart, HelloFresh, Epic and dbt Labs plus 10 others, ordered easy to hard.

Design them here on a canvas that mirrors the round, or open any question's full problem page for the worked walkthrough. The full catalog of 144 pipeline problems continues from there.

20
questions solved on this page
144
pipeline problems in the full catalog
20
companies, 1 question each
281
employers represented in the catalog

What actually comes up in pipeline design interviews

Computed from the 144 pipeline design questions by concept on this site, across the 35 employers they were reported from. Percentages are the share of those problems using each concept, so they overlap: a single question usually pulls in 3 or 4 at once.

ConceptShare of problemsEmployersWhat comes up
Idempotency95% (137)33Making a re-run produce the same result — the property every incremental pipeline question hinges on.
Data quality checks89% (128)31Assertions that fail a run loudly instead of publishing bad rows downstream.
Monitoring and alerting86% (124)31Freshness, volume, and distribution alerts that catch a silent failure.
Partitioning strategy84% (121)29Partition columns that make backfills and partition pruning cheap.
Retries and failure handling76% (109)30Exponential backoff, dead-letter queues, and retries that do not duplicate writes.
Deduplication74% (106)26Exactly-once semantics on an at-least-once transport.
Full vs incremental loads72% (104)28Watermarks, high-water marks, and when a full refresh is the cheaper answer.
DAG orchestration65% (94)23Task dependencies, scheduling, and backfill semantics in Airflow or Dagster.
Late-arriving data62% (89)23Watermarks and grace periods for events that land after their window closed.
Batch vs streaming61% (88)25Choosing between them on latency requirements, not on fashion.
Schema evolution53% (77)17Additive changes, backward compatibility, and the contract with producers.
ELT vs ETL and medallion layers49% (71)17Transforming in the warehouse vs before it, and what each layer guarantees.
Backfills35% (50)9Reprocessing history without double-counting or taking the cluster down.
Change data capture (CDC)20% (29)3Log-based replication and why it beats polling a source table.

These counts come from the same practice problems you can solve here, and they update as new questions come in.

The decisions pipeline design rounds are won on

6 decisions cover most rounds. Each maps to questions on this page.

DecisionThe senior answerOn this page
Batch, streaming, or bothName which consumer needs which clock; split at the logQuestions 2, 3, 7, 11, 18
Exactly-once versus at-least-onceIdempotent keyed writes, dedup by event id, stated guarantees per consumerQuestions 13, 14, 18
Raw versus curated layersImmutable raw, rebuildable curated; ELT when requirements churnQuestions 1, 8
Late and re-arriving dataLocked attribution, restatement windows, completeness signals over cronQuestions 6, 12, 16
Failure and replayRetry with backoff, quarantine paths, idempotent reruns by constructionQuestions 4, 9, 10, 19
Hot keys and spikesA log in front, partition-key design, skew handled explicitlyQuestions 5, 6

Easy pipeline design interview questions

The warm-up: one clean architecture call, stated with its tradeoff.

Snap logo

1. Disappearing Ink

Asked in a Data Engineer interview by SnapEasy~20 minGo to problem
Task

An analytics lead keeps fielding the same complaint: a dozen teams need data shapes that the ingest already threw away, while about 10 billion engagement events a day (opens, replays, story views, ad views) keep arriving. Design the pipeline that builds the curated tables those teams query every morning.

Business Requirements

  • Our teams keep changing what they want from the data, so we do not want to decide the final shape before we even store it.
  • A dozen teams query this data, and none of them should ever have to read the raw feed directly.
  • When a day's data is malformed I do not want the analysts to be the ones who discover it.
  • This has to run every day on its own and page someone when it does not.
Show the solution

Intermediate pipeline design interview questions

The core of the round: dual-clock consumers, quality gates, skewed builds, unreliable upstreams, and spiky ingestion.

Google logo

2. Fresh and Forever

Asked in a Data Engineer interview by GoogleMedium~30 minGo to problem
Task

Our live operations dashboard trails reality by minutes, and its counts disagree with the numbers analysts later pull from history, on a platform ingesting about 5 billion user-interaction events a day. Design the pipeline that serves both the dashboard and the analysts' ad-hoc queries over years of events.

Business Requirements

  • Operations needs the live dashboard to reflect what is happening within a few seconds; anything slower and we are reacting to the past.
  • Analysts run ad-hoc queries going back years and cannot be limited to a short retention window.
  • Our counts have to be right even when events show up late or get sent twice; finance and ops both trust these numbers.
Show the solution
TikTok logo

3. Seconds to Trend

Asked in a Data Engineer interview by TikTokMedium~30 minGo to problem
Task

Design the pipeline that turns roughly 5 billion engagement events a day (views, likes, watch-time pings) from a short-video app into 2 outputs: a trending surface of the hottest videos and the daily active user and 7-day retention reports. Both read the same events, and streaming everything is not an option.

Business Requirements

  • When a video starts spiking, the trending team wants it on the surface within seconds, not on tomorrow's report.
  • Growth reports daily active users and 7-day retention once a day and needs the counts to be exact.
  • Finance flagged that streaming the full firehose for every consumer is expensive; only the consumers that need seconds should pay for it.
Show the solution
Shopify logo

4. The Revenue That Was Wrong for Two Weeks

Asked in a Data Engineer interview by ShopifyMedium~25 minGo to problem
Task

Our transformation layer has grown to over 200 models, and we're seeing silent data quality failures slip into production reports. The data team wants a pipeline design that enforces quality gates, prevents bad models from promoting downstream, and gives analysts confidence in the output. Design the pipeline.

Business Requirements

  • Revenue was double-counted for two weeks before anyone noticed; bad data has been quietly reaching production reports.
  • Business consumes the mart at 7am every morning; the nightly run has to finish in time.
  • Order data carries customer email and shipping address; analysts can't see those fields in the mart.
Show the solution
HubSpot logo

5. Two Hundred Million Redirects

Asked in a Data Engineer interview by HubSpotMedium~25 minGo to problem
Task

Creators keep telling the support team their link stats lag, and the analytics API's date-range reports crawl, at about 200 million redirects a day with viral links spiking traffic. Design the pipeline that carries every click event both to the nightly totals behind those reports and to the creators' per-link last-hour dashboard.

Business Requirements

  • Link creators check their dashboard right after sharing and need clicks visible within roughly a minute; perceived lag is a top support complaint.
  • The analytics API answers date-range queries from daily click totals per link that the nightly batch produces, never by summing raw clicks at request time.
Show the solution
Citi logo

6. Every Version of You

Asked in a Data Engineer interview by CitiMedium~25 minGo to problem
Task

A retail bank rebuilds its customer dimension every night from a 400M-row account-state extract, versioning each account's history. The on-call data engineer keeps watching that run blow past 7am on nights a few corporate accounts churn millions of changes. Design the nightly pipeline she can trust to land on time.

Business Requirements

  • Analysts need to see what an account looked like on any past date, so every change has to become its own dated version instead of overwriting the row.
  • A handful of corporate accounts generate millions of change records each, and the run drags on the nights they churn.
  • The merge must not start until the upstream account-state extract has finished landing.
  • The dimension has to be published before the 7am reporting window, every night.
  • A failed or re-run night should not duplicate versions or corrupt the history.
Show the solution
Autodesk logo

7. Seconds and Months

Asked in a Data Engineer interview by AutodeskMedium~30 minGo to problem
Task

Design the pipeline that serves concurrent-seat enforcement, monthly metered-usage billing and daily feature-adoption reports from one telemetry stream. Every desktop and browser session of our design and engineering software feeds that stream, about 2 billion events a day.

Business Requirements

  • Licensing here. If a customer is over their concurrent-seat limit, we need to know within a few seconds, and presence in a shared document has to feel live.
  • Finance here. Metered feature usage goes straight onto the monthly invoice, so a duplicated or dropped event is a billing error a customer will dispute.
  • Product analytics here. We look at feature adoption day over day; we do not need it to the second, we need it correct and queryable.
  • Platform here. There is one firehose of telemetry; do not stand up a second collection path just for finance.
Show the solution
Peloton logo

8. Every Device Has Its Own Dialect

Asked in a Data Engineer interview by PelotonMedium~25 minGo to problem
Task

Our fitness platform receives workout and health events from connected devices, a mobile app, and third-party integrations. Events arrive in multiple formats at different cadences, with different schema versions across device firmware generations. Design the ingestion pipeline that normalizes these into a unified event store.

Business Requirements

  • During a live workout, real-time feedback features need device events almost immediately; mobile and partner sources can wait longer.
  • Some users are on older firmware that doesn't have the newer fields; rolling out new devices can't break anything for the older ones.
  • Users complete workouts in airplane mode and the events upload hours later; the workout has to be reported under when they actually did it.
Show the solution
Jump Trading logo

9. The Provider That Sometimes Sleeps

Asked in a Data Engineer interview by Jump TradingMedium~25 minGo to problem
Task

Our market data provider bills per request, goes dark for hours a few times a year, and its license requires us to keep every raw file unchanged for audit. We need the prior day's price and volume data pulled automatically and loaded into our research database before pre-market models start at 7am. Design the ingestion pipeline.

Business Requirements

  • Quants run pre-market models each morning and depend on the prior day's data being present before they start; a missed session has already broken a model run, so a failed or late pull has to reach the team automatically, not be discovered at model-run time.
  • The provider charges per request and has multi-hour outages a few times a year; a naive script burns the daily budget on blind retries before the outage resolves, so the pull and its retry logic have to be driven by an orchestrator.
  • Our licensing agreement requires raw files be retained for audit and never modified or deleted after ingestion, so the raw landing zone has to be durable storage written straight from the pull, distinct from the downstream transformed research database.
Show the solution
Walmart logo

10. 4,500 Stores Before Sunrise

Asked in a Data Engineer interview by WalmartMedium~25 minGo to problem
Task

Every night, 4,500 stores each upload a CSV of their current inventory to S3, and some of those files land late. Design the pipeline that takes those uploads into the warehouse the replenishment team works from.

Business Requirements

  • Replenishment opens dashboards at 7am every day; clean validated inventory across all stores has to be in the warehouse by then.
  • The pipeline has been re-run multiple times this month and each rerun has been creating duplicates in the warehouse.
  • A few stores send malformed or oversized files; one bad file can't take down the load for the other 4,500.
Show the solution
Epic logo

11. The Early Warning

Asked in a Data Engineer interview by EpicMedium~30 minGo to problem
Task

What pipeline should a hospital's clinical data lead build so one feed of millions of vital-sign and clinical events a day, from bedside monitors and EHR systems, drives both deterioration alerts at the nursing station and the regulatory record behind next morning's compliance reports?

Business Requirements

  • When a patient's vitals cross a deterioration threshold, the charge nurse needs to know within seconds, not at the next shift change.
  • Compliance reporting has to account for every clinical event exactly once; a duplicated or dropped event is an audit finding.
  • The feed runs into the millions of events a day and spikes during rounds; the pipeline can't drop events under load.
Show the solution
S&P Global logo

12. Six Hours to Miss a Deadline

Asked in a Data Engineer interview by S&P GlobalMedium~25 minGo to problem
Task

Design an incremental replacement for our nightly warehouse load, which today rebuilds about 12 billion rows of credit positions and ratings feeding risk models and regulatory reporting. Only around 1 percent of those rows change on a normal day, yet every night we reload all of them.

Business Requirements

  • The trading desk reads the morning risk reports at 5am every business day; today's six-hour rebuild misses the deadline.
  • An incremental loader can quietly miss records and the warehouse drifts from the source without an error; the team needs a routine reconciliation that catches drift first.
  • Source systems sometimes restate historical credit ratings; we have to apply those corrections without rebuilding the full history.
Show the solution

Advanced pipeline design interview questions

The senior tier: exactly-once ledgers beside live views, multi-region consolidation, and simulation platforms, each hinging on a guarantee you state before it is questioned.

Amazon logo

13. The Ledger and the Live Wire

Asked in a Data Engineer interview by AmazonHard~30 minGo to problem
Task

We run an online retail marketplace that emits about 2 billion order and refund events a day across 300 million listings. Seller-facing inventory and sales dashboards have to reflect a purchase within seconds, while finance needs an exactly-once daily profit-per-product number that stays correct even when refunds land days after the original order. Data science also wants the full raw event history retained for model training.

Show the solution
Fidelity logo

14. Counted Once, Remembered Forever

Asked in a Data Engineer interview by FidelityHard~20 minGo to problem
Task

A retail brokerage executes about 50 million trades a day across 12 million accounts, and the same execution events feed two consumers: the risk desk's intraday account positions and the end-of-day regulatory filing. Design the pipeline that serves both.

Business Requirements

  • The risk desk says it cannot wait for an overnight job. If an account blows through its exposure limit at 11am, they need to see it within seconds, not the next morning.
  • Compliance says the regulatory report must count every execution once and only once. A duplicate or a dropped trade in the filing is a reportable error.
  • When an auditor asks six months later what we filed on a given day, we have to reproduce that exact report from the underlying data, not approximate it from today's state.
Show the solution
Netflix logo

15. The What-If Machine

Asked in a Data Engineer interview by NetflixHard~25 minGo to problem
Task

What-if questions about fill rate, reach and frequency keep piling up from our analysts, and a single configuration can mean up to 1,000 simulations. Design the data pipeline behind a system that matches ad inventory (slots) against ad campaigns, so users can submit a configuration and explore the results later.

Business Requirements

  • A configuration's variants have to be comparable in the same working session, not the next day.
  • Losing a whole configuration's worth of work just because one variant blew up isn't acceptable.
  • A submitted configuration runs in the background; the caller shouldn't have to keep a browser tab open while it runs.
Show the solution
PayPal logo

16. Three Regions, One Report

Asked in a Data Engineer interview by PayPalHard~25 minGo to problem
Task

What daily batch pipeline should the on-call engineer run to turn yesterday's payment logs, which US, EU and APAC each land in their own object storage bucket on their own clock, into a merchant-level summary for global reporting? About 3 billion events arrive a day, and gateway retries resend 1 to 2 percent of them, sometimes after the day has ended.

Business Requirements

  • Global reporting needs the consolidated merchant summary every morning by 6am UTC; missing it has been happening too often.
  • Finance reconciles against the payment gateway and today the numbers never match because we drop or duplicate events.
  • When one region's data lands late, the other regions still need to make progress; today everything waits for the slowest.
  • When something fails partway through, operators rerun the day, and the rerun has to produce the same numbers, not different ones.
Show the solution
Farfetch logo

17. The Boutique That Sold in Six Currencies

Asked in a Data Engineer interview by FarfetchHard~30 minGo to problem
Task

Your luxury marketplace processes sales events from thousands of seller boutiques across multiple countries and currencies. Each sale must be attributed to the selling boutique in real time, normalized to a common currency, and stored in a compliant data lake that protects buyer identity. Design the pipeline.

Business Requirements

  • Boutique owners watch their revenue in real time during the day; a sale has to show up within roughly a minute.
  • The dashboard uses live FX rates while finance reconciles using end-of-day official rates; each sale has to carry both so neither consumer reprocesses history.
  • Buyer identity is regulated; deletion has to complete within the regulatory window, but historical sale amounts and boutique attribution should remain.
Show the solution
The Walt Disney Company logo

18. The Same Stream Twice

Asked in a Data Engineer interview by The Walt Disney CompanyHard~30 minGo to problem
Task

What pipeline carries about 2 billion playback heartbeats a day from 150 million subscribers to two readers at once: an on-call page when a title starts rebuffering in a region, and a daily studio royalty report on exact minutes-watched?

Business Requirements

  • When a title starts rebuffering in a region, I need on-call paged within seconds, not in tomorrow's report.
  • We pay studios on exact minutes-watched, so the daily total cannot double-count a retried event or drop one that slipped a window.
  • A buggy device firmware release once sent malformed heartbeats and took our whole pipeline down; that can never block live alerting again.
  • I don't want two separate collection paths drifting apart; both teams should be reading the same source of truth, each on their own offsets.
Show the solution
dbt Labs logo

19. The Migration That Cannot Break Morning

Asked in a Data Engineer interview by dbt LabsHard~30 minGo to problem
Task

The 6am reports cannot miss a single morning while we move 60 production pipelines from our on-premises platform to a cloud warehouse before the hardware lease ends in nine months. Design the architecture that carries the migration itself, from the old and new pipelines through to the reports.

Business Requirements

  • During the migration the existing on-prem pipelines must keep running and producing output alongside the new cloud pipelines, so nothing depends on the cloud side being correct before it is proven.
  • Before any pipeline is cut over, the on-prem and cloud outputs must be compared and reconciled; consumers only move to the cloud side once the two agree.
  • If a migrated pipeline misbehaves, that one pipeline has to be pointed back to its on-prem output within hours without affecting any others; the design needs a per-pipeline switch, not an all-or-nothing cutover.
Show the solution
HelloFresh logo

20. Two Million Boxes by Monday Morning

Asked in a Data Engineer interview by HelloFreshHard~35 minGo to problem
Task

We ship weekly meal-kit boxes to subscribers in several countries, fulfilled from regional warehouses and delivered by third-party carriers. Design the pipeline and analytics warehouse that track subscription performance, delivery rates, ingredient waste and weekly cohort behavior.

Business Requirements

  • The weekly business review runs Monday morning and analytics needs prior-week data ready by 7am; pipeline failures have to alert on-call by 5am Monday.
  • Carriers confirm delivery a day or two after the box arrives; the warehouse has to update delivery status when late data lands without rebuilding the fact table.
  • EU subscriber name and address are PII under GDPR; tokenization has to happen before any record reaches the analytics warehouse.
Show the solution

Rapid-fire pipeline concept questions

The verbal layer of the round. Each has a 2-sentence answer and a follow-up behind it.

Batch versus streaming: how do you decide?

Decide by the consumer's clock. Seconds-fresh dashboards and enforcement need a stream. Batch costs less and restates cleanly, which suits daily reports and backfills. Most real answers use both, split at an immutable log, with the batch path as the source of corrected truth.

What does idempotency mean in a pipeline, concretely?

Re-running yesterday today produces the same result. Mechanically, every write is a merge keyed on a natural or event id. Blind appends break that, as do counters incremented on consume. Idempotency is why a retry or a replay is a routine operation instead of an incident, and backfills depend on it the same way.

Exactly-once: real or marketing?

Real as an end-to-end outcome, not as a transport guarantee. Delivery is at-least-once almost everywhere, so exactly-once output has to be composed: the source must be replayable and the processing deterministic, and the sink has to be idempotent or transactional. The interview answer describes that composition, and claiming a broker does it for you is the mistake interviewers listen for.

Where does the watermark fit, and what does it bound?

A watermark is the pipeline's declaration of how late it will wait for event-time stragglers. It bounds streaming state (dedup and window buffers can be dropped past it) and defines when a window can close. Without one, exactly-once dedup state grows forever, which is the follow-up it exists to answer.

Why do interviewers keep asking about backfills?

Because backfills expose every weak joint at once: mutable raw data, non-idempotent writes, hardcoded dates, aggregates with no restatement policy. If your design answers 'rerun the last 30 days' with 'run the same jobs with different parameters', the architecture is sound.

Completeness signals versus cron: what is the difference?

Cron assumes the data is ready; a completeness signal proves it. Upstream writes a manifest or success marker per partition, and downstream triggers on it. Every consolidation question, like the multi-region one on this page, turns on completeness signals.

What is a dead-letter queue for, and what goes wrong without one?

Events that fail parsing or validation route to a quarantine with enough context to replay them after a fix. Without one you choose between halting the pipeline on one bad record and silently dropping it; both are wrong answers in a round. Mention the replay path, not just the queue.

How do you keep a raw layer trustworthy?

Immutable and append-only, exactly as received, with the schema it arrived in. Normalization happens beside it, never over it. The raw layer is what makes every downstream mistake recoverable, which is why audit-heavy prompts, like the trading-data one here, make immutability an explicit requirement.

How do you make a SQL data pipeline idempotent?

Make the write replace a deterministic slice rather than append to it. In practice that's a MERGE keyed on the business key, or a delete-then-insert scoped to the partition being rebuilt, both inside one transaction so a mid-run failure leaves nothing half-applied. The anti-pattern is a bare INSERT on the retry path: the first partial run leaves rows behind and the retry doubles them.

What is the difference between ETL and ELT?

ETL transforms before loading, so the warehouse only ever sees modeled data, which suited expensive warehouses with limited compute. ELT loads raw first and transforms inside the warehouse, which is the modern default because cloud warehouses separate storage from compute and because keeping the raw layer makes every transformation replayable. The tradeoff is governance: raw data in the warehouse still needs access control.

What is change data capture and why use it over polling?

CDC reads the source database's write-ahead log to stream every row change as it commits, deletes included. Polling with a query on updated_at misses hard deletes entirely, misses intermediate states between polls, and puts read load on the production database. CDC captures every change in order with near-zero source impact, at the cost of operating a connector and handling schema changes in the log.

How do you handle schema evolution?

Treat the schema as a contract. Additive changes such as a new nullable column are backward compatible and can flow through automatically. A rename or a type change is breaking, and so is a dropped field; each needs a version and a migration window where both shapes are accepted. A schema registry with compatibility checks enforces this at the producer, which is far better than discovering it when the consumer fails.

How do you detect and mitigate data skew in a distributed job?

Detect it by counting rows per join key and by looking for a task whose runtime and shuffle bytes dwarf the median. Mitigate by broadcasting the small side to remove the shuffle, by salting the hot key with a random suffix and re-aggregating after the join, or by isolating the hot keys into a separate job. Adding executors doesn't help: one key still lands on one task.

What is partition pruning and how do you design for it?

Pruning is the engine skipping partitions that can't satisfy the query's filter, turning a full-table scan into a read of one day. To get it, partition on the column queries actually filter on. That is usually event date. Keep the filter a direct comparison against a literal or bound parameter, because wrapping the partition column in a function or casting it defeats pruning silently.

What are the data quality checks you would add to a pipeline?

4 families: freshness (did data arrive in the window), volume (is the row count within expected bounds against history), schema (are the columns and types what the contract promised), and distribution (did null rates or cardinality cross a threshold, or a key metric move past one). Each should fail the run rather than warn, because a warning nobody reads is the same as no check.

How do you monitor a pipeline, and what do you alert on?

Alert on the SLA the consumer cares about, not on task success. A job that succeeds while producing zero rows is the failure worth paging for. A practical alert set covers freshness against the promised delivery time and row-count deviation from the trailing baseline. Add quality check failures, and for streaming, end-to-end latency. Everything else is a dashboard, not a page.

What is the difference between at-least-once, at-most-once, and exactly-once?

At-most-once may drop messages and never duplicates them. At-least-once never drops but may duplicate, which is what most transports actually give you. Exactly-once is the effect you engineer on top of at-least-once by making the sink idempotent or transactional, so replaying a duplicate is a no-op. Saying that exactly-once is an end-to-end property rather than a transport setting is the senior answer.

How do you design a backfill that will not take production down?

Make it partition-scoped and idempotent so each unit can be retried alone, run it on separate compute or with a concurrency cap so it doesn't starve the scheduled load, and process in chronological chunks with checkpointing so a failure resumes rather than restarts. Then verify against the same quality checks the incremental path uses before publishing.

How do you build a Slowly Changing Dimension Type 2 load in a pipeline?

Compare each incoming row against the current version for that natural key. Unchanged rows are skipped; changed rows close the existing version by setting valid_to and clearing the is_current flag, then insert a new version with a fresh surrogate key and valid_from at the change time. Both writes belong in one transaction, and the whole step should be a MERGE keyed on the natural key so a re-run is idempotent rather than duplicating history.

What is orchestration, and what does a DAG give you over cron?

Cron fires on a clock and knows nothing about whether the upstream data arrived. A DAG expresses dependencies, so a task runs when its inputs are ready, and it gives you retries with backoff, backfill over a date range, per-task SLAs, and a visible failure surface. In the interview, say that the DAG encodes completeness while a schedule only assumes it.

Getting interview-ready on pipeline design

4 capabilities pipeline rounds turn on, roughly in the order worth building them. For engineers who operate pipelines but haven't designed one under a clock.

  1. 01

    Speak the vocabulary of guarantees

    Learn delivery semantics and idempotency as answers rather than definitions. Watermarks and completeness signals come next, then restatement. For each, know the failure it prevents and the question it settles, because the round is conducted in this vocabulary.

    • ▸For every term, know the one-sentence failure story it prevents
    • ▸State guarantees per consumer, not per pipeline
  2. 02

    Own the dual-clock pattern

    Most questions in these loops share one shape: billions of events, one consumer needing seconds, another needing correct history. Work it through several domains until the split-at-the-log answer with batch-as-truth comes without thinking.

    • ▸Always name which view is authoritative and how the other reconciles to it
    • ▸Give the cost reason out loud: streaming everything is the expensive wrong answer
  3. 03

    Design the recovery path

    Take any design and break it: upstream dark for 6 hours, a bad deploy corrupting 2 weeks of aggregates, a region arriving late, a viral hot key. Work the recovery until a backfill answer takes one sentence.

    • ▸Every recovery answer should contain the word idempotent, or explain why not
    • ▸Do the deadline math out loud, working backward from the SLA
  4. 04

    Defend a design under pushback

    Practice 40-minute blank-page rounds where a requirement changes midway. Scope, draw the core path, name the guarantees, then absorb the change as an amendment. The interviewer judges the reasoning you said out loud far more than the diagram you left behind.

    • ▸Open by putting numbers on scale and freshness, and on what correctness requires
    • ▸Close by naming the one component you would swap at 10x scale

The mistakes that fail pipeline rounds

These failure modes recur across rounds, and none of them is a missing product name.

Technology bingo before requirements

Candidates recite Kafka-Flink-Iceberg-dbt before putting a number on scale or saying how fresh and correct the data must be, and interviewers read it as evasion. Give the numbers first, then name only the tools those requirements justify.

Streaming everything

One consumer needs seconds, so the whole pipeline goes streaming and triples cost and complexity for reports that read yesterday. Split at the log and keep those reports on batch.

No answer for the replayed day

If re-running yesterday double-counts revenue, the design fails the round in one question. Idempotent writes and a stated restatement window prevent that, so say them before anyone asks.

Cron where a signal belongs

A 2am job that assumes upstream finished is an outage on a delay. Completeness markers and dependency triggers are the grown-up answer, and the SCD-build question on this page turns on exactly this.

Ignoring the hot key

Viral links, whale accounts, the internal merchant: every real stream has one. If the partition key design doesn't mention skew, the follow-up will.

Compliance as an afterthought

PII zones and re-identification controls are pipeline stages, not policy documents, and audit retention is one too. Prompts that mention regulators or buyers expect them drawn, not promised.

How the pipeline design round runs

The prompt arrives with numbers in it: events per day, an SLA, a consumer with a correctness requirement. The first move that separates candidates is restating those numbers and adding the ones the prompt left out: peak versus average, event size, how late data can arrive. Designing to stated-plus-clarified requirements is the rubric's first row.

The middle of the round is the core path: ingestion, the log, the split into serving paths, storage layers, orchestration. Senior candidates annotate guarantees as they draw: this path is at-least-once with idempotent sinks; this report restates for 48 hours. That narration counts for more than any specific vendor choice.

In the last third, the interviewer breaks something and watches: an upstream goes dark, a region is late, finance disputes a number. Designs built on an immutable log with idempotent, signal-triggered consumers absorb these questions with one-sentence answers, which is why those properties belong in any design you present.

Prepare for the interview
01 / Open invite
02min.

Know the patterns before the interviewer asks them.

a system design query, the same shape a screen would give you.
The diff against expected. Where ties broke. What you missed.
sandbox
1source → bronze → silver → gold
2 ingest : CDC + Kafka
3 transform : dbt + Airflow
4 serve : Snowflake
5
Execute your solution0.4s avg.
PayPalInterview question
Solve a problem

Data pipeline interview questions: FAQ

Are these pipeline design questions from real interviews?+
Yes. Every question was asked in a real data engineer interview and is rebuilt here as a canvas challenge with its original scale numbers and constraints. The company on each question is the employer that asked it.
How often do data engineer loops include a system design round?+
Around 30% of loops overall, and most loops at senior and above. Junior candidates who get one are usually being probed for growth headroom; the bar there's reasoning hygiene, not completeness.
Do I need to name specific technologies?+
Component roles matter more than brand names: a durable log, an object store, a stream processor, an orchestrator. Name specific technologies when you know them well enough to defend their tradeoffs, because the follow-up will test exactly that depth.
What is the highest-yield pattern to rehearse?+
The dual-clock shape: one event stream, one consumer needing seconds, one needing correct history. Most questions in these loops are built on it, including 4 on this page, and the split-at-the-log answer with batch as the source of truth transfers to every one of them.
How do I practice a whiteboard design round alone?+
The canvas under each question is the same medium, and it flags any stated requirement your design misses. The part to rehearse out loud is the narration of guarantees per path and failure recovery, with the deadline math spoken as you go. Recording one session exposes the silent stretches immediately.
How is this different from software engineering system design?+
The emphasis shifts from serving latency and API design toward data correctness over time: replay, late arrivals, restatement, audit. Interviewers give no credit for a load balancer diagram and a lot for a restatement policy. Preparing from software-engineering materials alone misses that half.
What does a strong opening two minutes look like?+
Restate the scale numbers and name the consumers and their clocks. Then ask the 2 questions that change the design (how late can data arrive, what happens on replay), and only then draw. That opening predicts how the round goes better than anything drawn after it.
How does this round relate to the data modeling round?+
Modeling covers the data at rest; pipeline design covers how it moves and what it guarantees. Loops with both rounds probe where the 2 meet: what a backfill does to SCD rows, how late facts restate aggregates. The modeling page here covers the other half.
02 / Why practice

Design the next one under interview conditions

  1. 01

    Reading a solution is not the same as writing one

    Every engineer who has frozen on a query they had read a dozen times knows the gap. The only preparation that closes it is producing the answer yourself, under time, before the interview does it for you

  2. 02

    76% of hiring managers reject on the coding task, not the resume

    From HackerRank's 2024 Developer Skills Report. Candidates who look strong on paper still fail the live screen if they haven't done timed, executable practice

  3. 03

    System design comes down to the calls you defend out loud

    Ingestion, batch vs streaming, the bronze/silver/gold layers, idempotency, backfill and replay. Sketching the pipeline and naming the failure modes is the signal, not the boxes

Keep going