mediummulti selectObjective-mapped

Backend VMs are rebuilt often and get new private IP addresses. Frontend VMs must reach them only on TCP 8443, and the rule should keep working after rebuilds. Which two actions should the administrator take? Select two.

Question 1mediummulti select
Full question →

Backend VMs are rebuilt often and get new private IP addresses. Frontend VMs must reach them only on TCP 8443, and the rule should keep working after rebuilds. Which two actions should the administrator take? Select two.

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

Place the backend NICs in an ASG named ASG-Backend.

ASG membership follows the NIC, so the rule still matches even when the VM IP changes.

B

Best answer

Create an NSG rule that allows TCP 8443 from ASG-Front to ASG-Backend.

This keeps the rule tied to workload roles instead of changing IP addresses, which is easier to maintain.

C

Distractor review

Create a static route for the backend subnet to preserve the same IPs.

Routes do not make VM IP addresses static and do not solve the rebuild scenario.

D

Distractor review

Use a service endpoint between the two subnets.

Service endpoints are for PaaS access, not for permitting subnet-to-subnet application traffic.

E

Distractor review

Add a load balancer health probe rule on TCP 8443 only.

Health probes do not replace the need for an NSG rule that explicitly allows application traffic.

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: Place the backend NICs in an ASG named ASG-Backend. — Application security groups are ideal when VM IPs change frequently because the NSG rule can target workload groups rather than fixed addresses. By placing backend NICs in ASG-Backend and writing the NSG rule from ASG-Front to ASG-Backend on TCP 8443, the access control remains stable even after rebuilds. This is a common Azure administration pattern for dynamic application tiers. Why others are wrong: Static routes cannot preserve VM IP addresses, and service endpoints are for supported Azure services rather than VM-to-VM traffic. Health probes only help a load balancer detect availability; they do not authorize the connection. The reliable solution here is an ASG-based NSG rule tied to NIC membership.

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.