exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 5 question 41 discussion

Actual exam question from Microsoft's AZ-304
Question #: 41
Topic #: 5
[All AZ-304 Questions]

DRAG DROP -
You have an on-premises network that uses an IP address space of 172.16.0.0/16.
You plan to deploy 25 virtual machines to a new Azure subscription.
You identify the following technical requirements:
✑ All Azure virtual machines must be placed on the same subnet named Subnet1.
✑ All the Azure virtual machines must be able to communicate with all on-premises servers.
✑ The servers must be able to communicate between the on-premises network and Azure by using a site-to-site VPN.
You need to recommend a subnet design that meets the technical requirements.
What should you include in the recommendation? To answer, drag the appropriate network addresses to the correct subnets. Each network address may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

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
Elecktrus
Highly Voted 4 years, 8 months ago
is Correct. Explanation (for people that don`t know about network) 1) The range for the new subnet can't overlap the on-premise subnet range. The on-premise network is 172.16.0.0/16, that is from 172.16.0.1 to 172.16.255.255, so the answers 172.16.0.0/16 and 172.16.1.0/28 are not valid (overlap with on-pemise subnet) 2) the range 192.168.1.0/28 is from 192.168.1.1 to 192.168.1.15, only 16 ips and we need 25 IPs, so the only valid answer for subnet1 is 192.168.0.0/24 3) the range for the gateway can't ovelap with on-premise, and Microsoft recommend that would be /27 or /28, so the answer valid for gateway is 192.168.1.0/28 Check the example: https://docs.microsoft.com/es-es/azure/vpn-gateway/tutorial-site-to-site-portal
upvoted 120 times
...
michel28vda
Highly Voted 4 years, 2 months ago
Example calculation for 192.168.1.0/28 network. An ip-address can be 32 bits max. Each octet contains 8 bits. SO: 11111111(8).11111111(8).11111111(8).11111111(8) The CIDR contains the bits for the network part. A /28 network has 28 bits. In binary that means: 11111111(8).11111111(8).11111111(8).11110000(4) Remaining 32-28 = 4 bits. You can see that above. The remaining bits are for the host addresses. Now convert those 4 bits to decimal numbers to get the host address range. 128 64 32 16 8 4 2 1 1 1 1 1 1+2+4+8= 15 Available ip-addresses 192.118.1.0 to 192.168.1.15 Available usable ip-addressess 192.168.1.1 to 192.168.1.14 because the network address and the broadcast address are not used as host ip-addresses. - A broadcast IP address is only assigned once in each network. It is always the last IP address of the subnet. (192.168.1.15) - In a network, the first address field is reserved for the network. The network address is the ip-adress with the /28 notation. (192.168.1.0)
upvoted 15 times
rdemontis
3 years, 8 months ago
thanks for explanation
upvoted 1 times
...
...
Dpejic
Most Recent 3 years, 7 months ago
On exam 24.12.2021
upvoted 2 times
...
Dpejic
3 years, 7 months ago
Appere on exam 23-dec-2021
upvoted 1 times
...
syu31svc
3 years, 10 months ago
The address space for the Virtual Network should not conflict with the address space for the on-premise network. So, in this case the ideal option to choose as the address space is 192.168.0.0/24 The address space for the Virtual Network should not conflict with the address space for the on-premise network. So, in this case the ideal option to choose as the address space is 192.168.0.0/24 for the subnet in the virtual network. And then use 192.168.1.0/28 as the address space for the gateway subnet
upvoted 2 times
...
tvs2021
4 years ago
on exam (7-19-2021). passed 304
upvoted 5 times
...
claudio82
4 years, 3 months ago
Ok, but first is necessary add an address space of 192.168.0.0/16
upvoted 3 times
Oracleist
4 years, 2 months ago
why? are a lot of address, don't tell that to an infosec manager...
upvoted 2 times
...
MrClumsy
3 years, 6 months ago
Correct, otherwise you can't have 192.168.1.0/24 subnet in 192.168.0.0/24 network. Because 192.168.0.0/24 means you have network with address range from 192.168.0.0 - 192.168.0.255.
upvoted 1 times
...
...
jonasis
4 years, 6 months ago
Correct answer, but I just want to add that Microsoft and John Savill recommends /27 mask for GW subnet https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpn-gateway-settings
upvoted 5 times
Hfyr
4 years, 6 months ago
Correct - and John Savill rules! :)
upvoted 7 times
...
...
uzairahm007
4 years, 8 months ago
Answer is perfectly correct. " /28" is for the gateway subnet (recommended by Microsoft) and VMs are NOT INSTALLED in gateway subnet because in that case they don't remain VMs, they become VPN Gateway Instances. On-premise subnet range is 172.16.0.0/16 hence this address space CAN'T be used for VMs so remaining is 192.168.0.0/24 subnet range for VMs and 192.168.1.0/28 for gateway subnet. Hence answer is correct.
upvoted 10 times
...
andyR
4 years, 8 months ago
correct
upvoted 5 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 ...