Azure SQL Migration Extension Schema Requirement
Short answer
D Define the schema for the Azure SQL database before running the migration, as the Azure SQL Migration extension transfers data only and requires existing target tables.
Question
You have an Azure subscription.
You need to migrate DB1 to an Azure SQL database by using the Azure SQL Migration extension for Azure Data Studio.
What should you do first?
Key Takeaways
The Azure SQL Migration extension moves data but does not create tables; you must pre-create the target schema to avoid migration failures.
Learn why defining the Azure SQL Database schema is the mandatory first step when using the Azure SQL Migration extension for Azure Data Studio to migrate on-premises SQL Server databases.
Common mistake: Many candidates assume the tool handles schema creation automatically or focus on network connectivity (VPN) first, missing that the target database structure must exist prior to data ingestion.
Expert Analysis
The Azure SQL Migration extension for Azure Data Studio is designed to migrate data from an on-premises database to an Azure SQL Database, but it does not automatically create the target schema. The migration process involves copying data into existing tables; therefore, the schema (tables, indexes, constraints) must already exist in the destination before the data migration begins.
Option A is incorrect because while a managed identity is often required for the extension to access resources securely, creating it is not the primary prerequisite step relative to the database structure itself. Option B is also incorrect because a Site-to-Site VPN is not strictly required if you use private endpoints or public IP routing with firewall rules, and even if networking is needed, the schema creation is the specific functional blocker mentioned in the documentation. Option C is unnecessary as SQL Server 2016 is supported by the migration tool.
As noted in community feedback, the tool migrates data only, not schema. Thus, the first critical step is to define the schema in the Azure SQL Database using tools like SQL Database Projects, DACPAC deployment, or SSMS scripting. Only after this schema is defined can the migration extension successfully load the data from DB1.
Exam Strategy
When using Azure migration extensions, always check whether the tool handles schema generation or only data movement. For the Azure SQL Migration extension, remember that schema definition is a manual prerequisite step using external tools like DACPAC or SSMS scripts.
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
ahmadano 👍 1 Answered DWhen the target is Azure SQL Database, the Azure SQL Migration extension for Azure Data Studio migrates data ONLY, not the schema. The target database must already contain the schema (tables, indexes, and so on) before you start the migration. You typically create it first with tools such as the SQL Database Projects extension, a dacpac deployment, or SSMS scripting, and then run the migration to copy the data into the existing tables.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-305 Questions
Access 95 questions with complete answers and detailed explanations.
View Full AZ-305 Practice Test →