nerdexam
Microsoft

DP-300 · Question #45

Your environment contains a Microsoft Azure virtual machine and an Azure SQL database. The virtual machine has Microsoft SQL Server installed and contains several applications. You need to recommend…

The correct answer is B. Implement transactional replication. To migrate an application's database from SQL Server on an Azure VM to an Azure SQL Database with minimal downtime, transactional replication is the most suitable solution.

Submitted by ravi_2018· Mar 6, 2026Plan and implement data platform resources

Question

Your environment contains a Microsoft Azure virtual machine and an Azure SQL database. The virtual machine has Microsoft SQL Server installed and contains several applications. You need to recommend a solution to migrate one of the applications to the Azure SQL database. The solution must minimize downtime. Which solution should you recommend?

Options

  • AImplement log shipping.
  • BImplement transactional replication.
  • CRestore a BACPAC of the database.
  • DRestore a backup of the database.

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    83% (19)
  • C
    4% (1)
  • D
    9% (2)

Why each option

To migrate an application's database from SQL Server on an Azure VM to an Azure SQL Database with minimal downtime, transactional replication is the most suitable solution.

AImplement log shipping.

Log shipping involves restoring transaction log backups, making the secondary database read-only during restores and typically requiring a manual failover sequence which often results in more downtime compared to transactional replication for continuous synchronization and cutover.

BImplement transactional replication.Correct

Transactional replication allows the source database on SQL Server to be continuously synchronized with an Azure SQL Database as a subscriber. This keeps the target database up-to-date in near real-time while the source application remains online, enabling a quick cutover by simply redirecting the application to the synchronized Azure SQL Database with minimal downtime.

CRestore a BACPAC of the database.

Restoring a BACPAC requires taking the source database offline or creating a point-in-time snapshot, leading to significant downtime while the BACPAC is generated and then imported into Azure SQL Database.

DRestore a backup of the database.

Restoring a backup of the database involves a period of downtime where the source cannot accept new writes and does not provide a continuous synchronization mechanism for a minimal downtime cutover.

Concept tested: Minimal downtime SQL database migration to Azure SQL Database

Source: https://learn.microsoft.com/en-us/azure/azure-sql/database/replication-to-sql-database

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice