Dimensional Modeling and Schema Design Questions

Designing analytical schemas: star and snowflake schemas, fact and dimension tables, grain selection, slowly changing dimensions, and normalization vs denormalization for analytics. Covers modeling business requirements into queryable structures and schema design for large datasets. The data-modeling backbone of BI and warehouse work.

EasyTechnical
33 practiced

What is a role-playing dimension? Using the example of order_date, ship_date, and delivery_date all referencing the same underlying date dimension, explain how you would model this so users can filter and aggregate on each date role independently in a BI tool without duplicating the date dimension physically.

EasyTechnical
33 practiced

What is a degenerate dimension? Give an example from an order-processing pipeline (such as an order number with no corresponding dimension table), and explain why you would choose to keep an attribute as a degenerate dimension on the fact table rather than moving it into its own dimension table.

EasyTechnical
34 practiced

Explain Slowly Changing Dimensions (SCD) Types 0, 1, 2, and 3. For each type, describe how it preserves or discards history, how you would implement it in an ETL/ELT pipeline, and give a concrete business scenario where that type is the right choice (for example, a fixed attribute that never changes, a corrected typo that should overwrite, a full historical trail like an address change, or a limited one-prior-value case like a sales territory reassignment).

EasyTechnical
33 practiced

Describe the role of primary keys and foreign keys in a dimensional model, and how BI tools (such as Power BI, Tableau, or Looker) use those relationships to enable filtering, cross-filtering, drill-down, and aggregation. What goes wrong in a dashboard when a relationship is missing or misconfigured?

MediumTechnical
30 practiced

What are conformed dimensions, and why do they matter once you have multiple fact tables or data marts (for example, sales, returns, and shipments)? Describe a concrete plan to implement conformed customer and product dimensions so that revenue, support, and marketing dashboards all report consistent attributes and totals, and how you would detect and prevent divergence across teams over time.

Unlock Full Question Bank

Get access to all 48 Dimensional Modeling and Schema Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.