CertSafari
    Databricks Certified Data Analyst Associate· Lessons

    Domain 8 · Lesson 36/39

    Medallion architecture and where each data model belongs

    Understand how industry-standard models align with the Medallion Architecture.

    14 min read
    2.5% of exam
    4 sources
    Published 22 Oct 2026
    Docs as of 17 Oct 2026

    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.

    How each medallion layer lines up with a data modeling style
    LayerWhat happens hereTypical modelWho it serves
    BronzeData lands from source systemsTable structures match the source system "as-is", plus metadata columnsData engineers; reprocessing and audit
    SilverData is matched, merged, conformed and cleansed3rd-Normal Form like or Data Vault-like, write-performant modelsDepartmental Analysts, Data Engineers and Data Scientists
    GoldFinal transformations and data quality rules are appliedKimball style star schemas or Inmon style Data marts; de-normalized and read-optimizedReporting, 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.

    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?

    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?

    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?

    Sources123

    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.

    Why storage-saving designs lose in a read-optimized gold layer
    DesignJoins per dimensionTrade-off
    Star schemaOne join from the fact table to each flat dimensionMore data redundancy, which makes query performance faster
    Snowflake schemaSeveral joins through sub-dimensionsSaves 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?

    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?

    Sources1423

    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.

    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.

    A gold-layer materialized view that pre-aggregates bookings and revenue by week, property and statussql
    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, status

    Aggregates 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, status

    Checkpoint 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?

    Sources12

    Sources

    (4)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 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. 2.
      “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. 3.
      “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. 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

    Spotted a mistake, or was something unclear? Tell us.