QuestionQ94

VerifiedDeploy and manage Azure compute resources

You have an Azure web app named webapp1.

You have a virtual network named VNET1 and an Azure virtual machine named VM1 that hosts a MySQL database. VM1 is connected to VNET1.

You need to make sure that webapp1 can access the data hosted on VM1.

What should you do?

Explanation

Azure App Service accesses resources in a virtual network by using Virtual Network Integration. That feature allows the web app to make outbound connections to resources in or through the VNet, including a VM in that network. Since VM1 already resides in VNET1, connecting webapp1 to VNET1 is the required configuration.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!