10 questions · STAR-scored

Data Engineer Interview Questions

The questions data engineers actually get asked — with STAR-structured sample answers you can rewrite in your voice. Practice the rooms before you're in them.

The questions

1
Behavioral
Tell me about a pipeline you owned that kept breaking, and how you stabilized it.
Show sample answer

A nightly ingestion DAG failed roughly twice a week from upstream schema drift. I added contract tests and a quarantine step so bad records were isolated instead of failing the whole run, and I set up alerts on the source schema. Failures dropped to near zero and analysts stopped getting paged. The fix was treating data quality as a first-class part of the pipeline, not an afterthought.

2
Behavioral
Describe a time you had to balance pipeline cost against freshness.
Show sample answer

Stakeholders wanted real-time dashboards, but streaming everything would have tripled our warehouse bill. I profiled which datasets actually needed sub-minute freshness versus hourly, and used streaming only for the fraud-critical feeds. That gave the business what it needed while keeping cost flat. I framed it as matching freshness to business value rather than defaulting to real-time everywhere.

3
Behavioral
Tell me about a time you had to push back on a data request.
Show sample answer

An analyst asked for a one-off pipeline that duplicated logic in three existing marts. Instead of building a fourth, I showed how a small change to an existing dbt model met their need and reduced maintenance. They got their data faster and we avoided drift between near-identical tables. I try to consolidate rather than proliferate pipelines.

4
Behavioral
Give an example of improving trust in a dataset.
Show sample answer

Finance stopped trusting a revenue table after numbers shifted unexpectedly. I traced it to a late-arriving-data issue, added row-count and freshness checks, and published a documented SLA. I also exposed the lineage so they could see exactly where each number came from. Once they could verify the numbers themselves, adoption recovered.

5
Behavioral
Describe a migration you led and how you minimized risk.
Show sample answer

We moved from on-prem Hadoop to Databricks. I ran the two systems in parallel and reconciled outputs row-by-row before cutting over a dataset, migrating in slices rather than all at once. When a discrepancy appeared I could isolate it to one table instead of the whole platform. The phased approach meant zero analyst-visible breakage.

6
Behavioral
Tell me about a time you simplified an over-engineered system.
Show sample answer

We had a custom Scala framework wrapping Spark that only one person understood. I replaced the common patterns with standard dbt models and Airflow operators that the whole team could maintain. Onboarding time for new pipelines dropped from days to hours. I optimized for the team's ability to operate it, not for cleverness.

7
System design
Design a data pipeline to ingest clickstream events and serve them for both real-time and batch analytics.
Show sample answer

I'd land events in Kafka, then fork into two paths: a streaming consumer writing to a real-time store for dashboards, and a batch sink to cloud storage as the immutable raw layer. From storage I'd run Spark/dbt transformations into a warehouse with bronze/silver/gold layering. This lambda-style split gives low-latency views plus reprocessable history, with schema validation at the Kafka boundary.

8
Technical
How would you model slowly changing dimensions in a warehouse?
Show sample answer

For attributes where history matters, I'd use SCD Type 2: each change creates a new row with effective-from/effective-to dates and a current flag, so facts join to the version that was valid at event time. For attributes where only the latest value matters, Type 1 overwrites in place. dbt snapshots handle Type 2 cleanly. The choice depends on whether the business needs to reconstruct the past.

9
Technical
Your Spark job is suddenly running 5x slower. How do you diagnose it?
Show sample answer

I'd open the Spark UI and look for skew — a few tasks taking far longer than the rest usually points to an unbalanced join key. I'd also check for excessive shuffles, spills to disk from undersized executors, and small-file problems on read. Often the fix is repartitioning on a better key, salting a skewed join, or right-sizing partitions.

10
Technical
When would you choose ELT over ETL?
Show sample answer

ELT loads raw data into the warehouse first and transforms in-place using the warehouse's compute, which suits modern cloud warehouses like Snowflake or BigQuery where storage is cheap and SQL transforms are scalable. ETL transforms before loading, which makes sense when the target is constrained or when you must mask sensitive data before it lands. Most new stacks favor ELT with dbt for transparency and easy reprocessing.

How to prepare — the STAR rubric

Every strong behavioral answer follows the same four-part structure: Situation(the context — 2 sentences), Task (what success looked like — 1 sentence),Action (what you actually did, 3-5 specific steps), and Result(the measurable outcome). Most candidates over-invest in Situation and under-invest in Result. The Result is where the interviewer scores you.

Watch-outs specific to data engineer interviews

Run a data engineer mock interview — free.

Voice or text. Per-answer STAR scoring. Saved across devices.

Start free
Continue your Data Engineer prep
About this guide
The ApplyVita Career Team

The ApplyVita Career Team builds the resume-scoring and job-matching tools at the core of ApplyVita. Our guidance is grounded in the same four-component ATS rubric our product scores resumes on — content and impact, keyword match, formatting, and skills — and in current recruiter and hiring-manager practice. Every guide is checked against that rubric before it is published, and updated as hiring norms change.

Salary figures are estimates informed by publicly reported data from Glassdoor, Levels.fyi, AmbitionBox, LinkedIn Salary and others — negotiation anchors, not guarantees.Read our editorial standards, sourcing & corrections policy →