← BuildandTeach Tech Tutorials posts

Published · By Henry Palma

Databricks Data Engineer Associate Practice Quiz, Lesson 10: Gold Layer Views, Materialized Views and Streaming Tables

Practice quiz for the Databricks Data Engineer Associate exam, Lesson 10: views, materialized views, streaming tables, and one-time gold snapshot tables.

Databricks Data Engineer Associate Practice Quiz, Lesson 10: Gold Layer Views, Materialized Views and Streaming Tables

Exam-style question: An analyst dashboard shows daily sales by region from silver.orders. A late update changes a prior day's order amount. Which gold object keeps that day's total correct without writing your own merge logic: a streaming table or a materialized view? A materialized view. A streaming table processes each input row only once and expects an append-only source, so it does not go back and recompute the earlier day. A materialized view recalculates its results on each refresh to reflect the current state of its sources. This post is the practice quiz companion to Lesson 10 of the Databricks Data Engineer Associate exam prep series, in Section 3 of the August 2026 exam guide, Data Transformation and Modeling (22% of the exam).

Watch on YouTube

Video thumbnail
Video thumbnail

Watch the full Lesson 10: Gold Layer Views, Materialized Views and Streaming Tables video if you want the walkthrough, then use this quiz to check yourself.

The written lesson companion is here: Lesson 10: Gold Layer Views, Materialized Views and Streaming Tables.

The notebook and cheat sheet are in the A10 folder on GitHub. The PDF cheat sheet is in the same folder.

This is independent study material, not official Databricks training. The eight questions below are original practice items written by Build and Teach from the public exam guide and Databricks documentation. They are not real exam questions and are not affiliated with or endorsed by Databricks.

What this quiz covers

The exam gives you a gold requirement and four objects to choose from: a view, a materialized view, a streaming table, and a table you write yourself, such as one created with CREATE TABLE AS SELECT (CTAS). Pick by asking how fresh the result must be, how it is updated, whether old data can change, and what it costs to keep current.

A view stores no data and reruns its query every time it is read, so it always reflects the current source. A materialized view stores results and recalculates them on each refresh, whether that refresh is manual, scheduled or triggered by a source update. That is why it can pick up a late update to a prior day's order. A streaming table processes each input row once from an append-only source, so it fits files or events that only grow and need low latency. A CTAS snapshot stores the result once and does not change when the source later updates.

Structured Streaming expects appends only from a Delta source. An UPDATE, DELETE, MERGE or overwrite makes the stream fail. skipChangeCommits avoids the error by ignoring the change, so the downstream value stays old. Databricks Free Edition allows one active Lakeflow pipeline per pipeline type, and each standalone materialized view or streaming table is backed by a pipeline.

Pause the video when the timer shows, pick A, B, C or D, then check the answer. Seven or more of the eight questions right means you are ready for this section.

Practice questions from the quiz video

These are the eight questions from the quiz video, with answers and explanations.

Question 1

Which gold object stores no data and runs its query every time it is read?

  • A) Materialized view
  • B) Streaming table
  • C) View
  • D) Table made with CREATE TABLE AS SELECT

Answer: C. A view is a virtual table with no physical data. It is evaluated on demand, so it always reflects the current source.

Question 2

A stream reads silver.orders with default options. Someone runs an UPDATE on silver.orders. What happens?

  • A) The stream applies the update downstream
  • B) The stream fails with an error
  • C) The stream silently recomputes old results
  • D) The target becomes a materialized view

Answer: B. Structured Streaming expects appends only from a Delta source. An update, delete, merge or overwrite makes the stream throw an error.

Question 3

Order 5002 changes in the source. When does a materialized view show the new total?

  • A) Never
  • B) Instantly, with no refresh
  • C) After its next refresh
  • D) Only after you drop and recreate it

Answer: C. A materialized view is current as of its last refresh. Each refresh recalculates the results, whether it is manual, scheduled or triggered by a source update.

Question 4

A snapshot table shows 58.50 for Nov 2 Texas. Order 5002 is then updated from 30.00 to 36.00. What does the snapshot show?

  • A) 58.50
  • B) 64.50
  • C) 36.00
  • D) An error

Answer: A. A create table as select stores the result once and nothing rewrites it. It keeps 28.50 plus 30.00, which is 58.50.

Question 5

