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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-103 topic 4 question 31 discussion

Actual exam question from Microsoft's AZ-103
Question #: 31
Topic #: 4
[All AZ-103 Questions]

You have an Azure subscription named Subscription1 that contains the resource groups shown in the following table.

In RG1, you create a virtual machine named VM1 in the East Asia location.
You plan to create a virtual network named VNET1.
You need to create VNET1, and then connect VM1 to VNET1.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Create VNET1 in RG2, and then set East Asia as the location.
  • B. Create VNET1 in a new resource group in the West US location, and then set West US as the location.
  • C. Create VNET1 in RG1, and then set East US as the location.
  • D. Create VNET1 in RG2, and then set East US as the location.
  • E. Create VNET1 in RG1, and then set East Asia as the location.
Show Suggested Answer Hide Answer
Suggested Answer: AE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nhan
Highly Voted 4 years ago
Basically, you just need to create a VNET1 in any RG and set location asia
upvoted 37 times
I
3 years, 1 month ago
That's true!
upvoted 1 times
...
...
csx522
Highly Voted 3 years, 10 months ago
Answer is correct: 1) A network interface can exist in the same, or different resource group, than the virtual machine you attach it to, or the virtual network you connect it to. 2)The virtual machine you attach a network interface to and the virtual network you connect it to must exist in the same location, also referred to as a region. https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-network-interface
upvoted 11 times
...
tashakori
Most Recent 1 month ago
A and E is right
upvoted 1 times
...
Amir1909
2 months ago
Correct
upvoted 1 times
...
sidharthwader
2 years, 12 months ago
Note this has to be done while making the VM you must create the Vnet. Vnet can be in any resource group provided it must be in the same region as the vnet. Once a VM is created with a Vnet it cannot be changed unlike network interface.
upvoted 2 times
...
azayra
3 years, 7 months ago
AC are the answers
upvoted 1 times
aaa112
3 years, 4 months ago
AC is not the answer and do not confuse people if you have no clue what is the right choice.
upvoted 6 times
...
...
bnair
3 years, 8 months ago
Given answer is plain wrong. you can create the new VNET1 in RG1 or RG2 and in the same region as VM1, you still won't be able to connect an NIC in the new VNET1 to the existing VM. NIC has to be in the SAME VNET as the existing VM. It can be in a different subnet, but you cannot cross VNET. Otherwise we would have been able to migrate VMs from one vnet to another.
upvoted 2 times
...
BlackLands
3 years, 8 months ago
"Any Azure resource that you connect to the virtual network must be in the same location as the virtual network." Source: https://docs.microsoft.com/en-us/azure/virtual-network/manage-virtual-network
upvoted 1 times
...
cucuff
3 years, 10 months ago
Remember, Resource groups can span multiple Regions, but VNets only can hold resources (VMs, Network Adapters) that exists in the same region.
upvoted 6 times
...
NickNamers
3 years, 11 months ago
I thought you couldn't move a VM from a VNET to another VNET without recreating the VM?
upvoted 1 times
jonnybugaloo
3 years, 10 months ago
The question didn't say move. In the creation of the VM, you need to select a VNET, or create a new one, which is this case.
upvoted 3 times
Neonlight8
3 years, 2 months ago
E is correct for point 2, however A is incorrect because You need to create VNET1, and then connect VM1 to VNET1. the world connect is important here it has to be in the same region for VM and VNET to connect. How can you create VNET1 in RG2 when RG2 is not in East Asia? This question is flawed
upvoted 1 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 ...