What you will be able to do
- Explain what the bronze, silver and gold layers each hold, and who each layer is for
- Place third-normal-form and data vault models in the silver layer, and say why bronze and gold are the wrong homes for them
- Explain why a Kimball-style star schema, not a snowflake schema, is the usual gold-layer model for BI
- Recognise gold-layer data marts and pre-aggregated tables, such as a weekly materialized view, and explain why they exist
Key concept
Medallion architecture — A design pattern that arranges lakehouse tables into bronze (raw), silver (validated) and gold (enriched) layers. Data quality goes up at each hop, and the shape of the data model changes from source-shaped, to normalized and integrated, to denormalized and ready for business use.
1.Three layers of increasing data quality
The medallion architecture splits lakehouse data into three layers, named bronze, silver and gold. Each layer holds data that is more trustworthy than the layer before it. Data flows in one direction, bronze to silver to gold, and every hop adds structure and quality. The pattern is also called a multi-hop architecture. Databricks recommends it as a best practice, but you don't have to use it.
The layers differ in more than cleanliness. Each one does a different job, serves different people, and suits a different kind of data model. Bronze is for raw ingestion, and its main users are data engineers, data operations, and compliance and audit teams. Silver is for cleaning and validation. Data engineers, data scientists and analysts use it when they need refined data that still keeps full detail. Gold is for dimensional modeling and aggregation. Its users are business analysts, BI developers, executives and operational teams.
In Unity Catalog, a common layout gives each layer its own schema within one catalog. For example, an operations team might have ops.bronze, ops.silver and ops.gold. The layer a table sits in tells a reader what to expect from it: what it holds, how clean it is, and how it is modeled.
| Layer | What happens here | Typical model | Who it serves |
|---|---|---|---|
| Bronze | Data lands from source systems | Table structures match the source system "as-is", plus metadata columns | Data engineers; reprocessing and audit |
| Silver | Data is matched, merged, conformed and cleansed | 3rd-Normal Form like or Data Vault-like, write-performant models | Departmental Analysts, Data Engineers and Data Scientists |
| Gold | Final transformations and data quality rules are applied | Kimball style star schemas or Inmon style Data marts; de-normalized and read-optimized | Reporting, analytics and machine learning |
Checkpoint 1 of 8· Match them up
Match each medallion layer to the data model that typically fits it
Tap a term, then the definition that fits it.
Bronze keeps raw data in its source shape. Silver is where data is matched, merged and conformed, so normalized and Data Vault-style models fit there. Gold is denormalized and built for fast reads, so it uses star schemas and data marts for reporting.
“the Silver Layer has more 3rd-Normal Form like data models. Data Vault-like, write-performant data models can be used in this layer.”Source: www.databricks.com
Sources1
2.Bronze keeps the source shape; silver integrates the enterprise
Bronze tables are not modeled. They keep the source system's own table structures and add metadata columns such as the load time or the source file name. No cleanup or validation happens here. Databricks recommends storing most fields as string, VARIANT or binary so that an unexpected schema change in a source can't drop data. Bronze keeps the full history so that data can be reprocessed and audited. It is meant to feed the jobs that build silver tables, not to be queried by analysts.
This rules bronze out as the place for deduplication, type standardization or enterprise-wide conformance rules. Each of those is a transformation, and bronze exists precisely to hold data before any transformation. A star schema in bronze would be wrong for the same reason: it would mean reshaping data that is supposed to stay as-is.
Silver is where data cleaning, deduplication and normalization happen. Silver jobs read from bronze (or from other silver tables) and apply schema enforcement, null handling, deduplication, type casting, data quality checks and joins. Databricks advises against writing to silver straight from ingestion, because schema changes and corrupt records in the sources would then break the silver tables. The result is an "Enterprise view" of the business: master customers, stores, deduplicated transactions and cross-reference tables that many teams share.
Because silver's job is integration, its models are normalized. Normalized means attributes are split into separate linked tables, so each is kept in one place; that reduces redundancy but usually costs more joins at read time. Silver models are closer to third normal form (3NF), and Data Vault-style models fit here too. A data vault (hubs, links, satellites) splits each entity into a business key, its relationships and its descriptive history, which suits a layer that keeps everything at full detail. Silver should always hold at least one validated, non-aggregated version of every record. That is why history-preserving models belong in silver and not in gold.
Silver is also where data modeling usually starts. Choices about how to represent nested or semi-structured data are made here: keep it as VARIANT or JSON strings, build structs, maps and arrays, or flatten and normalize it into several tables. In the lakehouse ELT style, only "just-enough" cleansing is done on the way into silver. The heavier, project-specific business rules are applied on the way from silver to gold.
Checkpoint 2 of 8· Check yourself
A team ingests customer records from three source systems. They need to remove duplicates, cast columns to standard types, and give every department one shared customer entity. Where and how should this work be done?
Deduplication, type casting and enterprise-wide conformance are transformations, so they belong in silver. Silver uses a normalized, 3NF-like model built from bronze. Bronze keeps the source shape with no cleanup, a denormalized star schema is the gold model, and Databricks advises against writing to silver straight from ingestion.
“Is where you perform data cleansing, deduplication, and normalization.”Source: docs.databricks.com
Checkpoint 3 of 8· Exam question
An analytics engineer is deciding where in the Medallion Architecture to apply deduplication, standardized column types, and enterprise-wide conformance rules to data that already exists in the Bronze layer. Which layer should own this work, and what data modeling characteristic should it use?
Correct answer: A — The Silver layer should own this work, using a normalized model closer to third normal form so multiple downstream teams share one consistent, conformed version of each entity.
- A. Deduplication and enterprise-wide conformance are Silver layer responsibilities, and Silver typically uses a normalized model similar to third normal form so many teams can build on one shared, cleansed version of each entity before it is denormalized further downstream.
- B. Bronze exists to capture source data as-is with minimal transformation for auditability and rapid ingestion; applying conformance rules and a star schema at Bronze would defeat its purpose as an untouched historical record.
- C. Hub, link, and satellite tables describe data vault modeling, and conformance cleanup is not the Gold layer's role; Gold consumes already-conformed Silver data to produce business-level aggregates, not raw audit trails.
- D. Silver and Gold serve different purposes and typically use different structures: Silver favors a normalized, conformed model while Gold favors a denormalized, aggregate-ready one, so treating them as interchangeable misrepresents both layers.
Checkpoint 4 of 8· Exam question
A regulated financial services company must retain a complete, auditable history of every change to its source systems before that data is ever reshaped for reporting. The data team plans to load hub, link, and satellite tables that capture every historical source record, then later transform that data into a simplified structure for business dashboards. Where do these two modeling steps map within the Medallion Architecture?
Correct answer: A — The hub, link, and satellite tables belong in the Silver layer to preserve full historical lineage, and the simplified reporting structure is built afterward in the Gold layer for dashboards.
- A. Data vault's hub, link, and satellite tables are designed to preserve auditable, historical lineage from conformed source data, which fits the Silver layer's role, while the simplified dimensional structure for dashboards is built afterward as the Gold layer.
- B. Bronze holds source data captured as-is with minimal transformation; building hub, link, and satellite structures requires conforming and linking entities, which is Silver-layer work that Bronze is not designed to perform.
- C. Historical detail is not exclusive to Gold, and Gold is meant to be the final, business-ready consumption layer, not an intermediate stop that data then moves backward out of into Silver.
- D. The Medallion Architecture keeps Bronze, Silver, and Gold as distinct layers with different purposes; data vault structures and dimensional reporting structures are modeling patterns applied within existing layers, not replacements for the layers themselves.
3.Why the star schema is the gold-layer model for BI
Gold is where data is modeled for reporting with a dimensional model. Gold models are denormalized, built for fast reads, and need fewer joins than silver. Silver is shaped so that many sources can be written into it consistently. Gold is shaped so that dashboards and analysts can read from it quickly. Gold tables are optimized for performance because they are queried so often.
The Kimball-style star schema (facts and dimensions) is the usual gold model. It has one central fact table, and each dimension table joins to it directly by key. Every dimension is a single flat table, one join away from the fact. That is what interactive filtering on an AI/BI dashboard needs. In Lakeflow pipelines, bronze and silver handle ingestion and cleaning, and gold materializes the fact and dimension tables. BI tools can then query those gold tables directly, with no separate reporting ETL step.
A snowflake schema is the common distractor. It breaks each dimension into further sub-dimensions, such as product, then category, then department. That saves storage and reduces redundancy, but it usually needs more joins, which makes read-heavy queries more complex and slower. Choose a snowflake schema when storage efficiency and normalization matter more than read speed. For a gold layer that serves dashboards, the star schema's single join per dimension is the better choice. A data vault or a full 3NF model in gold would be wrong for the same reason: both add joins to a layer that is meant to need few of them.
| Design | Joins per dimension | Trade-off |
|---|---|---|
| Star schema | One join from the fact table to each flat dimension | More data redundancy, which makes query performance faster |
| Snowflake schema | Several joins through sub-dimensions | Saves space but usually requires more joins |
Checkpoint 5 of 8· Check yourself
A data modeler wants to split the product dimension in a gold layer into product, category and department tables to cut redundancy. The gold layer serves interactive AI/BI dashboards. What is the best response?
A snowflake schema saves storage but adds joins, and those joins slow down read-heavy dashboard queries. Gold is denormalized and built for fast reads, so the star schema, with one join per dimension, is the better model there. Deduplication belongs in silver, not bronze, and a data vault adds joins in the same way a snowflake schema does.
“a snowflake schema saves space but usually requires more joins, which can make queries more complex and slower for read heavy analytics”Source: www.databricks.com
Checkpoint 6 of 8· Exam question
A data analytics team is building the reporting layer for an AI/BI dashboard on top of already-cleansed Silver tables. Analysts need dashboard queries to hit a single join hop per dimension for fast interactive filtering. Which modeling approach best matches the Gold layer of the Medallion Architecture for this goal, and why?
Correct answer: A — A Kimball-style star schema, because it denormalizes each dimension into one flat table joined directly to the fact table, matching the Gold layer's read-optimized, business-ready design.
- A. A Kimball star schema keeps dimension tables denormalized and directly connected to the fact table, so a dashboard query only needs one join per dimension. This directly matches the Gold layer's purpose of serving de-normalized, read-optimized, business-ready aggregates.
- B. Normalizing dimensions into subdimensions is the snowflake schema approach, which trades query simplicity for storage savings and requires more joins per report. That extra join overhead works against the Gold layer's goal of fast, low-join dashboard reads.
- C. Hub, link, and satellite tables describe data vault modeling, which is built for auditability and tracking every historical source change, not for serving fast single-hop dashboard joins. Data vault structures are typically transformed further before reaching a reporting layer.
- D. Fully normalized third-normal-form modeling maximizes referential integrity but multiplies the number of joins a dashboard query needs, which is the opposite of the low-join, read-optimized design the Gold layer is meant to provide.
4.Gold-layer data marts and pre-aggregated tables
Gold is organized around business needs, not source systems. Its data sits in consumption-ready, project-specific databases: customer analytics, product quality analytics, inventory analytics, customer segmentation and so on. Each of these is a subject-area data mart. Inmon-style data marts fit in gold just as Kimball star schemas do. Because each gold layer models a business domain, some organizations build several gold layers, for example one each for HR, finance and IT.
Gold holds fewer datasets than silver or bronze, and they are often heavily aggregated. Take the operations example again. Its ops.gold schema holds customer_spending (average and total spend per customer), account_performance (daily performance per account), sales_pipeline_summary, and business_summary, which is aggregated for executives. Gold data is also often filtered to particular time periods or regions.
To silver. Silver keeps a validated, non-aggregated version of every record. Large volumes of historical data are typically read from silver rather than copied into gold.
Pre-aggregated tables exist so that analysts don't rebuild the same measures over and over. Teams often need averages, counts, maximums and minimums. When a question such as weekly bookings and revenue keeps coming up, the answer is to store the aggregate once in gold, as a materialized view that everyone queries.
CREATE OR REPLACE MATERIALIZED VIEW main.example_output.weekly_bookings AS
SELECT date_trunc('week', check_in) AS week,
property_id,
status,
count(*) AS total_bookings,
sum(total_amount) AS total_revenue
FROM samples.wanderbricks.bookings
GROUP BY week, property_id, statusAggregates usually sit in gold, but not always. If an aggregate feeds many downstream workloads, it can live in silver, provided silver still keeps its non-aggregated version of each record. The rule is about what each layer guarantees. Silver guarantees full detail. Gold guarantees data that is ready for a specific business use.
Checkpoint 7 of 8· Fill the gap
Analysts keep rebuilding the same weekly bookings and revenue totals. Which keyword completes this gold-layer statement so the aggregate is stored once for everyone to query?
CREATE OR REPLACE ? VIEW main.example_output.weekly_bookings AS
SELECT date_trunc('week', check_in) AS week,
property_id,
status,
count(*) AS total_bookings,
sum(total_amount) AS total_revenue
FROM samples.wanderbricks.bookings
GROUP BY week, property_id, statusA materialized view stores the pre-aggregated result in gold, so analysts query it instead of recomputing counts and sums each time. A temporary view stores nothing and is not shared as a gold dataset.
Source: docs.databricks.comCheckpoint 8 of 8· Check yourself
Weekly revenue totals now feed many downstream jobs. An engineer wants to keep those totals in silver and delete silver's row-level booking records to save space. How should this plan be judged?
An aggregate that feeds many workloads can live in silver. Silver still has to guarantee full detail, though, so its non-aggregated records cannot be dropped. Gold is aggregated and built for business use, and it does not hold large volumes of history.
“Should always include at least one validated, non-aggregated representation of each record.”Source: docs.databricks.com
Sources
(4)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.
“Its goal is to incrementally and progressively improve the structure and quality of data as it flows through each layer of the architecture”
↩︎ Three layers of increasing data quality“Following the medallion architecture is a recommended best practice but not a requirement.”
↩︎ Three layers of increasing data quality“Each layer is stored in a different schema of the ops catalog.”
↩︎ Three layers of increasing data quality“Is intended for consumption by workloads that enrich data for silver tables, not for access by analysts and data scientists.”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“Is where you perform data cleansing, deduplication, and normalization.”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“Databricks does not recommend writing to silver tables directly from ingestion.”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“It is common to start performing data modeling in the silver layer”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“The gold layer is where you'll model your data for reporting and analytics using a dimensional model by establishing relationships and defining measures.”
↩︎ Why the star schema is the gold-layer model for BI“some customers create multiple gold layers to meet different business needs, such as HR, finance, and IT.”
↩︎ Gold-layer data marts and pre-aggregated tables“Gold layer data is often highly aggregated and filtered for specific time periods or geographic regions.”
↩︎ Gold-layer data marts and pre-aggregated tables“preaggregates this data so analysts and others don't need to recreate frequently used materialized views”
↩︎ Gold-layer data marts and pre-aggregated tables“The terms bronze (raw), silver (validated), and gold (enriched) describe the quality of the data in each of these layers.”
↩︎ Key concept“No data cleanup or validation is performed here.”
↩︎ Exam trap 1“Should always include at least one validated, non-aggregated representation of each record.”
↩︎ Exam trap 2“Should always include at least one validated, non-aggregated representation of each record.”
↩︎ Checkpoint - 2.https://www.databricks.com/blog/what-is-medallion-architectureSecondary source
“The table structures in this layer correspond to the source system table structures”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“From a data modeling perspective, the Silver Layer has more 3rd-Normal Form like data models.”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“a lot of project-specific complex transformations and business rules are applied while loading the data from the Silver to Gold layer”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“The Gold layer is for reporting and uses more de-normalized and read-optimized data models with fewer joins.”
↩︎ Why the star schema is the gold-layer model for BI“Data in the Gold layer of the lakehouse is typically organized in consumption-ready "project-specific" databases.”
↩︎ Gold-layer data marts and pre-aggregated tables“Kimball style star schema-based data models or Inmon style Data marts fit in this Gold Layer”
↩︎ Gold-layer data marts and pre-aggregated tables“the Silver Layer has more 3rd-Normal Form like data models. Data Vault-like, write-performant data models can be used in this layer.”
↩︎ Checkpoint“Data Vault-like, write-performant data models can be used in this layer.”
↩︎ Prediction - 3.https://www.databricks.com/blog/what-is-snowflake-schemaSecondary source
“organizing attributes such as product, category and department into separate linked tables”
↩︎ Bronze keeps the source shape; silver integrates the enterprise“a snowflake schema saves space but usually requires more joins”
↩︎ Why the star schema is the gold-layer model for BI“a snowflake schema saves space but usually requires more joins, which can make queries more complex and slower for read heavy analytics”
↩︎ Checkpoint - 4.
“Bronze and silver datasets handle ingestion and cleaning, and gold materializes your fact and dimension tables so downstream consumers query them directly.”
↩︎ Why the star schema is the gold-layer model for BI“In Lakeflow pipelines, the star schema fits naturally at the gold layer of the medallion architecture.”
↩︎ Exam trap 3