Exams / DP-900 / D4 Describe an analytics workload
Describe common elements of large-scale analytics
- Describe considerations for data ingestion and processing
- Describe options for analytical data stores
- Describe Microsoft cloud services for large-scale analytics, including Azure Databricks and Microsoft Fabric
ETL vs. ELT
Both patterns move data from source systems into an analytical store, but they place the transformation step in a different place.
| ETL (extract, transform, load) | ELT (extract, load, transform) | |
|---|---|---|
| Transform happens | Before loading, in a separate engine | After loading, inside the target store |
| Target requirement | Any target (schema need not match the source) | A target data store powerful enough to transform data |
| Data reaching the target | Fully processed before being loaded | Raw, then transformed in place |
| Good for | Filtering/cleaning data (e.g. sensitive data) before it reaches the destination | Rapidly moving large volumes — skips data copy steps present in ETL, which often can be time consuming for large data sets |
Extract, transform, load (ETL) is a data integration process that consolidates data from diverse sources into a unified data store. Transformation (filtering, sorting, aggregating, cleaning, deduplicating, validating) happens before the data lands in the target.
In the ELT pipeline, the transformation occurs in the target data store. Instead of using a separate transformation engine, the processing capabilities of the target data store are used to transform data — ELT does not use an independent compute engine; it reuses the target's own compute.
A plain data-ingestion step is just extract-then-save to a target, with no transformation implied — distinct from both ETL and ELT.
Azure Data Factory concepts
| Concept | Definition |
|---|---|
| Pipeline | A logical grouping of activities that together perform a task. You deploy and schedule the pipeline, not the individual activities. |
| Activity | A processing step inside a pipeline (e.g. Copy, Lookup, a data flow) |
| Dataset | The dataset represents the structure of the data within the linked data stores |
| Linked service | The linked service defines the connection to the data source (like a connection string) |
| Trigger | What starts a pipeline run — you can execute a pipeline either manually or by using a trigger (schedule, event, tumbling window, custom) |
| Integration runtime (IR) | The compute infrastructure used by Azure Data Factory and Azure Synapse pipelines; provides the bridge between activities and linked services |
ADF groups activities into three categories: data movement activities, data transformation activities, and control activities.
- Copy activity — copies data among data stores (data movement).
- Mapping data flow — visually designed data transformations (data transformation), no code required.
- Lookup activity — retrieves a dataset or metadata value for use by later activities (control).
- Execute Pipeline activity — allows a Data Factory or Synapse pipeline to invoke another pipeline.
- Control flow — branches and chains activities, sending outputs of activities to subsequent activities based on dependency conditions (e.g. "Succeeded").
Azure Synapse Analytics contains the same Data Integration engine and experiences as Azure Data Factory, so the same pipeline engine, datasets, linked services and activities are available inside a Synapse workspace.
Data warehouses
A data warehouse is a centralized repository that stores structured and semi-structured data for reporting, analysis, and BI purposes, consolidating data from multiple source systems so it can answer complex cross-source queries. A modern data warehouse (e.g. Azure Synapse) also supports both batch loading and built-in streaming ingestion, so it isn't limited to batch-only processing.
Star schema: fact and dimension tables
| Table type | Role |
|---|---|
| Fact table | Contains dimension key columns that relate to dimension tables, and numeric measure columns — the things you aggregate |
| Dimension table | Describes business entities — the things you model; contains a key column (or columns) that acts as a unique identifier |
Dimension tables enable filtering and grouping; fact tables enable summarization. In a star schema, a single fact table connects directly to several independent dimension tables (none of which reference each other) — a snowflake schema would instead further normalize the dimensions.
OLAP / cubes
OLAP systems traditionally use multidimensional data cubes to organize data in a way that supports complex queries and analysis. Multidimensional models use traditional OLAP modeling constructs, such as cubes, dimensions, and measures. Dimensions act as the axes you slice/group by; where dimension values intersect, you get a (typically aggregated) measure. Azure Analysis Services builds these tabular semantic models, combining data from multiple sources and defining metrics for BI tools — it is an analytical modeling service, not a transactional (OLTP) one.
Synapse dedicated SQL pool (MPP)
The architecture of dedicated SQL pool separates storage and compute, allowing each to scale independently, and pricing for compute and storage is billed separately. If you don't need to use your dedicated SQL pool for a while, you can save compute costs by pausing compute — pausing detaches storage from the compute nodes (compute cost drops to zero) while the data itself stays intact; resuming reattaches it. Storage is not a fixed capacity: it scales and bills on its own.
Internally, the control node hosts the distributed query engine, which optimizes queries for parallel processing, and then passes operations to compute nodes to do their work in parallel — this is the massively parallel processing (MPP) architecture that makes Synapse Analytics a PaaS MPP relational data service (unlike Azure SQL Database or Azure Database for MariaDB, which are not MPP).
PolyBase and external tables
PolyBase is a technology that accesses external data stored in Azure Blob storage or Azure Data Lake Storage via the Transact-SQL (T-SQL) language — it's how a Synapse SQL pool queries files sitting in the lake without first loading them.
Synapse SQL external tables point to that lake/Blob data for reading, and CETAS (CREATE EXTERNAL TABLE AS SELECT) in serverless SQL pool creates an external table and exports query results to Azure Storage Blob or Azure Data Lake Storage Gen2 — including as Parquet — giving a tabular representation over files stored in Parquet format.
Data lakes and the lakehouse
A data lake scales to large sets of structured, semi-structured, or unstructured data, unlike a warehouse which needs a fixed structured format. A data lakehouse combines the lake and the warehouse: its raw ("bronze") layer provides a place for that data to land in its raw format — i.e. as files — which are later converted into Delta tables as the data is refined through further layers.
Delta Lake sits on top of a data lake and differentiates itself from plain lake storage mainly through its transaction log, which provides:
- Schema enforcement — automatically handles schema variations to prevent insertion of bad records during ingestion.
- ACID transactions — serializable isolation levels ensure that readers never see inconsistent data.
(Batch/streaming support and Apache Spark compatibility are shared traits of the broader Spark/lake ecosystem, not unique differentiators of Delta Lake itself.)
Apache Spark services on Azure
Apache Spark is hosted directly by three Azure services:
| Service | Spark role |
|---|---|
| Azure Synapse Analytics | Serverless Apache Spark pool, compatible with Blob/Data Lake Storage |
| Azure Databricks | Apache Spark-based unified, open analytics platform, with built-in web-based notebooks (Python/R/Scala/SQL) that embed visualizations |
| Azure HDInsight | Managed Apache Hadoop service that lets you run Apache Spark (and Hive, Kafka, HBase) in the cloud; lets you create/configure dedicated Spark clusters |
Azure Data Explorer is not a Spark host: it only ships a connector that moves data between Azure Data Explorer and Spark clusters.
Azure Databricks can consume data from many Azure sources through connectors: JDBC for Azure SQL Database, the Event Hubs connector for Apache Spark for streaming Event Hubs data, and the Cosmos DB Spark connector (used from a Databricks compute cluster) for Azure Cosmos DB.
Exam traps
- ETL vs. ELT direction of "requires" — ETL requires data fully processed before load; ELT requires a target powerful enough to transform the data itself (no separate transform engine).
- Dataset vs. pipeline — a dataset represents a data structure; a pipeline is a logical grouping of activities. Don't swap them in Yes/No statements.
- Activity categories — Copy = data movement, Mapping data flow = data transformation, Lookup = control. Execute Pipeline invokes another pipeline.
- Integration runtime vs. pipeline/control flow — only the integration runtime supplies compute; pipelines and control flow orchestrate.
- Fact vs. dimension — fact tables hold numeric measures + dimension keys; dimension tables hold the business entities (unique key per row) used to filter/group/slice those measures.
- PolyBase is specifically the T-SQL-over-external-files feature in Synapse SQL — don't confuse it with Azure Data Factory (orchestration) or SSIS.
- Pausing a dedicated SQL pool stops compute billing and keeps data intact; it does not delete data, and scaling DWUs down only reduces (doesn't zero) compute cost.
- Which services host Spark — Synapse, Databricks, HDInsight run Spark directly; Azure Data Explorer only connects to Spark via a connector, it doesn't host it.
- Lakehouse raw layer = files, not tables — tables appear once data is converted (e.g. to Delta).
Docs
- Azure Data Factory documentation
- Pipelines and activities in Azure Data Factory and Azure Synapse Analytics
- Datasets in Azure Data Factory and Azure Synapse Analytics
- Copy activity in Azure Data Factory and Azure Synapse Analytics
- Mapping data flows in Azure Data Factory
- Lookup activity in Azure Data Factory and Azure Synapse Analytics
- Execute Pipeline activity in Azure Data Factory and Synapse Analytics
- Branching and chaining activities in an Azure Data Factory pipeline
- Integration runtime in Azure Data Factory
- Pipeline execution and triggers in Azure Data Factory or Azure Synapse Analytics
- What is Azure Synapse Analytics?
- Synapse SQL architecture
- Azure Synapse Analytics architecture (MPP)
- Manage compute resources for dedicated SQL pool
- Design a PolyBase data loading strategy for dedicated SQL pool
- CETAS with Synapse SQL
- Use external tables with Synapse SQL
- What is Apache Spark in Azure Synapse Analytics?
- What is Azure Databricks?
- What is a data lakehouse?
- Azure Databricks: Query databases using JDBC
- Tutorial: Connect to Azure Cosmos DB for NoSQL by using Spark
- Azure Event Hubs Connector for Apache Spark (GitHub)
- Azure HDInsight documentation
- Apache Spark in Azure HDInsight
- Azure Data Explorer connector for Apache Spark
- Welcome to the Delta Lake documentation
- Frequently asked questions — Delta Lake
- What is a data lake? — Azure Architecture Center
- What is Fabric Data Warehouse?
- Extract, transform, and load (ETL) — Azure Architecture Center
- Online analytical processing (OLAP) — Azure Architecture Center
- Star schema design — Power BI guidance
- Azure Analysis Services overview
- Data warehousing and analytics — Azure Architecture Center