hardmultiple choiceObjective-mapped

Third-party support engineers connect from the public internet and need browser-based RDP and SSH access to Azure VMs that have only private IPs. The security team will not allow public IPs on the VMs, inbound 3389 or 22 from the internet, or a client VPN on each laptop. What should you deploy?

Question 1hardmultiple choice
Full question →

Third-party support engineers connect from the public internet and need browser-based RDP and SSH access to Azure VMs that have only private IPs. The security team will not allow public IPs on the VMs, inbound 3389 or 22 from the internet, or a client VPN on each laptop. What should you deploy?

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

Best answer

Azure Bastion

Azure Bastion provides secure browser-based RDP and SSH access without exposing the VMs to public IP-based inbound traffic.

B

Distractor review

VPN Gateway with point-to-site configuration

A VPN would require client configuration on each laptop, which the requirement explicitly rejects.

C

Distractor review

A public load balancer with inbound NAT rules

That would expose management ports to the internet, which the security team does not allow.

D

Distractor review

A NAT gateway attached to the VM subnet

A NAT gateway supports outbound internet access only and does not provide inbound administrative access.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

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?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Azure Bastion — Azure Bastion is designed for secure administrative access to VMs without assigning public IP addresses to the VMs themselves. It enables RDP and SSH over the Azure portal or browser-based workflow, so support staff can connect from the internet without installing a VPN client or opening inbound management ports. This directly matches the requirement for private-only VMs and browser-based access. Why others are wrong: VPN Gateway would satisfy private access, but it conflicts with the no-client-VPN requirement. A public load balancer or NAT rules would expose management services on public addresses, which is not allowed. A NAT gateway only handles outbound connectivity and cannot initiate inbound administrative sessions. Bastion is the only option that fits all constraints.

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.