Microsoft Azure Architect Design (AZ-304) Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Azure Architect Design (AZ-304) Exam with comprehensive quiz questions designed to enhance your understanding and confidence. Master essential Azure concepts and strategies to excel on your test day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the recommended deployment for a .NET Core web application relying on an on-premises SQL Server database when moving to Azure?

  1. Azure Virtual Machines

  2. Azure App Service Hybrid Connections

  3. Azure Functions

  4. Azure Web Apps

The correct answer is: Azure App Service Hybrid Connections

For a .NET Core web application that depends on an on-premises SQL Server database, the best approach is to use Azure App Service with Hybrid Connections. This deployment method provides a seamless way to connect your web application running in Azure to on-premises resources. Hybrid Connections facilitate secure communication between Azure services and your on-premises SQL Server, ensuring that sensitive data can be accessed without exposing infrastructure or databases directly to the internet. While Azure Virtual Machines offer a more traditional infrastructure-as-a-service option, they may require more overhead in terms of management, scalability, and maintenance, potentially complicating the deployment process. Azure Functions can be useful for serverless applications but are not necessarily the right fit for a web application that needs to maintain a persistent state; they are often event-driven and not designed for continuous running web applications. Azure Web Apps is a strong candidate for hosting web applications and could work in this scenario without hybrid connections, but it wouldn’t provide the necessary direct access to the on-premises SQL Server database without additional configuration or components. Using Hybrid Connections with Azure App Service strikes a balance between leveraging cloud benefits while maintaining secure access to on-premises databases, making it the recommended deployment strategy in this scenario.