Data Modelling & Warehousing Interview Questions for Data Analytics
28 Data Modelling & Warehousing questions with answers for data analytics roles — 8 easy, 11 medium, 9 hard.
About Data Modelling & Warehousing
This topic covers how analytical data is organised: fact and dimension tables, grain, keys, slowly changing dimensions, ETL and ELT, and warehouse performance. Interviewers ask it because analysts who understand the model write correct queries, avoid double counting and build faster dashboards. Expect concept questions for freshers and design scenarios for mid and senior roles.
What is a snowflake schema and when would you choose it over a star schema?
Show answer
What is the difference between a surrogate key and a natural key?
Show answer
What is a degenerate dimension?
Show answer
What is the difference between ETL and ELT?
Show answer
What is the difference between OLTP and OLAP systems?
Show answer
Write a CREATE TABLE statement for a sales fact table linked to date, product and store dimensions.
Show answer
What is a data mart?
Show answer
What is the grain of a fact table and why should you decide it first?
Show answer
What are additive, semi-additive and non-additive facts?
Show answer
What is a conformed dimension?
Show answer
What is a role-playing dimension?
Show answer
Write SQL to generate a simple date dimension for 2026.
Show answer
Orders arrive in the warehouse with customer IDs that do not exist yet in the customer dimension. What do you do?
Show answer
A query on a 2-billion-row fact table in a cloud warehouse scans the whole table even when you filter one week. How do you fix it?
Show answer
What is columnar storage and why do analytical warehouses use it?
Show answer
What is the medallion architecture (bronze, silver, gold)?
Show answer
A junior analyst wants to load one huge flat table with every column into Power BI instead of a star schema. How do you advise them?
Show answer
Tell me about a time you designed or improved a data model.
Show answer
What is a junk dimension?
Show answer
What is a factless fact table? Give an example.
Show answer
What are transaction, periodic snapshot and accumulating snapshot fact tables?
Show answer
What is an enterprise bus matrix?
Show answer
Write SQL to get each order's customer city as it was on the order date, using an SCD Type 2 customer dimension.
Show answer
What is a bridge table and when do you need one?
Show answer
Write SQL to incrementally load new and changed products into a dimension using MERGE.
Show answer
Leadership wants sales by store manager, but managers move between stores every few months. How would you model it?
Show answer
Actual sales are at order-line level but targets are set per region per month. How do you model them together?
Show answer
Frequently asked questions
How important is Data Modelling & Warehousing in Data Analytics interviews?
This topic covers how analytical data is organised: fact and dimension tables, grain, keys, slowly changing dimensions, ETL and ELT, and warehouse performance. Interviewers ask it because analysts who understand the model write correct queries, avoid double counting and build faster dashboards. Expect concept questions for freshers and design scenarios for mid and senior roles.
How should I use the Data Modelling & Warehousing sheet?
Go top to bottom — easy to hard. Answer before opening each answer, tick what you solved and save misses to Last-Minute Revision.