LakehouseLakehouseTalent Ecosystem

Data engineering — a Lakehouse ecosystem

Data Modeling Interview Questions That Test Real Skill

Riley Spraggs ·

A person drawing a pink flowchart diagram on a whiteboard during a planning session.

Most interviews for lakehouse roles still test whether someone can write a window function. That is the wrong test. AI writes the SQL now — what it cannot do is decide what a row means. The data modeling interview questions worth your 60 minutes are the ones that force a candidate to commit to a grain, defend a fact table boundary, and explain what happens to history when a customer’s region changes. Get that wrong at the hiring stage and you get it wrong in production, where 71% of data teams already worry about incorrect numbers reaching stakeholders — and a bad grain is one of the most reliable ways to produce them.

What are the best data modeling interview questions for data engineers?

The best ones have no single right answer and force a trade-off. You are not checking whether someone memorised Kimball; you are checking whether they can reason out loud about a model they have to live with for three years.

Start with these five, in roughly this order:

Question What it actually tests
“Walk me through how you’d choose the grain of a fact table for our order pipeline.” Whether grain is their first decision or an afterthought
“When would you snowflake a dimension instead of keeping it flat?” Whether they can argue both sides or just recite one
“A customer moves from the SMB segment to Enterprise. What happens in your model?” SCD reasoning under a concrete change
“Our silver layer has 40 tables and the gold layer has 400. What went wrong?” Medallion discipline and semantic ownership
“Analytics says the revenue number is wrong. Where do you look first, and why?” Debugging a model rather than a query

Notice none of them mention Delta or Iceberg syntax. That is deliberate — only 9% of teams report running Iceberg in production, so screening on open-table-format trivia filters for people who read release notes, not people who can model. Ask about file formats, partitioning and liquid clustering as a follow-up to a design decision, never as the opening question. If table-format depth genuinely matters for the role, run it as a separate round — the Delta and Iceberg skills questions belong in their own conversation.

What scenario-based data modeling questions should you ask?

Abstract questions get rehearsed answers. Scenarios get real ones. Give the candidate a messy, half-specified business situation and watch what they ask you before they draw anything.

The subscription billing scenario

“We sell annual subscriptions. Customers upgrade mid-term, downgrade, pause and churn. Finance wants MRR by month, by plan, by region. Design the fact table.”

The trap is that “subscription” is not a grain. A strong candidate will ask whether you need a transaction-grain fact (one row per billing event) or a periodic snapshot (one row per subscription per month), and will probably propose both — a snapshot fact for MRR reporting and a transaction fact for the audit trail. A weak candidate draws one table called fact_subscriptions and starts naming columns.

The late-arriving dimension scenario

“An order arrives referencing a product SKU that does not exist in our product dimension yet. What do you do?”

This is the question that separates people who have run a pipeline at 3am from people who have only designed one. Inferred member rows, a -1 unknown key, a reconciliation job, and a monitor on the count of unknown keys — that is the shape of a good answer. “I’d fail the load” is an answer too, but only if they can say what the business impact of failing is and who they’d tell.

The changing attribute scenario

“Sales reps get reassigned to new territories every quarter. Commission reporting must reflect the territory at the time of sale. Regional headcount planning must reflect today’s territory. One model, both requirements.”

This is a Type 2 dimension with a current-row view on top, and the answer should include the surrogate key, the effective/expiry dates, the current flag, and — crucially — which key the fact table carries. Candidates who understand why the fact stores the surrogate key and not the natural key have modelled history before. Candidates who say “I’d just add an updated_at column” have not.

How do you test star schema and dimensional modeling skill?

Make them choose. Star versus snowflake is the oldest question in the book and still the most revealing, because the honest answer in a lakehouse is “it depends on the dimension’s cardinality, the governance story and how often it changes” — not “star, always, because joins are expensive.”

A useful probe: “We have a product dimension with 12 million rows and a 400-level category hierarchy that marketing restructures twice a year. Flat or snowflaked?” There is a real case for normalising the hierarchy out so marketing’s restructure touches one table instead of rewriting 12 million rows. There is also a real case for keeping it flat and rebuilding nightly because compute is cheap and the BI tool chokes on five-table joins. You want to hear the candidate weigh both and pick one, then tell you what they’d monitor to know if they picked wrong.

Anyone who answers “star schema” before you finish describing the problem has not understood the problem.

Then push on normalization versus denormalization in the gold layer specifically. Medallion architecture gives candidates somewhere to hide — “we denormalize in gold” is true and meaningless. Ask what belongs in silver, what belongs in gold, and who owns the boundary. The answer you want names a conformed-dimension strategy and admits that gold tables proliferate unless someone says no. The work sample that scores whether that star schema holds is in data warehouse engineer skills.

What do strong answers to data modeling interview questions sound like?

The difference is rarely vocabulary. Weak candidates use the right words in the wrong order. Here is what to listen for across the five core areas:

Topic Weak answer Strong answer
Grain “One row per order.” Full stop. “One row per order line per fulfilment event — because partial shipments exist and finance needs to tie to the invoice line.”
Fact design Lists every available column Distinguishes additive, semi-additive and non-additive measures and says which ones cannot be summed across time
Dimensions “Dimensions are descriptive attributes” Names a conformed dimension, explains degenerate dimensions, handles the unknown member
SCD “Type 2 is the best one” Picks Type 1, 2 or a hybrid per attribute and justifies the storage and query cost of each
Denormalization “Storage is cheap” Ties the choice to query patterns, refresh cadence and who gets paged when the rebuild fails
Medallion Describes bronze/silver/gold as a diagram Explains what is not allowed in each layer and who enforces it

