nerdexam
MicrosoftMicrosoft

AZ-104 · Question #528

AZ-104 Question #528: Real Exam Question with Answer & Explanation

The correct answer is D: Stop demovm1 and demovm2. When you deploy an application gateway to a Virtual Network, it needs to have an empty subnet to deploy the application gateway resources. As an example shown below, a Virtual Machine This is why we can't use this Network to deploy the application gateway. So, in our question, th

Submitted by renata2k· Mar 4, 2026Deploy and manage Azure compute resources

Question

Your company has an Azure subscription and has setup the following Virtual Networks and subnets in Azure: The following Virtual Machines have been deployed in the subnets: following would you do first?

Options

  • AAdd a service endpoint.
  • BAdd a virtual network.
  • CMove demovm3 to Subnet1.
  • DStop demovm1 and demovm2

Explanation

When you deploy an application gateway to a Virtual Network, it needs to have an empty subnet to deploy the application gateway resources. As an example shown below, a Virtual Machine This is why we can't use this Network to deploy the application gateway. So, in our question, the only way to deploy the application gateway is to first stop the virtual machines and deallocate them. This seems to be the most suitable answers from the options given. The other options provided would not assist in the creation of the gateway. https://docs.microsoft.com/en-us/azure/application-gateway/quick-create-portal

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions