Data Engineer Interview Questions

100 real questions from Amazon, Meta, Stripe & Databricks. Model answers. What they’re actually scoring.

6 free answers — click any question to read the model answer + what they’re actually scoring
> filter: 100/100
sql-query-optimization1 free ↓
01
A query that ran in 10 seconds last week now takes 4 minutes on the same data volume. What is your diagnostic process?
This is a systems-thinking question, not a SQL syntax question, statistics staleness, plan regression, lock contention, skewed data, and infrastructure changes are all on the table.
free
I start by ruling out infrastructure causes: was there a cluster resize, a warehouse suspend/resume, or a concurrent workload spike that would explain the slowdown without any query change? Then I pull the execution plan for the current slow run and compare it to a cached plan or a fresh EXPLAIN from last week if available, looking for plan regression, the optimizer choosing a different join strategy or index path. The most common cause of spontaneous regression without a data volume change is stale statistics: if the table was heavily updated and statistics were not refreshed, the optimizer's cardinality estimates will be wrong and it may choose a hash join that spills to disk over a merge join that would fit in memory. I also check for data skew changes: if a new customer with 10 million orders joined last week and the query joins on customer_id, one partition or worker node may now be processing orders of magnitude more rows than others. Finally I look at locking and concurrency, a new batch process writing to the same table can cause read waits that look like query slowness.
Insider read
Really testing: Whether you approach performance incidents with a structured diagnostic framework that covers infrastructure, optimizer, data, and concurrency, not just "I tuned the query."
The tell: Juniors immediately start rewriting the query. Seniors start by gathering evidence before making any changes, and they think in terms of what changed, infrastructure, data distribution, statistics, or concurrency, not just what the query looks like.
Follow-up: "The execution plan is identical to last week's. Data volume is the same. What do you check next?"
Say this"My first question is always 'what changed?', not in the query but in the environment, the data distribution, or the surrounding workload. A query that regressed without code changes is almost always a statistics, skew, or infrastructure problem, not a query problem."
02
How do window functions differ from GROUP BY aggregations, and when would you choose one over the other?
The tricky part: window functions retain the original row count while GROUP BY collapses it, and interviewers probe whether you know when that matters for downstream joins.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
03
What is a CTE (Common Table Expression) and how does it differ from a subquery or a temporary table in terms of performance?
Most candidates know the syntax; seniors know that CTEs are not always materialized and the optimizer may inline them, which changes the execution plan significantly.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
04
Walk me through how you would read and interpret a query execution plan to diagnose a slow query.
Interviewers want to hear specific operators (hash join, nested loop, sort, index scan vs seq scan) and how you act on what you see, not just "I look at the plan."
Full answer + insider read in the complete set.Unlock all 100 · $9.99
05
What types of indexes exist and how do you decide which columns to index in a data warehouse vs an OLTP database?
The gotcha is that advice that works perfectly in Postgres or MySQL (B-tree indexes on foreign keys) is often wrong or irrelevant in columnar warehouses like Snowflake or BigQuery.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
06
How does table partitioning improve query performance and what are the trade-offs of over-partitioning?
Partition pruning is the win, but too many small partitions (partition explosion in BigQuery or Snowflake micro-partitions) kills metadata overhead, a trap many candidates miss.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
07
How do you correctly handle NULL values in joins, aggregations, and WHERE filters to avoid silent data loss?
NULL is not zero and not empty string, the three-valued logic (TRUE, FALSE, UNKNOWN) in SQL is a constant source of production bugs that interviewers use to weed out candidates.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
08
When should you use DISTINCT versus GROUP BY to deduplicate results, and when do they produce different output?
They often produce the same rows but GROUP BY unlocks aggregation and is frequently faster because the optimizer can use hash aggregation rather than sorting.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
09
What is a correlated subquery and why can it be a performance problem at scale?
A correlated subquery re-executes for every outer row, turning an O(n) scan into O(n*m), the fix is almost always a join or a window function, and interviewers want to hear you say that.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
10
What is the difference between UNION and UNION ALL, and why does the choice matter for pipeline performance?
UNION performs a deduplication pass (effectively a DISTINCT) which forces a sort or hash operation, on billion-row tables this can be the single most expensive step in the plan.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
11
In what logical order does SQL execute the clauses of a SELECT statement, and why does that order matter when debugging query errors?
Many candidates know FROM comes before SELECT but cannot explain why you cannot reference a SELECT alias in a WHERE clause, that gap signals shallow SQL knowledge.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
12
What is a materialized view and when would you use one instead of a regular view or a pre-aggregated table?
The refresh strategy (on-commit vs on-demand vs incremental) is the real substance, a materialized view with stale data is often worse than no caching at all.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
13
What is a LATERAL join and give a real use case where it solves a problem that a regular join cannot?
LATERAL allows the right-side expression to reference columns from the left side row-by-row, the canonical use case is "top N rows per group" which is otherwise awkward to write.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
14
How do you write a recursive CTE and what problem does it solve that a standard CTE cannot?
Recursive CTEs are the SQL-native way to traverse hierarchical or graph-shaped data (org charts, BOM trees, network paths), the anchor and recursive members trip up most candidates.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
15
How would you pivot rows into columns in SQL without a native PIVOT keyword, and what are the performance implications at scale?
Conditional aggregation with CASE WHEN inside SUM/MAX is the portable approach, interviewers want to know you understand the full table scan cost and that sparse pivots waste a lot of storage.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
16
What strategies do you use to identify and remove duplicate rows in a large table when there is no single unique key?
The ROW_NUMBER() window function partitioned by the business key and then deleting where rn > 1 is the standard approach, but knowing how to do it efficiently in a warehouse with no DELETE is the real test.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
17
What are the most common date and time functions you rely on for time-series analysis and what timezone pitfalls should every data engineer know?
Storing timestamps in UTC and converting at query time sounds obvious, but most production bugs come from implicit timezone assumptions in DATE_TRUNC or EXTRACT, especially across daylight saving transitions.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
18
What is a FILTER clause in an aggregate function and how does it improve on using CASE WHEN inside the aggregate?
FILTER (WHERE ...) is cleaner and in some engines measurably faster than CASE WHEN ... ELSE NULL END inside SUM, but most candidates have never seen it, which is itself a signal.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
19
How would you rewrite a slow query that uses multiple nested subqueries to improve readability and performance?
The answer involves CTEs for readability and potentially window functions or pre-filtered subqueries pushed closer to the base table, the key is explaining how you verify the rewrite produces the same result.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
20
What is the difference between INNER JOIN, LEFT JOIN, and RIGHT JOIN, and when would you use each?
Tricky because everyone knows the syntax; interviewers probe whether you understand NULL propagation and when a silently dropped join row breaks a downstream metric.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
data-modeling-warehousing1 free ↓
21
What is a star schema and when would you choose it over a snowflake schema?
Tests whether you understand OLAP query patterns, why denormalization speeds up analytics, and when the join complexity of snowflake schemas costs more than it saves.
free
A star schema centers a fact table surrounded by fully denormalized dimension tables, forming a single join hop from fact to any dimension. I reach for it in OLAP workloads where query performance and analyst simplicity matter more than storage efficiency, because denormalized dimensions eliminate multi-table joins and let engines like Snowflake or BigQuery prune aggressively. A snowflake schema normalizes dimensions into sub-dimensions, which saves storage and enforces referential integrity but adds join complexity that slows ad-hoc queries. In practice, if the dimensions are stable and wide (hundreds of attributes), star wins on read speed and BI tool compatibility. I only snowflake when dimension cardinality creates genuinely unmanageable duplication or when write velocity on dimension attributes is high enough that update anomalies become a real operational risk.
Insider read
Really testing: Whether you understand the read-vs-write tradeoff, not just the textbook diagram. Interviewers at Snowflake and Databricks specifically listen for mentions of query engine behavior and columnar scan patterns.
The tell: Juniors recite "star is denormalized, snowflake is normalized" and stop. Seniors explain why query engines prefer fewer joins, name a specific platform behavior (e.g., Redshift distribution keys, BigQuery nested repeats as an alternative), and articulate when they would actually pick snowflake.
Follow-up: "How does your choice change when dimensions have millions of rows or update daily?"
Say this"The schema choice is really a query-engine contract. On columnar systems, an extra join hop can blow out your query plan, so I default to star and treat denormalization as free. I only normalize when the dimension update rate or storage cost makes that tradeoff worth it."
22
Walk me through SCD Type 1, 2, and 3. When would you use each in a production warehouse?
Focus on the history-vs-simplicity tradeoff and the write amplification cost of Type 2.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
23
What distinguishes a fact table from a dimension table, and what makes a good grain declaration?
The grain statement is the most important design decision you make before writing a single column.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
24
Explain Data Vault modeling. What problem does it solve that star schema does not?
Hubs, links, and satellites each serve a specific audit and flexibility purpose, explain the separation.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
25
When is 3NF the right model for a data warehouse layer, and when is denormalization the right call?
Think about which layer of the medallion or Kimball architecture each normal form fits into.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
26
Why do we use surrogate keys in a warehouse instead of natural keys from the source system?
Cover key recycling, cross-source integration, and SCD Type 2 row versioning as three distinct reasons.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
27
How do you handle late-arriving facts and late-arriving dimensions in a Kimball warehouse?
Distinguish between the two cases, they require different remediation strategies at load time.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
28
What partitioning strategies do you apply in Snowflake, BigQuery, or Redshift, and how do you choose between them?
Range vs list vs hash, and how clustering keys differ from partitions in columnar engines.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
29
Why does columnar storage improve analytical query performance, and what are its write-path costs?
Encoding, compression ratios, and vectorized execution are the three pillars of the read-side win.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
30
What are the key differences between OLTP and OLAP systems, and how do those differences drive modeling decisions?
Row vs column store, normalization vs denormalization, and latency vs throughput shape every design choice.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
31
When do you use incremental loads versus full refreshes, and how do you keep them consistent under failures?
Watermarks, CDC, and idempotency all interact, explain how you pick and protect each strategy.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
32
How do you model time-series data at scale, what schema choices and storage formats work best?
Consider partition pruning on event time, compaction strategies, and how wide vs narrow affects scan cost.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
33
How do you model a many-to-many relationship in a dimensional warehouse without exploding row counts?
Bridge tables, multi-valued dimensions, and weighting factors are the three standard solutions.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
34
In Spark, when do wide tables hurt performance and when do narrow tables cause shuffle overhead?
Column pruning, predicate pushdown, and join skew are the three levers that flip the answer.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
35
How do you handle schema evolution in a data pipeline without breaking downstream consumers?
Additive vs breaking changes, schema registries, and backward/forward compatibility are the core framework.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
36
How do you model event streams for analytics, event sourcing, wide event tables, or pre-aggregated rollups?
The answer depends on query latency SLA, cardinality of event types, and whether you need full replay.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
37
What does it mean for a load job to be idempotent, and how do you design one in practice?
MERGE semantics, deterministic keys, and insert-overwrite patterns are the three implementation paths.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
38
You inherit a warehouse with no documentation. How do you reverse-engineer the data model and assess its quality?
Start with row-count profiling, null rates, and join cardinality checks before touching any transformation logic.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
etl-elt-pipelines1 free ↓
39
What is the difference between ETL and ELT, and when does each approach make more sense?
Tests whether you understand where compute happens and can reason about cloud warehouse economics vs. traditional ETL tooling trade-offs.
free
In ETL (Extract, Transform, Load), data is cleaned and shaped in a dedicated transformation layer before landing in the destination, which keeps the warehouse lean but tightly couples your logic to the pipeline. In ELT (Extract, Load, Transform), raw data lands first and transformations happen inside the target system using its own compute, which is the default approach on modern cloud warehouses like BigQuery, Snowflake, and Redshift where storage is cheap and SQL-at-scale is fast. I reach for ETL when the destination system has strict storage costs, when data must be masked or filtered before it ever touches the warehouse for compliance reasons, or when transformation logic requires imperative code that SQL cannot express cleanly. ELT wins when I want full raw history available for reprocessing, when business definitions change frequently (I just redeploy a dbt model rather than rerunning the entire pipeline), and when the warehouse has enough compute headroom to absorb the transformation cost. The real deciding factor is where your bottleneck lives: if compute in the destination is cheap and elastic, ELT reduces operational surface area significantly.
Insider read
Really testing: Whether you understand that this is an architectural trade-off driven by cost and reprocessability, not just a vocabulary distinction. Interviewers want to hear you reason about compute placement, storage costs, and how raw history enables late corrections.
The tell: Strong candidates immediately mention compliance or PII as a reason to keep ETL, then pivot to dbt or warehouse-native transforms when defending ELT. Weak candidates treat it as a pure definition question and never mention reprocessing or schema drift.
Follow-up: "If a business rule changes six months after you loaded the data, how do you reprocess under each model?"
Say this"On my last project we moved from ETL to ELT specifically because product changed metric definitions every sprint. With raw data already in Snowflake I could just update the dbt model and run a full refresh overnight, whereas the old Spark ETL job would have required a full historical backfill through the cluster."
40
How do you design a pipeline to be idempotent, and why does idempotency matter?
Covers upsert patterns, partition overwrite, and why re-runs must not produce duplicates.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
41
How do you handle late-arriving data in a streaming or batch pipeline?
Covers watermarks, reprocessing windows, and the trade-off between correctness and latency.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
42
What is Change Data Capture and what are the main strategies for implementing it?
Covers log-based CDC, query-based polling, trigger-based approaches, and tools like Debezium.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
43
What Airflow DAG design patterns do you follow to keep pipelines maintainable at scale?
Covers TaskGroups, dynamic DAGs, avoiding top-level code, and sensor vs. trigger patterns.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
44
How do you approach backfilling a pipeline after a bug fix or schema change?
Covers partitioned rewrites, catchup flags, dependency fan-out risks, and communicating with downstream consumers.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
45
How do you handle schema evolution in a streaming pipeline without breaking downstream consumers?
Covers schema registries, backward and forward compatibility, and Avro vs. Protobuf vs. JSON trade-offs.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
46
What is the difference between exactly-once and at-least-once delivery, and when do you need each?
Covers Kafka transactions, idempotent consumers, and the cost of exactly-once semantics on throughput.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
47
What is a dead letter queue and how do you operationalize it in a data pipeline?
Covers poison-pill messages, alerting on DLQ depth, and strategies for replaying or discarding failed records.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
48
What does a solid data pipeline testing strategy look like, and what do you test at each layer?
Covers unit tests on transformations, contract tests on schemas, integration tests on full runs, and data quality assertions.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
49
How do you manage dependencies between pipelines owned by different teams?
Covers dataset sensors, event-driven triggers, SLA agreements, and avoiding tight coupling across team boundaries.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
50
How do you implement SLA monitoring for data pipelines and what happens when an SLA is breached?
Covers freshness checks, completion-time alerting, escalation paths, and the difference between SLA and SLO for data.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
51
What incremental processing patterns do you use to avoid full table scans on large datasets?
Covers high-watermark columns, partition pruning, merge strategies, and when to fall back to a full refresh.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
52
How do you design a pipeline to handle sudden data volume spikes without failing or causing downstream outages?
Covers buffering with queues, backpressure, autoscaling triggers, and graceful degradation patterns.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
53
What does pipeline observability mean to you beyond just alerting on failures?
Covers lineage tracking, row-count anomaly detection, latency histograms, and making pipeline health visible to non-engineers.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
big-data-distributed-systems1 free ↓
54
What is Apache Spark and when would you choose it over running SQL directly on a data warehouse?
Tests whether you understand distributed in-memory processing and can reason about when the overhead of a Spark cluster is justified vs. overkill.
free
Apache Spark is an open-source distributed compute engine that processes large datasets in memory across a cluster of machines, using a resilient distributed dataset (RDD) abstraction and a higher-level DataFrame / Dataset API on top of it. I reach for Spark when my workload involves complex multi-step transformations, machine learning pipelines, or custom Python/Scala logic that a warehouse's SQL dialect cannot express cleanly. Warehouses like BigQuery or Snowflake are the better default for ad-hoc analytical SQL because they handle optimization, scaling, and storage automatically with near-zero ops overhead. Spark becomes the right call when I need fine-grained control over partitioning and execution, need to join data that lives outside the warehouse (object storage, Kafka, APIs), or am running iterative ML workloads where in-memory caching across iterations yields a large performance advantage. The key tradeoff is operational cost: Spark clusters require tuning and infrastructure management that a managed warehouse abstracts away.
Insider read
Really testing: Whether you have genuine production experience with both tools or just know the names. Interviewers want to hear you articulate tradeoffs, not recite a definition.
The tell: Strong candidates immediately talk about operational overhead and when NOT to use Spark. Weak candidates treat Spark as universally superior.
Follow-up: "Walk me through a time you migrated a workload from Spark to a warehouse or vice versa. What drove that decision?"
Say this"My default is the warehouse for anything SQL-shaped because the managed optimizer and zero cluster ops are hard to beat. I only bring in Spark when I hit a hard wall: complex Python UDFs at scale, iterative ML, or data that lives outside the warehouse entirely."
55
How does Kafka's architecture work, and what is the role of consumer groups?
Interviewers probe whether you understand partition-level parallelism and what happens when consumer count exceeds partition count.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
56
How does Spark partitioning work, and what causes a shuffle?
The tricky part is explaining why shuffles are expensive and what transformations trigger them vs. which are partition-local.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
57
What is a broadcast join in Spark and when should you use it?
Candidates often know the concept but miss the size threshold, the auto-broadcast setting, and what breaks with large broadcast tables.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
58
What does lazy evaluation mean in Spark, and why does it matter in practice?
The subtle part is explaining the DAG, when execution actually triggers, and how this affects debugging and performance tuning.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
59
How does Flink differ from Spark Streaming, and when would you choose one over the other?
Most candidates describe the APIs but miss the fundamental event-time vs. processing-time model and true record-at-a-time vs. micro-batch difference.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
60
What is data skew in a distributed system and how do you handle it in Spark?
The interviewer wants concrete mitigation strategies, not just a definition, salting, skew hints, and AQE all have different applicability.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
61
Compare Parquet, ORC, and Avro, when do you reach for each?
Many candidates know these are columnar vs. row formats but cannot articulate when ORC beats Parquet or why Avro dominates for streaming serialization.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
62
How does Spark manage memory, and what causes out-of-memory errors in executors?
The nuance is understanding unified memory management, the execution vs. storage memory pools, and how off-heap and spill interact.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
63
How does a modern data lakehouse differ from the classic Hadoop ecosystem?
Strong answers go beyond "no HDFS" and articulate what open table formats, decoupled compute/storage, and the death of MapReduce actually mean architecturally.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
64
How do Delta Lake and Apache Iceberg provide ACID transactions on object storage?
The tricky part is explaining the transaction log / metadata layer mechanism rather than just saying "they support ACID."
Full answer + insider read in the complete set.Unlock all 100 · $9.99
65
What are tumbling, sliding, and session windows in stream processing, and when do you use each?
Candidates frequently confuse sliding window overlap semantics with session gap logic, and miss watermark interactions.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
66
What is compaction in Delta Lake and why does it matter for query performance?
The gotcha is explaining the small-file problem, how OPTIMIZE and Z-ORDER work together, and the tradeoff between write amplification and read speed.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
67
Walk me through how you would tune a slow Spark job in production.
Interviewers want a systematic diagnosis process, not a list of config knobs, the difference between someone who guesses and someone who reads the Spark UI.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
68
What is Adaptive Query Execution in Spark 3 and what problems does it solve?
Candidates often know AQE exists but cannot explain which runtime statistics it uses or how it differs from the static optimizer in Spark 2.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
data-quality-observability1 free ↓
69
How do you detect and handle data quality issues in a production pipeline?
Tests operational maturity: schema validation, null rate monitoring, referential integrity checks, and what “good enough” data quality means without slowing the pipeline.
free
I treat data quality as a first-class concern at every layer of the pipeline. At ingestion I enforce schema validation and null checks using tools like Great Expectations or dbt tests, failing fast before bad data propagates downstream. For ongoing monitoring I track row count anomalies, distribution drift, and freshness SLAs with either a purpose-built observability platform like Monte Carlo or custom Airflow sensors that alert on threshold breaches. When an issue surfaces I triage by severity: critical issues trigger an immediate circuit breaker that halts downstream jobs and pages on-call, while lower-severity issues are quarantined into a dead-letter table for async review so the pipeline keeps running. After remediation I always do a reconciliation pass comparing source record counts and checksums to the target to confirm the fix is complete, and I write a post-mortem that feeds back into the test suite so the same class of issue can never slip through silently again.
Insider read
Really testing: Whether you think proactively about quality or only reactively. Interviewers want to see a system, not a fire-fighting story.
The tell: Weak candidates describe a single check or a one-time fix. Strong candidates describe layered defenses: prevention at ingestion, detection in transit, alerting in production, and a feedback loop back into tests.
Follow-up: "How do you decide what row count variance is acceptable before paging someone at 2 a.m.?"
Say this"I set a baseline using 30 days of historical row counts, compute a rolling mean and standard deviation, and alert only when a new load falls outside three sigma. That cuts false positives dramatically while still catching real outages."
70
What are data contracts and how do you enforce them between producer and consumer teams?
Cover schema agreements, versioning, and what happens when a producer breaks the contract.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
71
Walk me through how you write and organize dbt tests for a critical business table.
Discuss singular vs. generic tests, custom macros, and severity levels in dbt.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
72
How do you implement and use data lineage tooling in a modern data stack?
Explain column-level lineage, impact analysis, and how lineage helps during incident response.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
73
How do you monitor and alert on data freshness across a large number of tables?
Cover SLA definitions, expected update cadences, and how you handle holiday or weekend edge cases.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
74
How do you handle schema drift when a source system changes its output without warning?
Discuss detection strategies, backward-compatible vs. breaking changes, and how you protect downstream consumers.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
75
How do you detect and mask PII in a data pipeline at scale?
Touch on discovery approaches, tokenization vs. masking, and how you handle PII that appears in free-text fields.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
76
Describe how you perform data reconciliation between a source system and a data warehouse.
Explain checksum strategies, acceptable tolerance windows, and how you reconcile aggregates vs. row-level data.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
77
How do you build a row count anomaly detection system for a pipeline with irregular load patterns?
Cover statistical baselines, seasonality adjustments, and how you avoid alert fatigue on noisy tables.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
78
How do you handle null propagation in complex SQL transformations?
Discuss how nulls behave in joins, aggregations, and window functions, and where engineers most often go wrong.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
79
Walk me through your incident response process when a data SLA breach is detected.
Cover triage, stakeholder communication, root cause analysis, and how you prevent recurrence.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
80
How would you design a data quality framework from scratch for a growing data platform?
Discuss ownership models, rule taxonomy, tooling choices, and how you get buy-in from engineering and business stakeholders.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
system-design-behavioral1 free ↓
81
Walk me through how you would design a pipeline that ingests clickstream data in near real-time and makes it available for analytics.
Tests streaming architecture knowledge: event ingestion, late-arrival handling, exactly-once semantics, and how to design for backpressure at scale.
free
I would start at the producer side by instrumenting the application to emit events to a Kafka topic, partitioned by user or session ID to preserve ordering guarantees. A Flink or Spark Structured Streaming job then reads from Kafka, applies lightweight transformations like sessionization and deduplication, and writes micro-batches to a columnar format such as Parquet or Delta Lake on object storage. For the serving layer I expose two surfaces: a hot path backed by something like ClickHouse or Druid for sub-second dashboard queries on the last 24 hours, and a cold path that lands the full history in a data warehouse like BigQuery or Snowflake for longer-range analysis. I keep end-to-end latency targets explicit in the design document and wire in dead-letter queues and alerting on consumer lag from day one so the team can catch backpressure before it becomes an incident.
Insider read
Really testing: Whether you can decompose a vague "real-time" requirement into concrete SLAs, choose appropriate tools at each layer, and anticipate operational failure modes rather than just drawing a happy-path diagram.
The tell: Strong candidates immediately ask about acceptable latency (seconds vs. minutes), downstream query patterns, and expected event volume before committing to a stack. Weak candidates open with a tool name.
Follow-up: "How would you handle a Kafka consumer falling behind during a traffic spike, and what operational levers do you have to recover?"
Say this"Before I sketch the architecture, the two constraints I always pin down first are the latency SLA and the cardinality of the analytics queries, because the answer to both determines whether I need a specialized OLAP store on the hot path or whether a well-partitioned warehouse table is enough."
82
How do you decide between building a data lake, a data warehouse, or a lakehouse architecture for a new platform?
Walk through the decision criteria: query patterns, schema flexibility, cost, and team maturity.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
83
Your current data platform needs to handle 10x the data volume within 12 months. How do you design for that growth?
Cover partitioning strategy, compute scaling, cost controls, and what you would instrument today to avoid surprises later.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
84
A critical production pipeline fails silently at 2 AM and the business notices bad numbers in the morning dashboard. Walk me through your incident response.
Explain triage, communication, root-cause process, and what you change afterward so it never repeats.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
85
Describe your strategy for migrating a large production database with zero downtime.
Touch on dual-write patterns, cutover validation, rollback triggers, and how you keep stakeholders informed.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
86
How would you design a self-serve analytics layer so analysts can query data without filing tickets with the data engineering team?
Discuss semantic layers, access controls, discoverability, and how you prevent runaway queries from killing production performance.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
87
Cloud costs for your data platform are growing faster than data volume. How do you diagnose and reduce spend without breaking anything?
Cover cost attribution, storage vs. compute trade-offs, caching, and how you build a culture of cost awareness in the team.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
88
How would you design a multi-region data replication strategy that satisfies both low-latency reads and strong consistency requirements?
Address the CAP trade-off, conflict resolution, replication lag monitoring, and regulatory data residency constraints.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
89
Design an audit logging system that can prove to regulators exactly who accessed or modified a piece of sensitive data and when.
Cover immutability guarantees, retention policy, query performance, and how you avoid the audit log itself becoming a liability.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
90
How do you decide whether a new use case should be handled with streaming or batch processing?
Go beyond latency: discuss correctness guarantees, operational complexity, cost, and the maturity of the team operating it.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
91
Tell me about a pipeline you built that failed in production. What happened and what did you learn?
Be specific about the failure mode, your role, the business impact, and the concrete changes you made afterward.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
92
How do you work effectively with data scientists and analysts who have different definitions of "done" than the engineering team?
Discuss how you align on SLAs, manage schema changes, handle ad-hoc requests, and build shared ownership of data quality.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
93
How do you balance investing in pipeline reliability and observability against shipping new features the business is asking for?
Show how you quantify reliability debt, communicate trade-offs to non-technical stakeholders, and protect foundational work in sprint planning.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
94
What is your approach to documentation for data pipelines, and how do you keep it from going stale?
Cover pipeline-level docs, data dictionaries, lineage, and how you make documentation a natural part of the development workflow rather than an afterthought.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
95
A senior stakeholder sends a Slack message at 4 PM on Friday demanding a new dataset be available by Monday morning. How do you handle it?
Demonstrate how you triage urgency vs. importance, negotiate scope, protect team health, and still deliver value without creating a culture of fire drills.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
96
How do you identify and systematically pay down technical debt in a data infrastructure without stopping feature development?
Discuss how you surface hidden debt, prioritize it against new work, and convince leadership to fund remediation.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
97
How do you build a business case for investing in data platform infrastructure when the benefits are hard to quantify?
Show how you translate engineering metrics into business impact, use incident history as evidence, and frame investment in terms executives care about.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
98
You are starting a new data engineering role and inheriting an undocumented legacy platform. How do you onboard and earn trust without breaking anything?
Cover your first-30-60-90-day approach: listening, mapping, identifying quick wins, and when you introduce changes vs. when you wait.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
99
What is your vision for the modern data stack, and where do you think it is heading in the next three to five years?
Show genuine opinions: what is overhyped, what is underrated, and how your view shapes the architectural choices you make today.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
100
Where do you see the role of the data engineer evolving as AI and ML tooling becomes more capable?
Demonstrate self-awareness about which parts of your current work will be automated and where human judgment will remain irreplaceable.
Full answer + insider read in the complete set.Unlock all 100 · $9.99
// complete set

