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.

MediumTechnical
59 practiced

Explain the accumulating snapshot fact table pattern: one row per process instance, updated in place as it passes through milestones (for example order_id, created_date, shipped_date, delivered_date, status, and measures). Describe when it is appropriate, and how you would use it to report on time-to-fulfillment and funnel conversion.

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.

HardTechnical
37 practiced

Multiple business teams disagree on the definition of 'active user', and each dashboard currently computes it differently. As the person responsible for the dimensional models and metrics, design a process and schema approach to resolve the conflicting definitions, implement versioned metric definitions, and provide lineage so teams can see which definition a given dashboard uses.

MediumTechnical
40 practiced

List and describe five automated data-quality checks you would run nightly against a dimensional model to catch modeling-level defects: orphaned facts (a foreign key with no matching dimension row), duplicate surrogate keys, unexpected growth in dimension size, dimension rows missing a current_flag, and referential-integrity violations between facts and dimensions. For each, explain what you would do to remediate it.

MediumTechnical
28 practiced

You are designing a dimension table that contains personally identifiable information (PII) and it needs to be available for analytics while respecting privacy requirements. Describe modeling and access-control approaches (a conformed dimension with masked attributes, a view layer, or row/column-level security), and how you would document these choices in the data catalog.

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.