easymultiple choiceObjective-mapped

A company has an Azure virtual network with a single subnet that hosts web servers. The security team needs to allow inbound HTTPS traffic from the internet to the web servers, but block all other inbound traffic. They want to use a single Azure resource to accomplish this at the subnet level. Which resource should they configure?

Question 1easymultiple choice
Full question →

A company has an Azure virtual network with a single subnet that hosts web servers. The security team needs to allow inbound HTTPS traffic from the internet to the web servers, but block all other inbound traffic. They want to use a single Azure resource to accomplish this at the subnet level. Which resource should they configure?

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 Firewall

Azure Firewall is a managed network firewall service that can filter traffic at the virtual network level, but it is unnecessary for the stated requirement for a simple subnet-level rule and incurs additional cost. An NSG is simpler and sufficient for this requirement.

B

Distractor review

Azure Front Door

Azure Front Door is a global Application Delivery Network (ADN) with web application firewall capabilities. It operates at the edge and is not used for subnet-level filtering within a virtual network.

C

Best answer

Network Security Group (NSG)

An NSG contains inbound and outbound security rules that can be associated with a subnet or a network interface. By creating an allow rule for HTTPS (TCP 443) from Internet and a default deny-all rule, the requirement is met efficiently.

D

Distractor review

Application Security Group (ASG)

An ASG is a logical grouping of virtual machines for use in NSG rules. It does not filter traffic by itself; it is used as a source or destination 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-500 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-500 question test?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Network Security Group (NSG) — A Network Security Group (NSG) contains security rules that allow or deny inbound and outbound traffic to network interfaces (NIC) or subnets. By associating an NSG with the subnet and configuring appropriate inbound rules (allow HTTPS from Internet, deny all else), the requirement is met. Azure Firewall is a managed firewall service but is more complex and costly for simple subnet-level filtering. Azure Front Door is a global load balancer and web application firewall. Application Security Groups are used to group VMs for NSG rules, not to filter traffic directly.

What should I do if I get this AZ-500 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.