mediummultiple choiceObjective-mapped

A team manages three backend servers in one subnet. The servers are replaced periodically, so their private IP addresses change. The NSG must allow inbound traffic from the web tier without updating individual IP addresses each time. Which destination object should be used in the NSG rule?

Question 1mediummultiple choice
Full question →

A team manages three backend servers in one subnet. The servers are replaced periodically, so their private IP addresses change. The NSG must allow inbound traffic from the web tier without updating individual IP addresses each time. Which destination object should be used in the NSG rule?

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

Application security group

An application security group lets you group VMs by application role rather than by fixed IP address. NSG rules can reference the ASG so the rule continues to work even when the VM IPs change.

B

Distractor review

Service tag

Service tags represent Microsoft-managed address ranges for Azure services, not your own backend VMs. They are not the right way to group private application servers.

C

Distractor review

Route table

A route table controls traffic forwarding, not NSG rule targeting. It cannot replace the need for a security grouping object in the rule.

D

Distractor review

Private endpoint

Private endpoints are for private access to supported PaaS services, not for grouping compute instances into a security target in NSG rules.

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: Application security group — Application security groups are designed to simplify NSG management for workloads whose IP addresses can change. Instead of hardcoding individual VM addresses, you place the backend VMs into an ASG and reference that group in the NSG rule. This keeps the security rule aligned with the application role, which is far easier to maintain in dynamic environments such as scale sets or frequently rebuilt servers. Why others are wrong: Service tags apply to Microsoft-owned service IP ranges and do not represent your backend server group. Route tables affect packet forwarding, not security rule membership. Private endpoints are unrelated to VM-to-VM traffic grouping and do not solve the IP churn problem described in the scenario.

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.