What is the documented Free Edition limit for Lakeflow pipelines?

  • A) No pipelines are allowed
  • B) One active pipeline per pipeline type
  • C) Five active pipelines per workspace
  • D) Pipelines run only on classic compute

Answer: B. Free Edition allows one active pipeline per pipeline type. Each standalone materialized view or streaming table is backed by a pipeline.

Question 6

JSON files land in a volume every few minutes and never change. Each file must load once, with low latency. Which object fits best?

  • A) A view over the volume
  • B) A materialized view refreshed every hour
  • C) A streaming table using STREAM read_files
  • D) A table made once with CREATE TABLE AS SELECT

Answer: C. The source only grows, every row is handled once, and latency matters. That is what streaming tables are designed for.

Question 7

After this statement runs once, what keeps the view current?

CREATE OR REPLACE MATERIALIZED VIEW gold.daily_sales_by_region
  SCHEDULE EVERY 1 HOUR
AS SELECT order_date, SUM(amount) AS total_sales
FROM silver.orders
GROUP BY order_date;
  • A) Nothing, it is a one-time snapshot
  • B) It recalculates every hour
  • C) Each query reruns the SELECT
  • D) New rows append and old rows never change

Answer: B. The schedule refreshes the materialized view every hour on a serverless pipeline. Reads in between use the stored result.

Question 8

A stream uses skipChangeCommits. An UPDATE changes order 5002. What reaches the downstream table?

  • A) The updated row
  • B) Nothing, the change is skipped
  • C) The whole table is reprocessed
  • D) An error

Answer: B. Skip change commits avoids the error by ignoring the change. It is skipped, not applied, so the downstream value stays old.

Practical tips

The memory trick from the video: streaming tables read each row once. Materialized views recompute the answer.

If the source can get updates or deletes, and a dashboard total must move with them, do not pick a streaming table. If the source only grows and latency matters, a streaming table is usually the fit. If you need a cheap, always-current slice and can afford to rerun the query, use a view.

A CTAS table is a snapshot. Late changes do not flow into it unless you write that logic yourself.

Key takeaways

  • A view stores no data and is evaluated on every read.
  • A materialized view stores results and catches late source updates on its next refresh.
  • A streaming table processes each append-only row once. Updates on a Delta source fail the stream unless you skip them, and skipping does not apply the change.
  • A CTAS table is a one-time snapshot.
  • Free Edition allows one active pipeline per pipeline type.

Check your understanding

1. Analysts want an always-current, ad-hoc slice of silver.orders by region, without storing another copy. Which object fits?

  • A) A materialized view refreshed every hour
  • B) A view
  • C) A streaming table
  • D) A table created once with CREATE TABLE AS SELECT

2. JSON files land in a volume every few minutes, never change, and must load once with low latency. Which object fits best?

  • A) A view over the volume
  • B) A materialized view refreshed every hour
  • C) A streaming table using STREAM and read_files
  • D) A CTAS table you recreate each week

3. A materialized view is scheduled to refresh every hour. A source row changes 10 minutes after a refresh. When does a dashboard that reads the materialized view show the new total?

  • A) Immediately, because reads always recompute
  • B) After the next refresh
  • C) Never, because materialized views ignore updates
  • D) Only if you drop and recreate the materialized view

4. A stream reads a Delta table with skipChangeCommits. An UPDATE changes one order. What reaches the downstream table?

  • A) The updated row
  • B) Nothing from that change; it is skipped
  • C) An error, and the stream stops
  • D) The whole source table is reprocessed

5. You create two standalone materialized views in Databricks Free Edition. What documented limit should you plan for?

  • A) Materialized views are not allowed
  • B) One active pipeline per pipeline type
  • C) Five active pipelines per workspace
  • D) They run only on classic compute

Answer key

  1. B. A view stores no data and reruns its query on every read, which fits ad-hoc current slices.
  2. C. The source only grows, each file should be handled once, and latency matters. That is a streaming table.
  3. B. A materialized view is current as of its last refresh, not on every dashboard query.
  4. B. skipChangeCommits avoids the error by ignoring the change. The new value is not applied.
  5. B. Free Edition allows one active pipeline per pipeline type, and each standalone materialized view is backed by a pipeline.

Have an idea, question, or feedback?

We'd genuinely like to hear from you.