Question 1
In a data vault model, which component stores descriptive attributes and their history over time?
- Satellite — Correct
- Bridge
- Hub
- Link
Correct answer
Satellite
Explanation
Hubs store business keys, links store relationships between hubs, and satellites store descriptive attributes with load timestamps to track history.
Question 2
In a snowflake schema, the product dimension is split into product, sub_category and category tables. What is the main tradeoff compared with a star schema?
- Less redundancy in dimensions, but more joins at query time — Correct
- Fewer joins at query time, but more redundant dimension data
- No change in joins, but the fact table must be duplicated
- Faster queries in every case, because tables are smaller
Correct answer
Less redundancy in dimensions, but more joins at query time
Explanation
Snowflaking normalizes dimensions, reducing redundancy, but queries need more joins. Star schemas are usually preferred for BI performance and simplicity.
Question 3
A business user asks for a single definition of 'net revenue' that every dashboard and Genie space uses consistently, with the formula maintained in one place in Unity Catalog. Which object best meets this need?
- A temporary view created at the start of each dashboard dataset
- A saved query in each user's workspace folder with the formula
- A metric view that defines the net revenue measure and its dimensions — Correct
- A shallow clone of the revenue table for each consuming team
Correct answer
A metric view that defines the net revenue measure and its dimensions
Explanation
Metric views define governed measures and dimensions once in Unity Catalog. Dashboards, Genie spaces and SQL queries reference the measure (with the MEASURE() function), so the logic stays consistent.
Question 4
An analyst designs a gold layer for reporting. A fact table holds order lines and joins directly to denormalized dimension tables for date, product and customer. Which model is this?
- Snowflake schema
- Star schema — Correct
- Data vault
- Third normal form
Correct answer
Star schema
Explanation
A star schema has a central fact table joined to denormalized dimension tables. A snowflake schema normalizes dimensions into multiple related tables.
Question 5
Which statement about primary and foreign key constraints on Unity Catalog tables is correct?
- They are informational and not enforced — Correct
- They automatically create indexes
- They are enforced and reject duplicate keys
- They are only allowed on external tables
Correct answer
They are informational and not enforced
Explanation
Primary and foreign key constraints in Unity Catalog are informational and not enforced, but they help BI tools, Genie and the optimizer understand relationships.
Question 6
Why might a data team keep a snowflake schema in silver but expose star schemas in gold?
- Gold tables cannot have foreign keys
- Snowflake schemas are required for Delta Lake
- Star schemas cannot be created in silver
- Normalized silver eases integration; star schemas in gold speed BI — Correct
Correct answer
Normalized silver eases integration; star schemas in gold speed BI
Explanation
A common pattern is to integrate in more normalized forms and present denormalized, consumption-friendly models in gold.
Question 7
A star schema gold model has a fact table fact_sales and dimension dim_date. Which query style is typical for BI?
- Store all attributes in the fact table and avoid joins
- Query only the dimension tables
- Join dimensions to each other without the fact table
- Join the fact to dim_date, filter on date attributes, aggregate — Correct
Correct answer
Join the fact to dim_date, filter on date attributes, aggregate
Explanation
BI queries typically join the fact table to dimensions, filter on dimension attributes and aggregate fact measures.
Question 8
A gold-layer table joins orders with customers and computes revenue by segment. Customer segments are updated occasionally, and these changes must be reflected in the result. Which object is the better fit?
- A temporary view, because it persists across sessions for all users
- An external table, because it can be refreshed incrementally from any source
- A materialized view, which keeps the whole result correct as sources change — Correct
- A streaming table, because it processes each source row exactly once
Correct answer
A materialized view, which keeps the whole result correct as sources change
Explanation
Materialized views keep the result of the defining query correct as sources change, including updates to dimension data. Streaming tables process each new input row once and do not reprocess older results when a joined table changes.
Question 9
Which statement best describes how the medallion architecture relates to dimensional modeling?
- Bronze holds star schemas, silver holds raw files, and gold holds data vault hubs and links
- Bronze is raw, silver is cleaned and conformed, gold holds business models such as star schemas — Correct
- Dimensional models replace the medallion layers, so only one layer is used
- Each layer must use a different storage format: CSV for bronze, Parquet for silver and Delta for gold
Correct answer
Bronze is raw, silver is cleaned and conformed, gold holds business models such as star schemas
Explanation
The medallion architecture progressively refines data. Gold is typically where consumption-ready models such as star schemas and aggregates live; all layers are usually Delta tables.
Question 10
An analyst wants AI/BI dashboards to use consistent definitions of 'active customer' across many dashboards. Which approach is best?
- Use a different SQL warehouse per dashboard
- Ask each dashboard owner to define the logic in a text widget
- Define it once as a metric view or gold table — Correct
- Copy the SQL into each dashboard dataset
Correct answer
Define it once as a metric view or gold table
Explanation
Centralizing business logic in Unity Catalog objects such as metric views ensures consistency and easier maintenance.