Microsoft Certified: Azure Developer Associate (AZ-204)Develop Azure compute solutionsMedium
A company is migrating an existing ASP.NET web application to Azure. The application requires a Windows operating system, specific IIS configurations, and a custom global assembly cache (GAC) entry. The development team needs full control over the underlying server environment to install these dependencies. Which Azure compute solution should they choose?
- AAzure Container Instances
- BAzure Functions
- CAzure App Service
- DAzure Virtual Machines
Show answer & explanationAnswer & explanation
Correct answer: D. Azure Virtual Machines
Azure Virtual Machines (VMs) provide Infrastructure-as-a-Service (IaaS), giving you full control over the operating system, server configurations, and installed software. This allows the team to install custom IIS configurations and GAC entries that are not typically supported by Platform-as-a-Service (PaaS) offerings like App Service or Functions.
Why the other options are wrong
- A. Azure Container Instances run containers, but direct OS access for custom IIS or GAC modifications outside the container image is not its primary purpose or strength.
- B. Azure Functions is a serverless platform that does not provide access to the underlying operating system or IIS for custom configurations.
- C. Azure App Service is a PaaS offering, which provides a managed environment. While it supports ASP.NET, it restricts access to the underlying OS and custom IIS/GAC configurations.
Azure Virtual Machines (IaaS)
On-demand, scalable computing resources that give you full control over the operating system and software stack.
- Infrastructure-as-a-Service (IaaS)
- Full control over OS, software, and configurations
- Requires manual management of OS and patches
Memory trick: VMs give you Very Much control over the OS.