exam questions

Exam AZ-700 All Questions

View all questions & answers for the AZ-700 exam

Exam AZ-700 topic 1 question 25 discussion

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

You have an Azure subscription that contains a virtual network named VNet1 and the virtual machines shown in the following table.



All the virtual machines are connected to Vnet1.

You need to ensure that the applications hosted on the virtual machines can be accessed from the internet. The solution must ensure that the virtual machines share a single public IP address.

What should you use?

  • A. an internal load balancer
  • B. Azure Application Gateway
  • C. a NAT gateway
  • D. a public load balancer
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
kncappy
Highly Voted 8 months ago
Public load balancers allow internet traffic to your VMs by translating their private IP addresses to public IP addresses. You can configure your load balancer with a frontend IP address and load balancer rules to define how incoming traffic is distributed. Azure NAT gateways handle outbound traffic, and only packets arriving as a response to an outbound connection can pass through the NAT gateway. Application gateways operate at layer 7 OSI and can only manage web traffic. Since the question is asking for a solution to ensure Internet traffic can reach the VMs, public load balancer is the way to go. https://learn.microsoft.com/en-us/azure/load-balancer/components https://learn.microsoft.com/en-us/azure/nat-gateway/nat-overview
upvoted 12 times
...
xRiot007
Most Recent 2 weeks, 6 days ago
Selected Answer: D
Inbound to a common public IP requires a public Load Balancer. Outbound using a common public IP requires a NAT gateway. So the answer is D - a public load balancer. Example architecture: https://azure.microsoft.com/en-us/products/application-gateway
upvoted 1 times
...
northgaterebel
2 months, 1 week ago
Selected Answer: B
B. Azure Application Gateway. "Route traffic to back-end server pools with URL path-based routing, and to MULTIPLE web applications using host header-based routing." https://azure.microsoft.com/en-us/products/application-gateway
upvoted 1 times
...
snehmaithil
4 months ago
Selected Answer: D
Public load balancer
upvoted 1 times
...
KeZhai
9 months, 3 weeks ago
Azure NAT Gateway is a fully managed and highly resilient Network Address Translation (NAT) service. You can use Azure NAT Gateway to let all instances in a private subnet connect outbound to the internet while remaining fully private. Unsolicited inbound connections from the internet aren't permitted through a NAT gateway. Only packets arriving as response packets to an outbound connection can pass through a NAT gateway.
upvoted 1 times
...
toto74500
10 months ago
Selected Answer: D
LB can route non HTTP traffic instead of App Gw that HTTP based. Nat Gw handle outbound traffic . Answer is D LB
upvoted 1 times
...
Lazylinux
12 months ago
Selected Answer: D
D is correct, would almost think NAT Gateway but it allows only Internet traffic that is in RESPONSE to traffic originated from Azure vNets i.e. in response ONLY
upvoted 1 times
...
VinceWho
1 year ago
D seems the best answer, although I have been given to understand that traffic on port 25 is not allowed at all in Azure (because they want you to use Exchange online, obviously)
upvoted 1 times
...
Ben_88
1 year, 4 months ago
why not a nat gateway ?
upvoted 2 times
Ben_88
1 year, 4 months ago
bad idea , just realized that nat gateway can only handle outbound traffic . so it can only be D
upvoted 6 times
...
...
Oklama
1 year, 5 months ago
Selected Answer: D
Given answer is correct
upvoted 4 times
...
jamess
1 year, 5 months ago
Why not Azure Application Gateway with different listeners?
upvoted 1 times
GiorgioLDN
1 year, 4 months ago
Because Application Gateway is a layer 7 load balancer, which means it works only with web traffic (HTTP, HTTPS)!
upvoted 12 times
DCor2022
1 year, 2 months ago
Agree, see Notes in: https://learn.microsoft.com/en-us/azure/application-gateway/overview
upvoted 2 times
...
...
...
ubdubdoo
1 year, 5 months ago
an Azure NAT Gateway is a dedicated network appliance that provides outbound NAT functionality for virtual networks in Azure. It allows resources within a virtual network to access the internet or other resources outside of the virtual network using a single or a pool of public IP addresses.
upvoted 2 times
...
crypto700
1 year, 5 months ago
Selected Answer: D
Given answer is correct
upvoted 4 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