โ† All Data Engineering Flashcard Decks

Data Modeling and Schema Design Flashcards

6 cards from real Data Engineering practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Data Modeling and Schema Design flashcards as text
  1. Which schema design uses a central fact table surrounded by multiple dimension tables with no normalization of dimensions?

    Answer: Star schema

    A star schema has a central fact table directly joined to denormalized dimension tables, resembling a star shape.

  2. In a snowflake schema, dimension tables are normalized into multiple related tables primarily to:

    Answer: Reduce storage redundancy

    Snowflake schemas normalize dimensions to reduce data redundancy, trading query simplicity for storage efficiency.

  3. What is a surrogate key in dimensional modeling?

    Answer: A system-generated integer used as the primary key for a dimension

    A surrogate key is a system-generated (usually integer) identifier assigned to dimension records, independent of source system keys.

  4. Which modeling approach is best suited for ad-hoc analytics and is optimized for read performance in data warehouses?

    Answer: Dimensional modeling

    Dimensional modeling (Kimball approach) uses denormalized star/snowflake schemas optimized for analytical read queries.

  5. In data vault modeling, which component stores the unique business keys and acts as the hub of integration?

    Answer: Hub

    Hubs in data vault modeling store unique business keys and serve as the integration point between different source systems.

  6. What does a 'degenerate dimension' refer to in dimensional modeling?

    Answer: A dimension key stored in the fact table with no corresponding dimension table

    A degenerate dimension is a dimension attribute (like an order number) stored directly in the fact table without a separate dimension table.