Exam AZ-500 All QuestionsBrowse all questions from this exam
Question 433

You have an Azure subscription that contains the subnets shown in the following table.

The subscription contains an Azure web app named WebApp1 that has the following configurations:

• Region: West US

• Virtual network: VNet1

• VNet integration: Enabled

• Outbound subnet: Subnet11

• Windows plan (West US): ASP1

You plan to deploy an Azure web app named WebApp2 that will have the following settings:

• Region: West US

• VNet integration: Enabled

• Windows plan (West US): ASP1

To which subnets can you integrate WebApp2?

    Correct Answer: D

    To integrate WebApp2 with a subnet, the subnet must be unused and must not already be delegated to another App Service plan. Since Subnet11 is already used for WebApp1, it cannot be reused for WebApp2. Therefore, WebApp2 can integrate with either Subnet12 or Subnet21, as these subnets are not yet in use for VNet integration. Hence, the correct subnets for integration are Subnet12 or Subnet21.

Discussion
c12Option: D

Correct answer is D. Subnet12 or Subnet21 only. https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration

Nava702

Can confirm that this is the right answer. Tested in lab. Deployed a new app service called IntegrationApp1, using a new ASP called Integration-ASP. Integrated it with subnet called Appsubnet1. Deployed another app called IntegrationApp2, using the same ASP called Integration-ASP. While configuring VNET integration, AppSubnet1 is under the NOT AVAILABLE list, with explanation "NOT AVAILABLE FOR INTEGRATION(SUBNET MUST BE EMPTY AND NOT ALREADY DELEGATED). I have the option to select another VNET as well, so quite clearly the answer here is Subnet12 or Subnet21.

hfk2020Option: E

Tested in the Lab created a Appservice plan with 2 apps all in the same region, did vnet integration of 1st App to a OBJ3\default subnet, now I created the vnet integration for the 2nd app and I was getting following options App Service Plan connections: O OBJ3/default O New connection New connection listed VNETs in the same region with empty subnets, but I chose the 1st radio button and I could connect to the same subnet as App1 hence proved All subnets can be used in this case so E is the answer Image is shared on this link https://drive.google.com/file/d/1bub2s72b2qLGEyrTUATVDXHCKjxXXFKZ/view?usp=sharing

epomattiOption: D

"You can't have more than two virtual network integrations per Windows App Service plan. You can't have more than one virtual network integration per Linux App Service plan."

OrangeSGOption: E

Windows App Service plan can have two virtual network integrations. Multiple apps in the same App Service plan can use the same virtual network integration. https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#subnet-requirements "...You can't have more than two virtual network integrations per Windows App Service plan. You can't have more than one virtual network integration per Linux App Service plan. Multiple apps in the same App Service plan can use the same virtual network integration...."

FerasoOption: D

Answer is D. Check this link: https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#limitations 1- The feature requires an unused subnet that's an IPv4 /28 block or larger in an Azure Resource Manager virtual network. 2- The app and the virtual network must be in the same region. 3- You can't have more than two virtual network integrations per Windows App Service plan. You can't have more than one virtual network integration per Linux App Service plan. - - All VNETs are in the same region (matching rule 2) - However, subnet11 already has webapp deployed in it, hence, we can't use it (matching rule 1). - We can use VNet1/Subnet12 and VNet2/Subnet21 as this is a windows plan which support up to two virtual networks per App service plan (matching rule 3). So, the correct answer is Subnet12 or Subnet21

TheProfessor

You are spot on. The Vnet integration requires an unused subnet that's an IPv4 /28 block or larger in an Azure Resource Manager virtual network.

sadsadOption: D

Hi, you can only integrate one VNET (and one subnet) per app service plan but you can host multiple web apps per app service plan. See the limitations here: https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#limitations

Tim1984

it says You can't have more than two virtual network integrations per Windows App Service plan. You can't have more than one virtual network integration per Linux App Service plan.in here,it is windows ASP so it can have 2 irtual network integrations. it seems like c is more reasonable

Nava702Option: D

Subnet 12 or 21. See my explanation below under C12's answer.

papillorOption: D

"The integration subnet can be used by only one App Service plan." "You can't have more than two virtual network integrations per Windows App Service plan." Only one app in an integration subnet. Only 2 virtual network per Windows App Service https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#subnet-requirements

xxavimrOption: D

The subnet is dedicated to the vnet integration. subnet11 is already used

TheProfessorOption: D

D. Subnet12 or Subnet21 only An app can only have a single virtual network integration at a given time.

Jimmy500Option: D

Now Linux function can also have 2 here answer is D. Explanation of colleague name by Feraso is correct just add my first note there.

KRISTINMERIEANNOption: D

https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration

GuruPandianOption: D

Correct answer is D. Subnet12 or Subnet21 only.

SanjSLOption: D

D When you want your apps in your plan to reach a virtual network that's already connected to by apps in another plan, select a different subnet than the one being used by the pre-existing virtual network integration. https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration

wardy1983Option: D

Answer: D Explanation: Correct answer is D. Subnet12 or Subnet21 only. https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration

TheProfessorOption: D

The Vnet integration requires an unused subnet that's an IPv4 /28 block or larger in an Azure Resource Manager virtual network.

_punky_Option: C

My answer is still C because of ASP1, because of simple point: "You cannot have multiple Azure App Service Plans with the same name within the same Resource Group. Each App Service Plan within a Resource Group must have a unique name" Otherwise the analogy: WebApp1 is located in West US and is integrated with VNet1. It uses Subnet11 for outbound traffic. WebApp2 is also located in West US and has VNet integration enabled. It shares the same region as WebApp1 (West US) and uses the same Windows plan (ASP1). To determine which subnets WebApp2 can integrate with, consider the following: WebApp2 is in West US, the same region as WebApp1, and it is integrated with VNet1. Therefore, it can integrate with subnets within VNet1. WebApp1 uses Subnet11 for outbound traffic, which indicates that Subnet11 is configured for VNet integration. Subnet12 is also part of VNet1 and located in the same region (West US) as WebApp2. So, based on the provided information, WebApp2 can integrate with subnets within VNet1, which includes Subnet11 and Subnet12. The correct answer is indeed: C. Subnet11 or Subnet12 only