nerdexam
Microsoft

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.

Submitted by ahmad_uae· Mar 30, 2026Connect to and consume Azure services and third-party services

Question

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 hosts by using the same a pool of four public IP addresses, inbound connections to the virtual machines will be prevented. What should include in the design?

Options

  • AAzure Private Link
  • BNAT Gateway
  • CUser Defined Routes
  • DAzure Virtual WAN

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    55% (16)
  • C
    14% (4)
  • D
    24% (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.

AAzure Private Link

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.

BNAT GatewayCorrect

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.

CUser Defined Routes

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.

DAzure Virtual WAN

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

#NAT Gateway#outbound connectivity#public IP pool#virtual network

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice