A company plans to migrate an on-premises SQL Server database to Azure. The database uses SQL Server Agent to run scheduled jobs and performs cross-database queries within the same instance. The company wants a fully managed PaaS solution that requires minimal application changes. Which Azure SQL deployment option should they choose?
Azure SQL Managed Instance offers high compatibility with on-premises SQL Server, including SQL Server Agent, cross-database queries, and linked servers. It is fully managed and requires minimal changes to existing applications, making it the best fit for this migration.
Why this answer
Azure SQL Managed Instance is the correct choice because it provides full SQL Server Agent support for scheduled jobs and enables cross-database queries within the same instance, while being a fully managed PaaS service. It offers near 100% compatibility with on-premises SQL Server, minimizing application changes during migration.
Exam trap
The trap here is that candidates often choose Azure SQL Database (single database) or elastic pool because they are more commonly discussed as PaaS, but they overlook the specific requirements for SQL Server Agent and cross-database queries, which only Managed Instance supports.
How to eliminate wrong answers
Option A is wrong because Azure SQL Database (single database) does not support SQL Server Agent for scheduled jobs and cannot perform cross-database queries within the same instance (it uses elastic query or external tables instead). Option C is wrong because Azure SQL Database elastic pool is a resource-sharing model for multiple single databases, inheriting the same limitations as single databases (no SQL Server Agent, no cross-database queries). Option D is wrong because SQL Server on Azure Virtual Machines is an IaaS solution, not a fully managed PaaS, requiring the customer to manage the VM and SQL Server, which contradicts the requirement for minimal management overhead.