mediummultiple choiceObjective-mapped

An on-premises datacenter must reach private IP addresses in Azure over an encrypted site-to-site tunnel. The Azure VMs must not have public IP addresses, and the connection should use the company's existing edge device. Which Azure component should be deployed?

Question 1mediummultiple choice
Full question →

An on-premises datacenter must reach private IP addresses in Azure over an encrypted site-to-site tunnel. The Azure VMs must not have public IP addresses, and the connection should use the company's existing edge device. Which Azure component should be deployed?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

Azure Bastion

Bastion supports browser-based admin access, not site-to-site network tunnels from on-premises.

B

Best answer

Azure VPN Gateway

VPN Gateway terminates the encrypted site-to-site tunnel and enables private connectivity from on-premises to Azure VNets. It works with the on-premises edge device and allows access to Azure private IPs without assigning public IPs to the target VMs.

C

Distractor review

Azure Route Server

Route Server exchanges routing information but does not itself create the encrypted tunnel.

D

Distractor review

A network security group with inbound allow rules

An NSG controls traffic filtering, but it cannot establish encrypted hybrid connectivity.

Common exam trap

Common exam trap: NAT rules depend on direction and matching traffic

NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.

Technical deep dive

How to think about this question

NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.

KKey Concepts to Remember

  • Static NAT maps one inside address to one outside address.
  • PAT allows many inside hosts to share one public address using ports.
  • Inside local and inside global describe the private and translated addresses.
  • NAT ACLs identify traffic for translation, not always security filtering.

TExam Day Tips

  • Identify inside and outside interfaces first.
  • Check whether the scenario needs static NAT, dynamic NAT or PAT.
  • Do not confuse NAT matching ACLs with normal packet-filtering intent.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Static NAT maps one inside address to one outside address.

What is the correct answer to this question?

The correct answer is: Azure VPN Gateway — A site-to-site VPN requires a VPN gateway in Azure to terminate the encrypted tunnel from the on-premises edge device. This gives the datacenter private connectivity to Azure resources without exposing the VMs to the internet. The gateway handles the tunnel and route exchange; the VMs themselves can remain private-only with no public IP addresses assigned. Why others are wrong: Bastion is for browser-based VM administration, not hybrid network connectivity. Route Server helps with routing information exchange but does not create the tunnel. An NSG only filters traffic after it reaches Azure; it cannot establish the encrypted path that connects the datacenter to the VNet. The gateway is the core connectivity component here.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.