MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. Data Engineering Fundamentals
  3. Data Modelling for Analytics: Facts, Dimensions and Star Schemas
Public deck

Data Engineering Fundamentals

How data engineers build and run the pipelines that move and shape data for analytics. Covers dimensional modelling, warehouses and lakes, batch and streaming pipelines, Spark, Kafka, Airflow, dbt and analytical SQL.

Engineering
AShared by Alex Chen
0PlaySign in to clone

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

Data Modelling for Analytics: Facts, Dimensions and Star Schemas

How analytical data is organised into fact and dimension tables, and how dimensions keep or discard history when source data changes.

Play topicBack to deck

Content

40 total questions

MCQ: 10
Fill-in: 8
Flashcards: 12
Pair match: 10
Data Modelling for Analytics: Facts, Dimensions and Star Schemas – Flashcards
Flashcards

Card #1

Fact table

Card #2

Dimension table

Card #3

Grain of a fact table

9 more questions in this game

Showing 3 of 12. Sign up free to see the rest.

Sign up freeLog in
Data Modelling for Analytics: Facts, Dimensions and Star Schemas – MCQ
Multiple Choice Questions
  1. 1. Your orders fact table has one row per order, and the business now wants revenue broken down by product. What is the underlying problem?

    • The product dimension is too wide and must be snowflaked into category tables before any join
    • Revenue is stored as a non-additive measure, so it can never be grouped by product attributes
    • The grain is too coarse: products sit on order lines, so the fact should be one row per line
    • The fact table lacks a surrogate key of its own, so it cannot be joined to the product table
  2. 2. After loading dim_customer as a Type 2 dimension, SELECT COUNT(*) FROM dim_customer returns more than the number of real customers. Why?

    • Every tracked change added another row for the same customer, so you should count distinct natural keys
    • Surrogate keys are reused when customers leave, so old and new customers end up sharing the rows
    • The join from the fact table multiplied the dimension rows when the count was taken on the table
    • Type 2 copies the previous value into an extra column, which doubles the row count on every load
  3. 3. A sale is loaded into a fact table whose customer dimension is Type 2. Which customer key should the fact row store?

    • The natural key from the source system, so the join keeps working after changes
    • The surrogate key of the newest customer version, updated whenever it changes
    • The surrogate key of the very first version that was loaded for that customer
    • The surrogate key of the customer version that was current when the sale happened
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in
Data Modelling for Analytics: Facts, Dimensions and Star Schemas – Fill-in-the-blank
Fill in the Blank
  1. 1. Bill Inmon argued for a normalised enterprise data warehouse built first, an approach usually contrasted with Ralph ___'s dimensional approach.

    Answer:Kimball

    Hint: Author of The Data Warehouse Toolkit

  2. 2. Third normal form exists mainly to prevent update ___, where a fact stored in two places is changed in only one of them.

    Answer:anomaliesalso: anomaly

    Hint: Inconsistencies caused by redundancy

  3. 3. An ___ table is a pre-summarised copy of a fact table, such as daily sales by store, built to speed up common queries.

    Answer:aggregatealso: aggregated, summary

    Hint: Totals rolled up from detail rows

5 more questions in this game

Showing 3 of 8. Sign up free to see the rest.

Sign up freeLog in
Data Modelling for Analytics: Facts, Dimensions and Star Schemas – Pair match
Pair Match
Transaction fact table↔One row per event, such as a single sale or payment
Periodic snapshot fact table↔One row per entity per period, such as a daily account balance
Accumulating snapshot fact table↔One row per process instance, updated as milestones are reached
7 more questions in this game

Showing 3 of 10. Sign up free to see the rest.

Sign up freeLog in