AZ-104 Exam QuestionsBrowse all questions from this exam

AZ-104 Exam - Question 32


Your company has an Azure Active Directory (Azure AD) subscription.

You need to deploy five virtual machines (VMs) to your company's virtual network subnet.

The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical.

Which of the following is the least amount of network interfaces needed for this configuration?

Show Answer
Correct Answer: A

To deploy five virtual machines (VMs) within an Azure Active Directory subscription on a virtual network subnet, each VM must have at least one network interface. Each network interface can be assigned multiple IP addresses, both public and private, within the limits provided by Azure. Consequently, the minimum number of network interfaces required is equal to the number of VMs, which is five.

Discussion

17 comments
Sign in to comment
samshirOption: A
Oct 4, 2021

5 VM so 5 NIC Cards .we have public and private ip address set to them .however they needs same inbound and outbound rule so create NSG and attach to NIC and this req can be fulfilled 5 NIC hence 5 is right ans

jackdryan
Feb 19, 2023

A is correct

CloudyTechOption: A
Jul 3, 2021

5 is correct

Mehedi007Option: A
Jul 28, 2023

Passed the exam on 26 July 2023. Scored 870. Exact question came.

MrTheoDaProphet
Dec 11, 2023

Just took the exam today. This very question was there.

BigStevieMcDaveOption: A
Dec 15, 2023

I initially thought this was 10 too, because with physical NICs it would be. But I did some digging and I think 5 is correct. https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-network-interface-addresses?tabs=nic-address-portal "You can add as many private and public IPv4 addresses as necessary to a network interface, within the limits listed in the Azure limits article."

etrop
May 6, 2024

Not really no even with Physical systems you can have multiple IP addresses on one NIC card and you can just tag different VLANS on your NIC traffic, with one being the public VLAN. But honestly nobody would do that nowadays they would just have the public addresses reside on the firewall or outer edge systems.

robsoneuclides
May 27, 2024

Correto

tashakoriOption: A
Mar 20, 2024

A is right

MadboOption: A
Apr 12, 2023

A. The least amount of network interfaces needed to deploy five virtual machines with both public and private IP addresses and identical inbound and outbound security rules is 5.

vikasshetty296Option: A
May 18, 2023

Each VM will have a minimum of 1 NIC, which can have one or more IPs associated to it

AquinteroOption: A
Jul 10, 2023

A. 5 cada VM debe tener minimo una NIC y cada una de estas puede tener varias direcciones Ip

KangIDOption: A
Sep 6, 2023

5 Azure Virtual Machine. That's means at least 5 NICs on it. Ref. Constraints of Azure VM A VM must have at least one network interface attached to it https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface-vm

pooh0805Option: B
Sep 30, 2023

The least amount of network interfaces needed for this configuration is: B. 10 Here's why: You have five virtual machines (VMs), each with both a public and private IP address. To achieve this configuration, you need one network interface (NIC) for each VM. Each NIC has both a private IP address (associated with the virtual network subnet) and a public IP address (if you want to assign one). So, for the five VMs, you would need 5 NICs. Since each NIC has both a private and public IP address, you have a total of 5 NICs * 2 IP addresses per NIC = 10 IP addresses. Therefore, the least amount of network interfaces needed for this configuration is 10.

GODUSGREAT
Oct 12, 2023

it's 5

GODUSGREAT
Oct 12, 2023

The least amount of network interfaces needed for this configuration is one network interface per VM. Each virtual machine (VM) in Azure requires at least one network interface. In this scenario, you need to deploy five VMs, each with both a public and private IP address. To achieve this, you would need to create five network interfaces, one for each VM. Each network interface can be associated with both a public IP address (for inbound connections) and a private IP address (for internal communication within the virtual network). By configuring the appropriate security rules, you can ensure that the inbound and outbound traffic for all five VMs is identical. Therefore, the least amount of network interfaces needed for this configuration is one network interface per VM, resulting in a total of five network interfaces.

Fred_B_
Oct 12, 2023

Unless I'm misunderstanding something, you seem to be contradicting yourself. First you said, "5 NICs * 2 IP addresses per NIC = 10 IP addresses." You're indicating 5 NICs with 2 IP addresses per NIC. Next you said, "Therefore, the least amount of network interfaces needed for this configuration is 10" when in your above statement you clearly indicate that 5 NICs is sufficient for 10 IP addresses.

18c2076
Mar 13, 2024

You understand that you stated the entirely correct answer, and then immediately proceeded to contradict yourself with a stoopid statement that made zero sense right afterward, correct? lol

dhivyamohanbabuOption: A
Jun 24, 2023

Correct answer A

Tim150Option: A
Jul 13, 2023

very easy

Norasit
Sep 26, 2023

It's very easy so I don't think this question should be in the exam.

testtaker09
Jun 17, 2024

was in the exam today 17/06/2024

Nico1973Option: B
Jul 10, 2024

The least amount of network interfaces needed for this configuration is B. 10. Each virtual machine requires two network interfaces - one for the public IP address and one for the private IP address. Therefore, with five virtual machines, you would need a total of 10 network interfaces to accommodate both types of IP addresses for each VM.

demha2024Option: A
Jul 20, 2024

5 is the correct answer "You can add as many private and public IPv4 addresses as necessary to a network interface, within the limits listed in the Azure limits article. You can add a private IPv6 address to one secondary IP configuration (as long as there are no existing secondary IP configurations) for an existing network interface. Each network interface can have one IPv6 private address. You can optionally add a public IPv6 address to an IPv6 network interface configuration. See IPv6 for details about using IPv6 addresses."