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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
pakman
Highly Voted 3 years, 4 months ago
YES YES NO
upvoted 115 times
rigonet
3 years, 4 months ago
How do you know VM2-NI is connected to VNET1?
upvoted 49 times
alsmk2
6 months 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 7 times
...
alex_p
3 years, 4 months 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 50 times
Philly_cheese_steak
3 years, 4 months ago
NO YES NO There is no mention of VM2NI connected to VNET1??
upvoted 45 times
alsmk2
6 months, 2 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 2 times
...
...
...
Hyrydar
2 years, 5 months 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 8 times
klexams
2 years, 4 months ago
Nic to vm but all within a vnet
upvoted 1 times
...
ZooZoo72
2 years, 4 months ago
Yes but you also connected those cards to a network...hopefully.
upvoted 7 times
...
...
...
xRiot007
1 year, 8 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 8 times
jesus_sanchez
1 year, 8 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
8 months, 3 weeks 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
1 year 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 3 years, 4 months ago
No because VM2NI is not connected to VNET1 Yes No
upvoted 71 times
a4andrew
3 years, 4 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
3 years, 3 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, 11 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, 8 months ago
VM2NI does not even exist.
upvoted 2 times
...
binhdortmund
1 year ago
ARM was successfully deployed => VM2-NI exists and connected to VNET cause u cant create VM2-NI withou VNet
upvoted 3 times
...
...
GreenTick
Most Recent 1 week, 1 day ago
this ridiculous question, reflecting the stupidity of the questioner. clearly they would like to test the knowledge 1. zones within vnet can communicate by default. 2. vm can't be created without vnet. the pitfall is, by giving the half fact that VM1NI connected to VNET1, this shift the focus whether VM2NI connected to VNET1 or not if they expected you to answer NO, that's very dumb, low quality question.
upvoted 1 times
...
junkz
3 months, 3 weeks ago
in my opinion, for first question, we should not even consider the nic to VNET aspect, and focus soley on the region. even if subnet id is not explicitely mentioned in the template, the phrasing is "can connect?". the answer would be yes because of same region. so even if vm2 is "connected" already from template deployment to another vnet in eastus2, it "can connect" also if it needs to vnet1, because same region
upvoted 4 times
...
Stunomatic
4 months, 1 week ago
for those who think that vm2 is by default connecting to vnet1 ? how you know ? and why he is only mentioned that vm1 connected to vnet1. maybe there are more vnets why are we assuming ? maybe successfully deploy in vnet100000000000000. haha NYN
upvoted 2 times
...
EmnCours
5 months 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
5 months 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
5 months 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
...
[Removed]
5 months, 3 weeks ago
correct
upvoted 1 times
...
CheMetto
7 months 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
9 months, 2 weeks ago
Final Answer: Y Y N
upvoted 2 times
...
af68218
10 months, 3 weeks 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
1 year ago
Correct
upvoted 1 times
...
dhiii
1 year 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
1 year, 2 months 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
1 year, 2 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
1 year, 2 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
1 year, 4 months ago
YES, YES, NO https://learn.microsoft.com/en-us/azure/virtual-network/network-overview#virtual-machines
upvoted 1 times
...
Babustest
1 year, 4 months ago
Nowhere it's mentioning VM2-NI is in VNET1.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago