‹ All AZ-900 questions

AZ-900 Practice Question 94: NSG Inbound Filtering

Microsoft Azure Fundamentals (AZ-900) · Test 10 · question 4 of 10

Azure Architectureeasy

A subnet contains three virtual machines that host an internal API. The team must ensure that only inbound traffic on TCP port 443 from one partner's IP address range can reach those VMs, and that every other inbound request is dropped. Which resource should be attached to the subnet or the VMs' network interfaces to enforce this?

Select one answer
Show answer and explanation

Answer:

  • A. A network security group with a security rule allowing that IP range on port 443

A network security group (NSG) contains security rules that allow or deny inbound or outbound traffic, evaluated by source, destination, port, and protocol, and it attaches to a subnet or a network interface, precisely the two attachment points the stem allows. Adding a rule that allows the partner's IP range on TCP 443 covers the requirement, and NSGs already include a default lowest-priority rule that denies all other inbound traffic, so nothing else needs to be added to satisfy "every other inbound request is dropped."

Option B, a load balancer, distributes incoming traffic across multiple instances using health probes; it has no concept of allowing or denying traffic by source IP or port, so it cannot enforce this restriction. Option C, virtual network peering, connects two Azure virtual networks to each other over the Microsoft backbone; it is not scoped to arbitrary external IP ranges and does nothing to filter traffic once connected. Option D, a private endpoint, maps a private IP to an instance of a PaaS resource such as a storage account; it is not something you attach to virtual machines, and it does not filter traffic by port or source address.

Reference: Azure network security groups overview

Practice Test 10 ›

Study guides for AZ-900

Azure Administrator (AZ-104): jobs, salary and the examAzure administrator role, jobs and pay data, and the AZ-104 exam: five domains, 100 minutes, US$165 / ₹4,865, AZ-900 first or not, and what next.
Free cloud certifications in 2026: which are really freeWhich free cloud certifications are really free in 2026: Oracle's free OCI exams, and the voucher routes for AWS, Microsoft and Google, with prices.
AI-901 exam guide: Azure AI Fundamentals after AI-900AI-901 replaced AI-900: learn what changed, how much Python and Microsoft Foundry you need, exam costs in India, and how to prepare.
Microsoft Fabric certification: DP-700 vs DP-600Microsoft Fabric certification means two exams, DP-600 and DP-700. Their roles, skills, format, cost in India, and which one to take first.
Which cloud certification is best? AWS vs Azure vs GoogleWhich cloud certification is best for a beginner? AWS Cloud Practitioner, AZ-900 and Google Cloud Digital Leader compared: cost, format and which first.
Azure certification path 2026: AZ-900, AZ-104, AZ-305The Azure certification path for 2026 - AZ-900, AZ-104 and AZ-305 in order, what each covers, the AZ-305 prerequisite, renewal and what to skip.
Azure RBAC vs Azure Policy vs Entra roles vs resource locksHow Azure RBAC, Azure Policy, Microsoft Entra roles and resource locks differ, how scope inheritance works, and when deny beats audit.
Azure Storage redundancy - LRS, ZRS, GRS, GZRS and failoverHow LRS, ZRS, GRS, RA-GRS, GZRS and RA-GZRS differ, what failover does to your account, and how access tiers interact with redundancy.