AZ-104 practice question · Implement and manage virtual networking
VMs in a subnet need outbound internet access for updates, with no inbound access and no public IP on any VM, and the…
VMs in a subnet need outbound internet access for updates, with no inbound access and no public IP on any VM, and the solution must scale to many concurrent connections without SNAT port exhaustion. What do you deploy?
- AA NAT gateway associated with the subnet
- BA public IP address on each VM
- CA public load balancer with inbound NAT rules
- DAzure Bastion in the VNet
Show the answer and explanation
Correct answer: A) A NAT gateway associated with the subnet
Why each option is right or wrong
- A) Correct. A NAT gateway provides outbound-only connectivity with a large, managed pool of SNAT ports, scaling far better than load balancer or default outbound SNAT.
- B) Incorrect. That exposes each VM inbound and is the opposite of the 'no public IP' requirement.
- C) Incorrect. Inbound NAT rules forward inbound connections to VMs; they don't solve outbound scaling and they add inbound exposure.
- D) Incorrect. Bastion provides inbound RDP/SSH management access through the portal; it has nothing to do with general outbound internet traffic.
- Exam domain
- Implement and manage virtual networking · 18% of AZ-104
- Question type
- Multiple choice (one answer)
Related AZ-104 questions
- Applications in your VNet must reach an Azure Storage account over a private IP address inside the VNet, with the…Implement and manage virtual networking
- A public web application needs Layer-7 (HTTP) path-based routing, TLS termination, a web application firewall, and…Implement and manage virtual networking
- A hub-and-spoke network needs one central, stateful firewall that filters outbound traffic by fully-qualified domain…Implement and manage virtual networking
- You need a stateful, cloud-native firewall that can filter outbound traffic by fully qualified domain name (e.g.Implement and manage virtual networking
All 62 free AZ-104 questions by domain · 15 sample questions on one page
Practise the full AZ-104 exam
This question is one of a small free sample from the CertRidge AZ-104 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.
Worth reading: AZ-104 passing score (700/1000), what 700 means on Microsoft's scaled score, and why it isn't 70%.