DATABRICKS-DATA-ENGINEER-ASSOCIATE practice question 14 of 25
Which of the following describes when to use the CREATE STREAMING LIVE TABLE (formerly CREATE INCREMENTAL LIVE TABLE) syntax over the CREATE LIVE TABLE syntax when creating Delta Live Tables (DLT) tables using SQL?
Full set: 177 questionsThe CREATE STREAMING LIVE TABLE syntax is used in Delta Live Tables (DLT) specifically for processing data from an append-only or streaming source. This approach allows DLT to process data incrementally, meaning only new records that have arrived since the last pipeline run are processed. This is in contrast to a standard CREATE LIVE TABLE (which creates a materialized view), where the entire table is recomputed from the source data during each pipeline update. Using a streaming live table is essential for efficiency and scalability when dealing with continuously arriving data.
A. The nature of a table (streaming or static) is determined by its data source and processing logic, not by the nature of the subsequent tables that consume it.
C. CREATE STREAMING LIVE TABLE is a fundamental and necessary construct in DLT for handling streaming data sources; it is not redundant.
D. While streaming tables can handle complex aggregations (often with watermarking), the complexity is not the deciding factor for using this syntax. The key is the incremental nature of the source.
E. A streaming live table must read from a streaming source, such as an external queue, files ingested with Auto Loader, or another streaming live table, not a static one.
1. Databricks Documentation
"Delta Live Tables SQL language reference":
Section: Create a streaming live table: "Use a streaming live table to perform a streaming read on a source dataset. A streaming read processes data that has been added to the source since the last pipeline update." This directly supports the concept of incremental processing.
Section: Create a live table (materialized view): "Delta Live Tables recomputes materialized views in their entirety each time the pipeline is updated." This highlights the contrast with incremental processing.
2. Databricks Documentation
"What is Delta Live Tables?":
Section: Live table versus streaming live table: "A streaming live table processes data from an append-only data source
where new rows are inserted into the source table but existing rows are not modified." This explicitly states the use case for streaming live tables is for append-only
incremental sources.
3. Databricks Documentation
"Delta Live Tables cookbook":
Section: Ingest data with Delta Live Tables: This section provides examples showing the use of STREAM() with cloudfiles() (Auto Loader) to "incrementally read files from cloud storage." This demonstrates the practical application of streaming tables for incremental data ingestion.
Keep practicing
Take the free DATABRICKS-DATA-ENGINEER-ASSOCIATE practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DATABRICKS-DATA-ENGINEER-ASSOCIATE practice questions
- Question 1In which of the following scenarios should a data engineer use the MERGE INTO command ins…
- Question 2Which of the following data workloads will utilize a Gold table as its source?
- Question 3A data engineer has developed a data pipeline to ingest data from a JSON source using Aut…
- Question 4Which two components function in the DB platform architecture’s control plane? (Choose tw…
- Question 5Which of the following code blocks will remove the rows where the value in column age is …
- Question 7Which of the following statements regarding the relationship between Silver tables and Br…
