Skip to Content

AZ-104: What Does a Virtual Machine Need to Communicate in a Virtual Network?

Learn how to identify the essential resource for a virtual machine to communicate with other resources in the same virtual network.

Table of Contents

Question

What must a virtual machine have to communicate with the other resources in the same virtual network?

A. Load balancer
B. Network security group
C. Network interface

Answer

C. Network interface

Explanation

An IP address is assigned to a network interface, which is assigned to a virtual machine.

A network interface is a resource that enables a virtual machine to communicate with the internet, Azure, and other resources in the same virtual network. A network interface has one or more private IP addresses and optionally a public IP address. A network interface can also be associated with other resources, such as network security groups, load balancers, and application security groups.

A load balancer is a resource that distributes incoming traffic among healthy instances of a service in the same region. A load balancer can be either public or internal, depending on whether it is exposed to the internet or not. A load balancer is not required for a virtual machine to communicate with other resources in the same virtual network, but it can improve the availability and performance of the service.

A network security group is a resource that filters network traffic to and from Azure resources in a virtual network. A network security group contains a list of security rules that allow or deny network traffic based on source, destination, port, and protocol. A network security group is not required for a virtual machine to communicate with other resources in the same virtual network, but it can enhance the security and control of the network traffic.

A is incorrect because load balancers distribute traffic between virtual machines and are not required for communication within a virtual network.
B is incorrect. Although network security groups are recommended to filter traffic, they are not required to communicate within a virtual network.

Microsoft Azure Administrator AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure Administrator AZ-104 exam and earn Microsoft Azure Administrator AZ-104 certification.