All 100 questions. Every model answer. Every insider read.

Walk in knowing what a senior answer sounds like - and what they're actually scoring.

$9.99
// one-time · instant access · lifetime · no subscription
// interview bootcamp: $5,000+ · 1:1 coach: $200/hour · this playbook: $9.99
Unlock all 100 for $9.99
14-day money-back guarantee. No questions asked.
// what happens when you pay
1Secure checkout opens. Card, Apple Pay, Google Pay or PayPal, processed by Stripe.
2All 100 unlock instantly. Your private link opens the moment payment clears.
3It's yours for good. The receipt email contains your permanent link. Lose it? Email us, we resend.
VISAMastercardAmexApple PayGoogle PayPayPal
// payment handled by Lemon Squeezy, our merchant of record. We never see your card details. Support: support@howto-playbooks.com
Common questions
Why not just ask ChatGPT?+
ChatGPT gives you a plausible answer. It does not tell you whether that answer makes an interviewer want to hire you. The whole product is the insider read: what they're really testing, how a junior answer sounds versus a senior one, and the follow-up they'll throw next.
Are these real interview questions?+
Yes. These are the questions that come up in data engineering loops at Amazon, Meta, Stripe, Databricks, Snowflake, and similar companies, covering SQL, modeling, pipelines, big data, data quality, and system design.
What's different from free question lists?+
Free lists give you questions. This gives you the model answer plus what the interviewer is actually scoring, the junior vs. senior tell, and the follow-up coming next.
What if it doesn't help?+
14-day, no-questions-asked refund. Email support@howto-playbooks.com with your order number and we refund in full.
What format is it?+
A single web page, bookmarkable, works on any device. All 100 questions expandable with answers and insider reads. Lifetime access.
How do I get access after paying?+
Instantly. The moment payment clears, your private link opens with all 100 questions and answers. Your receipt email contains the same permanent link, so you can come back anytime, on any device. If you ever lose it, email support@howto-playbooks.com and we resend it.
Is the payment secure?+
Yes. Checkout is handled by Lemon Squeezy, our merchant of record, with payments processed by Stripe, the same infrastructure used by Amazon and Shopify. Card, Apple Pay, Google Pay and PayPal are supported. Your card details never touch our servers.
// more playbooks: 100 questions each
$9.99 one-time
// 100 questions · insider reads · 14-day refund
Unlock all 100