The tell is almost always the second question. Strong candidates get more specific when you push; weak ones get more abstract. If an answer retreats into architecture-diagram language the moment you ask for a column name, you have found the ceiling.

This matters more now than it did three years ago. Production model registrations grew 1,018% year over year, which means the dimension tables your new hire designs are feeding features and agents, not only dashboards — and a mishandled Type 2 silently changes what a model learns. If the role touches both sides, the analytics-engineering interview set pairs well with this one.

What take-home or whiteboard exercise actually works?

Keep it to 45 minutes of work. Longer take-homes select for unemployed candidates, not good ones, and the specialists worth hiring are currently employed.

The brief. Give them four raw table definitions — orders, order_lines, customers, products — with deliberate flaws: a customer table with no history, a product table where SKU is reused after discontinuation, timestamps in two time zones, and a nullable region column. Ask for a target dimensional model, the grain of each fact, the SCD type per dimension attribute, and a one-paragraph note on what they’d push back on.

What you score. Not the diagram. Score the pushback paragraph. Did they catch the reused SKU? Did they notice that the nullable region breaks territory reporting? Did they ask whether “customer” means account or contact? That is the judgment you are buying.

The whiteboard variant. If you prefer live, hand them a model that is already wrong — a fact table at order grain with a quantity_shipped column that is sometimes double-counted — and ask them to find the bug and fix it. Reviewing and correcting a broken model is a harder, more honest skill than drawing a clean one from scratch, and it is the same muscle developers are straining daily: 45% say debugging AI-generated code is their top frustration. The candidate who enjoys that exercise is the one you want.

Allow them to use an LLM, out loud, and watch what they do with the output. That is more informative than banning it. For the full 90-minute structure around these exercises, the lakehouse vetting walkthrough lays out the sequencing. For the platform half of that loop on Snowflake, use the Snowflake interview questions.

What are the red flags in a data modeling interview?

  • Grain comes last. If they name columns before they name the grain, every downstream number is a coin flip.
  • One Big Table as a default. OBT is a legitimate serving pattern. As an answer to every question, it means they have never maintained a model through a business reorganisation.
  • No opinion on SCD. Saying “Type 2 everywhere” costs storage and query complexity on attributes nobody asks history for. Saying “Type 1 everywhere” throws away audit trails. Both are red flags; the absence of a per-attribute view is worse.
  • Tool-first answers. Describing dbt macros, Unity Catalog or materialized views in response to a modeling question is a vocabulary check, not a design.
  • No monitoring instinct. Ask “how would you know this model broke?” — if the answer is “the dashboard would look odd,” they have not owned production.
  • Can’t explain a past mistake. Everyone who has modelled seriously has shipped a bad grain once. Candidates who cannot name theirs either have not shipped much or will not tell you when it happens again.

The cost of guessing wrong here is not abstract. US median pay for database architects is $139,500 a year — and that is the salary line alone, before you count the quarter spent rebuilding a model that was wrong at the grain. Deciding whether you need a modeller or an engineer first is its own question, and the modeller-versus-engineer split is worth settling before you open the role.

How should candidates prepare for a data modeling interview?

If you are on the other side of the table, the preparation is not flashcards. It is being able to narrate a model you built, including what you got wrong.

Have three stories ready: one where you chose a grain and it held, one where you chose a grain and had to migrate, and one where you argued against a requirement and were right. Be able to draw a star schema from memory in under five minutes, name the SCD type for each attribute and say why, and explain the difference between a transaction fact, a periodic snapshot and an accumulating snapshot without reaching for a reference.

And expect to be asked how you use AI. Three quarters of developers — 75.3% — say they do not trust AI answers, which is a defensible position interviewers share. The answer that lands is specific: you generate the DDL, then you check grain, keys and null handling by hand, because the model does not know what a row is supposed to mean in your business. That is the whole job in one sentence.

FAQ

What is the single best data modeling interview question?

Ask for the grain first. A strong candidate names the grain of a fact table before naming a single column, because grain determines what a row means and therefore whether every downstream number is correct. Weak candidates draw tables and columns, then back into the grain afterwards.

Should you test Delta or Iceberg knowledge in a data modeling interview?

Rarely, and not as an opening question. Only 9% of teams report running Iceberg in production, so open-table-format trivia screens for people who read release notes rather than people who can model. Ask about file format, partitioning and clustering as a follow-up to a design decision instead.

How long should a data modeling take-home be?

Cap it at 45 minutes of work. Longer take-homes select for unemployed candidates rather than good ones, and the strongest specialists are usually already employed. Give four flawed raw table definitions and score the pushback paragraph, not the diagram.

Should candidates be allowed to use AI during the exercise?

Yes, and watch what they do with the output. Three quarters of developers — 75.3% — say they do not trust AI answers, so the signal you want is whether the candidate verifies grain, keys and null handling by hand after generating DDL.

What are the biggest red flags in a data modeling interview?

Grain coming last, One Big Table as a default answer to every question, no per-attribute opinion on slowly changing dimensions, tool-first answers that name dbt or Unity Catalog instead of a design, and no instinct for how they would know the model broke in production.

Databricks, Snowflake, Microsoft Fabric, Apache Spark and dbt are trademarks of their respective owners, used here only to describe specialists’ experience. Lakehouse is an independent talent network operated by Sloane Staffing; none of these vendors endorses or sponsors this site.

Hiring for modeling judgment, not SQL syntax?

Search the data engineering network