Deploying Resources for Hosting a Stateless Web App in Azure | AZ-301 Exam Solution

Azure Virtual Machine Scale Set for Hosting Stateless Web App

Question

Note: This question is part of series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You need to deploy resources to host a stateless web app in an Azure subscription. The solution must meet the following requirements:

-> Provide access to the full .NET framework.

-> Provide redundancy if an Azure region fails.

-> Grant administrators access to the operating system to install custom application dependencies.

Solution: You deploy a virtual machine scale set that uses autoscaling.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

Instead, you should deploy an Azure virtual machine to two Azure regions, and you create a Traffic Manager profile.

The provided solution of deploying a virtual machine scale set that uses autoscaling does meet the given requirements, making the correct answer A. Here's why:

  1. Provide access to the full .NET framework: Deploying a virtual machine (VM) allows for the installation of the full .NET framework on the VM, which can be accessed by the web app hosted on it. Since a virtual machine scale set (VMSS) is being used, the deployment is automatically scaled out to multiple virtual machines to handle increased load, so access to the .NET framework will be available across multiple instances.

  2. Provide redundancy if an Azure region fails: Deploying a VMSS in multiple regions will provide redundancy in case of a region failure. The VM instances will automatically scale out to other regions, ensuring that the web app continues to function without interruption.

  3. Grant administrators access to the operating system to install custom application dependencies: Deploying a VMSS allows administrators to have access to the operating system of each VM instance, giving them the ability to install any necessary custom application dependencies.

Therefore, deploying a virtual machine scale set that uses autoscaling satisfies all of the given requirements and is a valid solution.