1/67
Looks like no tags are added yet.
What is schema enforcement in Delta Lake?
Protects the expected table structure by preventing data that violates the schema.
What is schema evolution in Delta Lake?
Allows controlled changes to a table's structure, such as adding a new column.
Can Delta Lake add a new column without rebuilding the dataset?
Yes. Schema evolution allows the table to include a new column without rebuilding the entire dataset.
What is the difference between schema enforcement and evolution?
Enforcement protects the expected structure; evolution allows controlled changes to it.
What does unified batch and streaming mean in Delta Lake?
The same Delta tables can be used for both batch and streaming workloads.
What is performance optimization in Delta Lake?
Techniques that improve how efficiently data is stored and read.
What are two performance optimization techniques in Delta Lake?
File compaction and data layout optimization.
What is file compaction?
Combining many small data files into fewer, larger files to improve efficiency.
What does scalability mean in Delta Lake?
Delta tables can manage datasets larger than one computer's memory using distributed engines like Spark.
What does it mean that Delta Lake is open source?
It is publicly available open-source technology, not a format exclusively usable by Databricks.
What is the Medallion Architecture?
A way to organize data into 3 layers based on how much it has been processed and cleaned.
What are the 3 Medallion layers, in order?
Bronze → Silver → Gold.
Does data flow from Gold to Bronze?
No. Data normally flows Bronze → Silver → Gold, even if diagrams put Gold at the top.
What does the Bronze layer store?
Raw data, kept close to how it originally arrived.
What happens to duplicate or missing records in Bronze?
They are typically preserved rather than immediately removed.
In the order example, what problems exist in Bronze?
Order 102 appears twice; order 103 has a NULL (missing) amount.
Why preserve raw data in Bronze?
So it can be cleaned, reprocessed, or investigated later.
What does the Silver layer store?
Data that has been cleaned, validated, and transformed.
Name 5 common Silver-layer operations.
Remove duplicates, standardize dates, correct/flag invalid values, handle missing values, and combine tables.
What happens to the example orders in Silver?
Duplicate order 102 is removed; incomplete order 103 is excluded from this cleaned table.
Which orders remain in the Silver example?
Order 101: Alice, $50; order 102: Bob, $80.
Should Silver automatically delete all invalid records?
No. Real pipelines define rules for handling invalid records.
What is the purpose of Silver?
Produce consistent, reliable data that can be reused for analysis.
What does the Gold layer store?
Business-ready data organized for specific analytical or reporting needs.
How might Gold transform individual orders?
It can summarize them into total revenue per customer.
What is the Gold revenue example?
Alice: $50 total revenue; Bob: $80 total revenue.
What other metrics can Gold calculate?
Daily sales, monthly revenue, average order value, and other business metrics.
What is an aggregation?
Combining multiple records into a calculated result, such as a sum, average, or count.
What is the purpose of Gold?
Provide data for dashboards, business reporting, and specific analytical applications.
What 3 types of consumers can use Gold data?
BI/reporting, ML/AI, and streaming analytics.
What is an example of BI using Gold?
A Power BI dashboard displaying monthly revenue.
What is an example of ML/AI using Gold?
A machine learning model predicting customer spending.
What is an example of streaming analytics using Gold?
A dashboard showing frequently refreshed sales metrics.
What does BI mean?
Business Intelligence: using data to understand business performance and support decisions.
Does machine learning always use Gold data?
No. Some models need detailed Silver records instead of aggregated Gold tables.
Why keep Bronze instead of cleaning everything immediately?
Raw records are preserved so you can reprocess them if cleaning code contains a mistake.
Why can multiple teams benefit from Silver?
They can reuse the same cleaned data without repeating the cleaning work.
Why keep Gold separate from Silver?
Gold can be customized for reports or applications without changing underlying cleaned data.
How does separating the 3 layers help pipelines?
It makes pipelines easier to maintain, audit, and troubleshoot.
What are 4 example external data sources?
PostgreSQL, CSV files, Salesforce, and Kafka.
What brings external data into Databricks?
LakeFlow Connect.
What ingestion methods can LakeFlow Connect use?
Batch, incremental batch, and streaming.
Where is ingested raw data stored in this example?
Bronze Delta tables.
What cleans data between Bronze and Silver?
Spark Declarative Pipelines.
Where is validated and cleaned data stored?
Silver Delta tables.
What happens between Silver and Gold?
Data is transformed and aggregated for business needs.
Where is business-ready data stored?
Gold Delta tables.
Who consumes the final processed data?
Dashboards, reports, and machine learning applications.
What governs data access in this pipeline?
Unity Catalog.
What orchestrates pipeline tasks?
LakeFlow Jobs.
Is the full 3-layer pipeline mandatory?
No. It is a typical design; small applications may not need all 3 Medallion layers.
What is data ingestion?
Bringing data from an external source into Databricks.
What is LakeFlow?
A collection of tools for ingesting, processing, and orchestrating data.
What is LakeFlow Connect?
A tool for ingesting data from files, cloud storage, databases, and applications.
What do Standard Connectors support?
Ingestion from sources such as cloud storage and Kafka.
What do Managed Connectors provide?
More automated ingestion from supported databases and SaaS applications.
What is batch ingestion?
Processing data at intervals, potentially rereading the entire dataset.
What is incremental batch ingestion?
Processing only new or changed data during each run.
What is streaming ingestion?
Processing incoming data continuously or in frequent small updates.
What is Apache Spark?
An engine for processing large datasets.
What is Delta Lake?
Reliable table storage using Parquet files and transaction logs.
What is Unity Catalog?
A system that organizes and governs access to data.
What does ACID describe?
Four properties that make database transactions reliable.
What is DML?
Data Manipulation Language: SQL operations like INSERT, UPDATE, DELETE, and MERGE.
What is Delta Lake time travel?
The ability to query or restore earlier versions of a table.
What is schema enforcement?
Checking that incoming data matches the expected table structure.
What is schema evolution?
Allowing controlled changes to a table's structure.
What is the key difference between Connect, Delta Lake, Unity Catalog, and Medallion?
Connect ingests; Delta Lake stores; Unity Catalog governs; Medallion organizes data.