AZ-204 · Question #107
You need to design network connectivity for a subnet in an Azure virtual network. The subnet will contain 30 virtual machines. The virtual machines will establish outbound connections to internet…
The correct answer is B. NAT Gateway. To provide outbound internet connectivity for VMs using a pool of public IP addresses while preventing inbound connections, an Azure NAT Gateway should be included in the design.
Question
Options
- AAzure Private Link
- BNAT Gateway
- CUser Defined Routes
- DAzure Virtual WAN
How the community answered
(29 responses)- A7% (2)
- B55% (16)
- C14% (4)
- D24% (7)
Why each option
To provide outbound internet connectivity for VMs using a pool of public IP addresses while preventing inbound connections, an Azure NAT Gateway should be included in the design.
Azure Private Link is used for private access to Azure PaaS services or services behind Azure Private Endpoint, not for managing outbound internet access for VMs.
An Azure NAT Gateway provides secure and scalable outbound internet connectivity for virtual machines within a subnet using a pool of specified public IP addresses. It inherently prevents unsolicited inbound connections from the internet, directly addressing both requirements.
User Defined Routes (UDRs) modify the routing table but do not provide network address translation (NAT) services or prevent inbound connections in the manner required.
Azure Virtual WAN is a global networking solution for large-scale branch connectivity and virtual network routing, which is an overly complex and unsuitable solution for this specific subnet-level outbound connectivity requirement.
Concept tested: Azure NAT Gateway for outbound connectivity
Source: https://learn.microsoft.com/en-us/azure/virtual-network/nat-overview
Topics
Community Discussion
No community discussion yet for this question.