exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 1 question 40 discussion

Actual exam question from Microsoft's AZ-300
Question #: 40
Topic #: 1
[All AZ-300 Questions]

SIMULATION -
Click to expand each objective. To connect to the Azure portal, type https://portal.azure.com in the browser address bar.






When you are finished performing all the tasks, click the "˜Next' button.
Note that you cannot return to the lab once you click the "˜Next' button. Scoring occur in the background while you complete the rest of the exam.

Overview -
The following section of the exam is a lab. In this section, you will perform a set of tasks in a live environment. While most functionality will be available to you as it would be in a live environment, some functionality (e.g., copy and paste, ability to navigate to external websites) will not be possible by design.
Scoring is based on the outcome of performing the tasks stated in the lab. In other words, it doesn't matter how you accomplish the task, if you successfully perform it, you will earn credit for that task.
Labs are not timed separately, and this exam may have more than one lab that you must complete. You can use as much time as you would like to complete each lab. But, you should manage your time appropriately to ensure that you are able to complete the lab(s) and all other sections of the exam in the time provided.
Please note that once you submit your work by clicking the Next button within a lab, you will NOT be able to return to the lab.

To start the lab -
You may start the lab by clicking the Next button.
You plan to allow connections between the VNET01-USEA2 and VNET01-USWE2 virtual networks.
You need to ensure that virtual machines can communicate across both virtual networks by using their private IP address.
The solution must NOT require any virtual network gateways.
What should you do from the Azure portal?

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.
Virtual network peering enables you to seamlessly connect two Azure virtual networks. Once peered, the virtual networks appear as one, for connectivity purposes.

Peer virtual networks -
Step 1. In the Search box at the top of the Azure portal, begin typing VNET01-USEA2. When VNET01-USEA2 appears in the search results, select it.
Step 2. Select Peerings, under SETTINGS, and then select + Add, as shown in the following picture:

Step 3. Enter, or select, the following information, accept the defaults for the remaining settings, and then select OK.
Name: myVirtualNetwork1-myVirtualNetwork2 (for example)
Subscription: elect your subscription.
Virtual network: VNET01-USWE2 - To select the VNET01-USWE2 virtual network, select Virtual network, then select VNET01-USWE2. You can select a virtual network in the same region or in a different region.
Now we need to repeat steps 1-3 for the other network VNET01-USWE2:
Step 4. In the Search box at the top of the Azure portal, begin typing VNET01- USEA2. When VNET01- USEA2 appears in the search results, select it.
Step 5. Select Peerings, under SETTINGS, and then select + Add.
References:
https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal

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
AnaFP
Highly Voted 5 years, 4 months ago
I think it's not necessary to make a peering the second time. Just connecting VNet1 with VNet2, the peering is done. https://docs.microsoft.com/en-us/azure/virtual-network/tutorial-connect-virtual-networks-portal
upvoted 23 times
aimar047
5 years, 1 month ago
"You need to ensure that virtual machines can communicate across both virtual networks by using their private IP address." If one peering side is created, the peering connection tab won't appear "connected" state . it requires both sides !
upvoted 5 times
tmurfet
5 years, 1 month ago
Depends how you do it -- using the portal you can create both peering sides simultaneously, if using CLI you have to create each side.
upvoted 6 times
Test_Taker
4 years, 11 months ago
I haven't tried it but i imagine if you create only one side of the peer from the CLI, the portal will still story only "initiated" and not "connected"
upvoted 1 times
JimM
4 years, 9 months ago
only once but make sure that both paths are enabled under "configure virtual network access settings".
upvoted 1 times
...
...
...
...
...
TYT
Highly Voted 5 years, 2 months ago
Assumption: Both VNETS already exists. Go to any VNET -> Peerings -> Add -> Give a name -> select the other VNEt -> give a name for the peering from other side -> make sure allow vnet access as enabled (both) -> Click OK. If VNETs do not exist, make sure to create two VNETs with non-overlapping address space, else you won't be able to Peer and you will get an error and it won't let you create peering.
upvoted 21 times
praveen97
4 years, 11 months ago
Agree with TYT
upvoted 1 times
...
...
lolit
Most Recent 4 years, 8 months ago
It *used* to be necessary to create Peerings from both networks, but it no longer is -- Now, creating a Peering can be done from Either VNet.
upvoted 3 times
...
Jaleshwar
4 years, 10 months ago
1. Create Two vNets as mentioned names. 2. Make sure both vNets are in same region 3. Select anyone vNet, Go to setting Subnet. 4. Select Peering from setting and add new peering by selecting another vNet.
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 ...