Microsoft Certified Azure Data Engineer Associate · Free Practice Question Medium

Question 24

Identify the missing word(s) in the following sentence within the context of Microsoft Azure.

[ ? ] makes it possible to replicate data from SQL Server 2022 or Azure SQL Database to a dedicated pool in Azure Synapse Analytics with low latency. This replication enables you to analyze operational data in near-real-time without incurring a large resource utilization overhead on your transactional data store.

  • A

    Azure Synapse Link for SQL

  • B

    Azure Application Insights

  • C

    Azure Cosmos DB

  • D

    Azure Data Lake Storage Gen2

Reveal correct answer

Correct answer: A

Explanation

Azure Synapse Link for SQLmakes it possible to replicate data from SQL Server 2022 or Azure SQL Database to a dedicated pool in Azure Synapse Analytics with low latency. This replication enables you to analyze operational data in near-real-time without incurring a large resource utilization overhead on your transactional data store.


Configure Azure Synapse Link for SQL Server 2022

Microsoft SQL Server is one of the world's most commonly used relational database systems. SQL Server 2022 is the latest release and includes many enhancements and new features; including the ability to be used as a source for Azure Synapse Link.

Azure Synapse Link for SQL Server uses a link connection to map one or more tables in an Azure SQL Database instance to tables in a dedicated SQL pool in Azure Synapse Analytics. When the link connection is started, the tables are initialized by copying a .parquet file for each source table to a landing zone in Azure Data Lake Storage Gen2; from where the data is imported into tables in the dedicated SQL pool. Subsequently, the change feed process copies all changes as .csv files to the landing zone where they're applied to the target tables.



Synchronization between SQL Server (which can be on-premises or in a private network) and Azure Synapse Analytics is achieved through a self-hosted integration runtime. An integration runtime is a software agent that handles secure connectivity when using Azure Data Factory or Azure Synapse Analytics to transfer data across networks. It must be installed on a Microsoft Windows computer with direct access to your SQL Server instance.


Implementing Azure Synapse Link for SQL Server 2022

To use Azure Synapse Link for SQL Server 2022, you need to create storage for the landing zone in Azure and configure your SQL Server instance before creating a link connection in Azure Synapse Analytics.

Create landing zone storage

You need to create an Azure Data Lake Storage Gen2 account in your Azure subscription to use as a landing zone. You can't use the default storage account for your Azure Synapse Analytics workspace.


Create a master key in the SQL Server database

To support Azure Synapse Link, your SQL Server database must contain a master key. You can use a CREATE MASTER KEY SQL statement like the following example to create one:



Create a dedicated SQL pool in Azure Synapse Analytics

In your Azure Synapse Analytics workspace, you need to create a dedicated SQL pool where the target tables will be created. You also need to create master key in this database by using the following SQL statement:



Create a linked service for the SQL Server source database

Next, in Azure Synapse Analytics, create a linked service for your SQL Server database. When you do this, you need to specify the self-hosted integration runtime to be used for connectivity between SQL Server and Azure Synapse Analytics. If you haven't already configured a self-hosted integration runtime, you can create one now, and then download and install the agent onto a Windows machine in the network where your SQL Server instance is located.

Create a linked service for your Data Lake Storage Gen2 account

In addition to the linked service for SQL Server, you need a linked service for the Data Lake Storage Gen2 account that will be used as a landing zone. To support this, you need to add the managed identity of your Azure Synapse Analytics Workspace to the Storage Blob Data Contributor role for your storage account and configure the linked service to use the managed identity for authentication.

Create a link connection for Azure Synapse Link

Finally, you're ready to create a link connection for Azure Synapse Link data synchronization. As you do so, you'll specify the service link for the SQL Server source database, the individual tables to be replicated, the number of CPU cores to be used for the synchronization process, and the Azure Data Lake Storage Gen2 linked service and folder location for the landing zone.

After the link connection is created, you can start it to initialize synchronization. After a short time, the tables will be available to query in the dedicated SQL pool and will be kept in sync with modifications in the source database by the change feed process.


References:

A. Azure Synapse Link for SQL is the correct choice as it enables the replication of data from SQL Server 2022 or Azure SQL Database to a dedicated pool in Azure Synapse Analytics with low latency. This feature allows for near-real-time analysis of operational data without impacting the transactional data store significantly.

B. Azure Application Insights is not the correct choice for replicating data from SQL Server 2022 or Azure SQL Database to Azure Synapse Analytics. Azure Application Insights is a monitoring and analytics service that helps developers understand how their applications are performing and how they can improve them, but it is not used for data replication between different data sources.

C. Azure Cosmos DB is not the correct choice for replicating data from SQL Server 2022 or Azure SQL Database to Azure Synapse Analytics with low latency. Azure Cosmos DB is a globally distributed, multi-model database service designed for scalable and high-performance applications, but it is not directly related to the replication scenario described in the sentence.

D. Azure Data Lake Storage Gen2 is not the correct choice in this context as it is not specifically designed for replicating data from SQL Server 2022 or Azure SQL Database to Azure Synapse Analytics. While it is a storage solution, it does not provide the functionality mentioned in the sentence.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need