QuestionQ294

VerifiedImplement and manage virtual networking

You have an Azure virtual machine named VM1 that runs Windows Server 2016.

You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.

Solution: You move VM1 to RG2, and then you add a new network interface to VM1.

Does this meet the goal?

Explanation

This does not meet the goal because moving VM1 to another resource group does not move it to another region. VM1 would still be in West US, while VNET2 is in East Asia. In Azure, a network interface attached to a virtual machine must be in the same location as the VM, and multiple NICs on a VM must be connected to subnets in the same virtual network. Since VM1 cannot attach a NIC from a VNet in a different region, it cannot be connected directly to VNET2 this way.

Learn more

Community Discussion

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