mediummultiple choiceObjective-mapped

An internal line-of-business application runs on two VMs in Azure. Users connect only from a peered virtual network and from on-premises through VPN. The application must not be reachable from the internet, but traffic should be balanced across the two VMs. Which configuration should you choose?

Question 1mediummultiple choice
Full question →

An internal line-of-business application runs on two VMs in Azure. Users connect only from a peered virtual network and from on-premises through VPN. The application must not be reachable from the internet, but traffic should be balanced across the two VMs. Which configuration should you choose?

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

A public Standard Load Balancer with a public frontend IP.

A public frontend exposes the service to the internet, which conflicts with the requirement that the application remain private.

B

Best answer

A Standard Load Balancer with a private frontend IP.

A Standard Load Balancer with a private frontend provides load balancing only within the virtual network boundary, which fits an internal application. It can balance traffic from peered VNets or hybrid connections without assigning a public frontend. This is the appropriate pattern when the service must remain private but still needs distribution across backend VMs.

C

Distractor review

A NAT gateway attached to the application subnet.

A NAT gateway is for outbound SNAT from a subnet. It does not distribute inbound user traffic across multiple VMs.

D

Distractor review

A network security group rule allowing TCP 443 from the internet.

An NSG can allow or deny traffic, but it cannot balance traffic or provide a private frontend for the app. Allowing internet access would also violate the stated requirement.

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: A Standard Load Balancer with a private frontend IP. — A private frontend Standard Load Balancer is the right choice for an internal application that must stay off the internet but still needs traffic distribution across backend VMs. It provides load balancing for private clients, including peered VNets and hybrid-connected users, without publishing the service publicly. This keeps the application reachable only through the organization’s private network paths. Why others are wrong: A public load balancer would expose the app to the internet. NAT gateway handles outbound connectivity only and cannot balance inbound sessions. NSGs are useful for filtering traffic, but they do not perform load balancing or create the private frontend required for an internal service.

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.