QuestionQ295

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 create a new network interface, and then you add the network interface to VM1.

Does this satisfy the goal?

Explanation

Adding a network interface to an Azure virtual machine does not connect that VM to a different virtual network in another region. Azure requires the NICs attached to a VM to be in the same virtual network, and a multi-NIC VM can span multiple subnets only within that same VNet. A network interface must also be in the same region as the VM it's attached to. So VM1 can be connected to VNET2 only by deleting it and re-creating it with a network interface in VNET2.

Learn more

Community Discussion

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