Data Modeling

20 questions

Normalization, dimensional modeling, Data Vault, schema design patterns. The modeling questions that separate junior from senior data engineers.

1JuniorNormalizationAmazonJPMorganGoogle

Normal Forms: 1NF Through BCNF

Walk me through the normal forms from 1NF to BCNF. Give a concrete example of a table that violates 2NF and show how you'd fix it.

🔒
2JuniorNormalizationMetaNetflixUber

Denormalization Tradeoffs

When and why would you denormalize a data model? What are the risks?

🔒
3JuniorDimensional ModelingAmazonWalmartTarget

Star Schema Design

Design a star schema for an e-commerce company that wants to analyze sales by product, customer, store, and time.

🔒
4JuniorDimensional ModelingDeloitteAccentureIBM

Snowflake Schema vs Star Schema

What is a snowflake schema and when would you choose it over a star schema?

🔒
5SeniorDimensional ModelingAmazonGoldman SachsCapital One

Fact Table Types

Explain the three types of fact tables — transaction, periodic snapshot, and accumulating snapshot. When do you use each?

🔒
🔒 15 more premium questions
Upgrade to PRO — ₹1,499/month
6SeniorDimensional ModelingAmazonJPMorganSpotify🔒 Premium

Slowly Changing Dimensions (SCD Types 1–3)

Explain SCD Types 1, 2, and 3. When would you choose each? Walk me through implementing SCD Type 2.

🧠 What they're really testing
🔒
7JuniorSchema Design PatternsGoogleMetaStripe🔒 Premium

Surrogate Keys vs Natural Keys

Why do dimensional models use surrogate keys instead of natural (business) keys? Are there cases where natural keys are better?

🧠 What they're really testing
🔒
8SeniorDimensional ModelingAmazonWalmartTarget🔒 Premium

Degenerate and Junk Dimensions

What are degenerate dimensions and junk dimensions? Give examples of each.

🧠 What they're really testing
🔒
9SeniorSchema Design PatternsNetflixSpotifyAmazon🔒 Premium

Bridge Tables for Multi-Valued Dimensions

A patient can have multiple diagnoses per hospital visit. How do you model this in a star schema?

🧠 What they're really testing
🔒
10SeniorData VaultINGABN AMRODeloitteInsurance companies🔒 Premium

Data Vault 2.0: Hubs, Links, and Satellites

Explain the core components of Data Vault 2.0. When would you choose it over a Kimball star schema?

🧠 What they're really testing
🔒
11LeadData VaultSwedish Tax AgencyConsulting firms🔒 Premium

Anchor Modeling

What is anchor modeling and how does it differ from Data Vault? When would you consider it?

🧠 What they're really testing
🔒
12SeniorSchema Design PatternsUberNetflixAirbnb🔒 Premium

One Big Table (OBT) Pattern

Some modern data teams advocate for the 'One Big Table' (OBT) approach. What is it, and when does it make sense?

🧠 What they're really testing
🔒
13LeadSchema Design PatternsNarrator.aiStartup data teams🔒 Premium

Activity Schema Pattern

What is the Activity Schema pattern and how does it compare to traditional dimensional modeling?

🧠 What they're really testing
🔒
14SeniorSchema Design PatternsGoogleMetaAirbnb🔒 Premium

Wide Tables vs Normalized for Analytics

Your team debates wide flat tables vs normalized tables for the analytics layer. What's your recommendation and why?

🧠 What they're really testing
🔒
15SeniorReal ScenariosNetflixUberDatabricks🔒 Premium

Modeling for Spark and Data Lakes

How does data modeling differ when your target is a Spark-based data lake (Delta/Iceberg) vs a traditional RDBMS warehouse?

🧠 What they're really testing
🔒
16SeniorReal ScenariosAmazonNetflixSpotifyGoogle🔒 Premium

Modeling Clickstream Data

Design a data model for clickstream/event data from a web application. Consider both raw storage and analytical queries.

🧠 What they're really testing
🔒
17LeadReal ScenariosGoldman SachsJPMorganCapital OneStripe🔒 Premium

Modeling Financial Transactions

Design a data model for financial transactions that supports regulatory reporting, fraud detection, and customer analytics. What special considerations apply?

🧠 What they're really testing
🔒
18LeadReal ScenariosSalesforceStripeSnowflakeHubSpot🔒 Premium

SaaS Multi-Tenant Data Modeling

How would you model data for a multi-tenant SaaS analytics platform? Consider isolation, scalability, and query patterns.

🧠 What they're really testing
🔒
19SeniorSchema Design PatternsNetflixUberLinkedIn🔒 Premium

Schema Evolution Strategies

Your data model needs to evolve — new columns, changed types, removed fields. How do you manage schema evolution without breaking downstream consumers?

🧠 What they're really testing
🔒
20LeadDimensional ModelingGoldman SachsMcKinseyLarge enterprises🔒 Premium

SCD Types 4, 5, and 6

Beyond SCD Types 1–3, explain Types 4, 5, and 6. When would you use them in practice?

🧠 What they're really testing
🔒