Lesson 1 of 2 Data Integration and Analysis Solutions

Choosing a Data Integration Service

This lesson explains integration patterns and the services that run them.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish ETL from ELT.
  • Describe the Azure Data Factory components.
  • Choose an integration service from stated requirements.

Integration patterns

Data integration combines data from different sources into a usable form. In extract, transform, load (ETL), data is transformed in a processing engine before it reaches the destination. In extract, load, transform (ELT), raw data is first loaded into the destination, and then transformed using that destination's compute. ELT is usual in modern data platforms, because cloud warehouses and lakes have ample compute and raw data is retained for later reuse.

A medallion architecture organizes this in a lake in three layers: bronze for raw data, silver for cleaned data and gold for business-ready tables. Each layer improves the quality of the data, and each can serve different consumers.

Sort into groups

Medallion layers

Exam skills 2.3.1

Place each data set in the bronze, silver or gold layer of a medallion architecture.

Log in to try this activity Interactive activities are free with an account.

Azure Data Factory

Azure Data Factory is a managed cloud data integration service. A pipeline is a group of activities, such as a copy or a transformation, started by a trigger on a schedule or an event. Linked services hold connection information, and datasets describe the data. It has more than 90 built-in connectors, so it can reach most sources without code. Mapping data flows offer visual, Spark-based transformations.

An integration runtime provides the compute. The Azure integration runtime runs in the cloud. The self-hosted integration runtime runs on a machine inside a private network, reaching sources that the cloud cannot, and needs only outbound connections. The Azure-SSIS integration runtime runs existing SQL Server Integration Services packages, allowing them to be moved with little rework.

Microsoft now describes Data Factory in Microsoft Fabric as the next generation of Azure Data Factory, and recommends that those new to data integration start there. Existing Azure Data Factory workloads remain supported, and it remains the natural choice where an organization has not adopted Fabric, or runs SSIS packages.

The following diagram shows the integration runtimes and the data path for nightly loads from an on-premises database behind a firewall.

Nightly loads from on-premises Oracle behind a firewall that blocks inbound traffic, plus 80 existing SSIS packages. Azure Data Factory's self-hosted integration runtime reaches Oracle and connects outbound; an Azure-SSIS integration runtime runs the packages without rework; and pipelines load Azure Data Lake Storage with visual monitoring.
IR stands for integration runtime.
Match the pairs

Data Factory building blocks

Exam skills 2.3.1

Match each Azure Data Factory component with its role.

Log in to try this activity Interactive activities are free with an account.

Fabric Data Factory and other options

Data Factory in Microsoft Fabric provides pipelines and Dataflow Gen2 inside the Fabric platform, writing to OneLake. It suits organizations that use Fabric for analytics, since data engineers and analysts work in one environment under a single capacity. Azure Databricks notebooks and jobs suit code-first transformation in Python, Scala or SQL. Azure Logic Apps suits application integration, in which a business event triggers a small workflow, rather than bulk data movement.

The following comparison summarizes these options.

Azure Data Factory
StyleLow-code pipelines
Runs inAzure service
Runs SSIS packagesYes
Natural destinationAny supported store
Choose when Hybrid and SSIS integration outside Fabric
Data Factory in Fabric
StyleLow-code pipelines and dataflows
Runs inFabric capacity
Runs SSIS packagesNot the primary use
Natural destinationOneLake
Choose when New integration on a Fabric platform
Azure Databricks
StyleCode-first notebooks
Runs inDatabricks workspace
Runs SSIS packagesNo
Natural destinationDelta Lake tables
Choose when Complex engineering by code
Scenario questions

Choosing the integration tool

Exam skills 2.3.1

Choose the integration option that fits each organization.

Log in to try this activity Interactive activities are free with an account.

Near real-time replication

Not every integration is a nightly batch. Mirroring in Microsoft Fabric continuously replicates databases such as Azure SQL Database and Azure Cosmos DB into OneLake, so analytics can run with no effect on the operational store and no pipeline to build. For Cosmos DB, Azure Synapse Link is deprecated, and Fabric mirroring is the current path. Change data capture in a data factory reads only changes, which reduces load compared with a full copy.

Worked example

Integrating on-premises data

A manufacturer has Oracle databases on-premises behind a firewall that blocks all inbound traffic, and 80 existing SSIS packages. It wants to load data into Azure Data Lake Storage each night, with visual monitoring and the least rework. It does not use Microsoft Fabric. What should you recommend?

Azure Data Factory is the suitable service. A self-hosted integration runtime on the corporate network reaches the Oracle databases and connects outbound, in keeping with the firewall rule. An Azure-SSIS integration runtime runs the existing packages without rewriting them, and pipelines provide scheduling and monitoring.

Fabric Data Factory is appropriate for new integration on a Fabric platform, but the company does not use Fabric and needs SSIS support. Azure Logic Apps does not suit bulk data loads. Writing Databricks notebooks would require rewriting all 80 packages.

Check yourself

Which integration runtime reaches a database behind an on-premises firewall?

Show answer

The self-hosted integration runtime, which runs on the private network and connects outbound.

Exam Tips

Remember for the exam

  • ELT loads first and transforms in the destination; ETL transforms before loading.
  • Integration runtimes: Azure, self-hosted for private networks, and Azure-SSIS for packages.
  • New data integration on Fabric uses Fabric Data Factory; SSIS points to Azure Data Factory.
  • Fabric mirroring replaces Azure Synapse Link for Cosmos DB.