Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 2 question 23 discussion

Actual exam question from Microsoft's AZ-104
Question #: 23
Topic #: 2
[All AZ-104 Questions]

HOTSPOT -
You have an Azure subscription that contains a virtual network named VNET1 in the East US 2 region. A network interface named VM1-NI is connected to
VNET1.
You successfully deploy the following Azure Resource Manager template.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: Yes -

Box 2: Yes -
VM1 is in Zone1, while VM2 is on Zone2.

Box 3: No -
Reference:
https://docs.microsoft.com/en-us/azure/architecture/resiliency/recovery-loss-azure-region

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pakman
Highly Voted 3 years ago
YES YES NO
upvoted 105 times
rigonet
3 years ago
How do you know VM2-NI is connected to VNET1?
upvoted 42 times
alsmk2
1 month, 2 weeks ago
The question says you "successfully" deploy the VM's. Only VNET1 is mentioned and you cannot deploy a VM without a VNET. If both were successful, the only logical assumption is that both use vnet1.
upvoted 2 times
...
alex_p
3 years ago
the question actualy is - "VM1 and VM2 can connect VNET1 ? - Yes, they can because both are in tha same region where VNET1 is.
upvoted 48 times
Philly_cheese_steak
2 years, 11 months ago
NO YES NO There is no mention of VM2NI connected to VNET1??
upvoted 42 times
alsmk2
1 month, 4 weeks ago
Surely it is implied by the fact is says the two VMs are deployed? You can't deploy a VM without an underlying vNET, and the only vnet mentioned is VNET1. The template makes no reference to either, so the clear assumption to be made is that they are both connecting to the only available vNET.
upvoted 1 times
...
...
...
Hyrydar
2 years, 1 month ago
Do you really connect a NIC to a VNet or to a VM? Back in the day when we configured PCs at the street corner shops, we connected the network interface cards to the pc.
upvoted 7 times
klexams
1 year, 11 months ago
Nic to vm but all within a vnet
upvoted 1 times
...
ZooZoo72
2 years ago
Yes but you also connected those cards to a network...hopefully.
upvoted 7 times
...
...
...
xRiot007
1 year, 4 months ago
There is no specification that VM2 NIC is created. In an ARM template I can write whatever I like, so for all we care, VM2 NIC does not exist.
upvoted 7 times
jesus_sanchez
1 year, 3 months ago
Question says "you deploy successfully" and template says that it depends on a network interface named VM2-NI. It could be clearer and explicit, but if we put those two pieces together it makes sense to infer its existence.
upvoted 7 times
76d5e04
4 months ago
The below content is valid: [Question says "you deploy successfully" and template says that it depends on a network interface named VM2-NI.] The deployment would have failed if VM2-NI does not exist
upvoted 1 times
...
dhiii
8 months ago
The answer to first question is in the first sentence - "You have an Azure subscription that contains a virtual network named VNET1 in the East US 2 region" - There is no other Vnet in East US 2, and both VMs are in same region, so, VM2-NI must be connected to VNET1. So, answer is Yes to first question.
upvoted 1 times
...
...
...
...
aqslatewala
Highly Voted 2 years, 12 months ago
No because VM2NI is not connected to VNET1 Yes No
upvoted 66 times
a4andrew
2 years, 12 months ago
There is only one VNET mentioned. By default VM2NI is connected to VNET1. According to the template there is no explicit indication that either NIC is assigned to the VNET1, thus my conclusion is that both are assigned to VNET1. My answer for #1 is YES
upvoted 13 times
MrAzureGuru
2 years, 11 months ago
1NI belongs to VNet1, the template mentions no other Vnet, thus it defaults VM2 to VNet1. The question is primarily testing if you understand default routing between zones, plus availability of VM's if they exist in separate zones.
upvoted 10 times
...
...
mksdubey
2 years, 6 months ago
If you see the ARM template JSon for VM2 , in that they have mentioned that VM2 depends on VM2NI and VM2NI is connected to Vnet1 hence it is part of Vnet1
upvoted 2 times
...
xRiot007
1 year, 4 months ago
VM2NI does not even exist.
upvoted 2 times
...
binhdortmund
7 months, 3 weeks ago
ARM was successfully deployed => VM2-NI exists and connected to VNET cause u cant create VM2-NI withou VNet
upvoted 3 times
...
...
EmnCours
Most Recent 2 weeks, 2 days ago
1. No - because it's not stated the VM2-NI is connected to the VNET1 in the description - the question is can they both connect to VNET1 - so you don't know for VM2-NI 2. Yes - because the question embraces both the machines - and VM2 is spread over 2 zones, not being in the same DC. 3. No - being both machines in EastUS2 - when the region goes down - both of them sink too.
upvoted 4 times
...
NaoVaz
2 weeks, 2 days ago
Answers: 1) VM1 and VM2 can connect to VNET1 = YES 2) If an Azure datacenter becomes unavailable, VM1 or VM2 will be available = YES 3) If the East US 2 region becomes unavailable, VM1 or VM2 will be available = NO Explanation: 1) Being in the same region booth VM's can connect to the same VNET. 2) VM1 and VM2 are in different Zones, so if a Datacenter becomes unavailable, either one or another will still be available. 3) Booth VM's are on the same Region, so if it goes down booth VM's will be down also.
upvoted 10 times
...
NickTim
2 weeks, 2 days ago
Copilot Says: YES: VM1 and VM2 can connect to VNET1: Both VMs are connected to the virtual network VNET1. YES: If an Azure datacenter becomes unavailable, VM1 or VM2 will be available: Since VM1 and VM2 are in different availability zones, if one datacenter (zone) becomes unavailable, the other VM in a different zone will still be available. NO: If the East US 2 region becomes unavailable, VM1 or VM2 will be available: If the entire East US 2 region becomes unavailable, both VMs will be affected and will not be available. (Region Pair is not applicable because not mentioned on ARM template and should be setting up in advance)
upvoted 2 times
...
SeMo0o0o0o
1 month ago
correct
upvoted 1 times
...
CheMetto
2 months, 1 week ago
mmmh, the answer in this case is completely personal. I'll go for YYN, but the other side is NNN. I did some research, and based from this link: https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.network/vnet-2subnets-service-endpoints-storage-integration/azuredeploy.json effectively in the template is missing the part of the subnet related to vnic, so this one: "subnet": { "id": "[variables('subnetId')[copyIndex()]]" }, Altough is missing this one, so it should be NNN, is Microsoft really so a******e to do that? Idk. I'll go for YYN
upvoted 1 times
...
varinder82
4 months, 3 weeks ago
Final Answer: Y Y N
upvoted 2 times
...
af68218
6 months ago
For those who, like me, were struggling to understand why VM1 and VM2 can both connect to VNET1 despite having different NICs, see the excerpt below, and know that I tested this by creating a couple of VMs, each on their own networks, and was able to log into one and RDP into the other from it. "Each NIC attached to a VM must exist in the same location and subscription as the VM. Each NIC must be connected to a VNet that exists in the same Azure location and subscription as the NIC. " https://learn.microsoft.com/en-us/azure/virtual-network/network-overview
upvoted 6 times
...
Amir1909
7 months, 2 weeks ago
Correct
upvoted 1 times
...
dhiii
8 months ago
The answer to first question is in the first sentence - "You have an Azure subscription that contains a virtual network named VNET1 in the East US 2 region" - There is no other Vnet in East US 2, and both VMs are in same region, so, VM2-NI must be connected to VNET1. So, answer is Yes to first question.
upvoted 3 times
...
SgtDumitru
10 months, 1 week ago
1. NO - There is no mention that VM2 is deployed in VNET1 or that NIC2 is connected to VNET1 2. YES - If a datacenter will be unavailable, at least one on VM will be available since their are in different data centers a.k.a zones 3. NO - Both VMs are in same Region
upvoted 2 times
SgtDumitru
10 months ago
Ok, so based on answer in this thread, first question is YES, despite not having any mentioning of VM2-NIC related to VNET1. Question suppose that you deploy VM1 & VM2 to same VNET, but different zones. Since they are "by Microsoft logic" deployed in same VNET, yes they can connect.
upvoted 3 times
FlaShhh
10 months ago
bro came back to correct himself, Respect.Have you given the exam yet? your comment seems the latest here
upvoted 2 times
...
...
...
amsioso
12 months ago
YES, YES, NO https://learn.microsoft.com/en-us/azure/virtual-network/network-overview#virtual-machines
upvoted 1 times
...
Babustest
1 year ago
Nowhere it's mentioning VM2-NI is in VNET1.
upvoted 2 times
...
Chris76
1 year, 1 month ago
N - "Can connect" vs "Can Be connected" two different things. Only VM1 "Can Connect to VNET1" Because it says it "VM1-NI" is connected to "VNET 1" Y - Because of zone: 1, zone:2 N - Both zones are in EastUS2
upvoted 8 times
MissCisco
4 months ago
if one can be on when one zone failure its mean vm1 and vm2 are in# zone Zone = Each zone consists of one or more data centers equipped with independent power, cooling, and networking then vm1 and Vm2 are ob different Vnet the answer are No Yes No
upvoted 1 times
...
...
KpiTalisTTT
1 year, 1 month ago
too many people overthink every single word in every single question...people chill
upvoted 1 times
shrsrm95
1 year, 1 month ago
that's how they getcha
upvoted 1 times
...
...
Mehedi007
1 year, 2 months ago
YYN VNET1 is in the same region as VM1 and VM2, so it can connect with both. "A resource can only be created in a virtual network that exists in the same region and subscription as the resource." https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-vnet-plan-design-arm#regions Passed the exam on 26 July 2023. Scored 870. Similar question came.
upvoted 11 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...