‹ All AZ-104 questions

AZ-104 Practice Question 78: NAT Gateway SNAT Exhaustion

Microsoft Azure Administrator Associate (AZ-104) · Test 8 · question 8 of 10

Virtual Networkingmedium

Two hundred virtual machines in one subnet make many short outbound HTTPS connections to a single external API. Connections fail intermittently, and diagnostics show SNAT port exhaustion for the default outbound access. The fix must not change the applications.

What should the administrator do?

Select one answer
Show answer and explanation

Answer:

  • B. Associate a NAT gateway that has a public IP address with the subnet

A NAT gateway provides outbound connectivity for a subnet with a large pool of SNAT ports from its public IP addresses, and the ports are allocated dynamically to the virtual machines. It solves exhaustion with no application change.

Option A adds compute but does not add SNAT ports.

Option C is not the issue: the traffic is not blocked, the ports run out.

Option D applies to traffic to Azure services over the backbone, not to a public third-party API.

Reference: What is Azure NAT Gateway?

Practice Test 8 ›

Study guides for AZ-104