INSIGHTS
AI & Data

Microsoft SC-500: NSGs, Azure Firewall, Private Link, and Network Verification

Azure networking security is not a single firewall toggle.

In this article
  1. Use NSGs for subnet and network-interface filtering
  2. Choose network-wide policy deliberately
  3. Place Azure Firewall where routes actually send traffic
  4. Secure PaaS exposure with the right Private Link model
  5. Evaluate remote access and private application publishing
  6. Use Network Watcher to explain effective behavior
  7. Treat network changes as releases with rollback

Azure networking security is not a single firewall toggle. A packet can traverse route tables, network security groups, a central inspection service, a service’s public endpoint or private endpoint, and additional application authorization. Microsoft SC-500 measures implementation across NSGs and application security groups, Azure Virtual Network Manager policy, Virtual WAN, VPN, Microsoft Entra Private Access, Private Link, Azure Firewall and Network Watcher. The engineer must establish where traffic should flow, which source is trusted, and why an unexpected connection succeeds or fails.

Consider a company with a public application gateway, private application servers and managed PaaS databases. Branch employees use remote access, while a third-party partner needs limited access to one service. If the team grants wide inbound network access to solve a DNS or routing problem, it may create a new path around the intended segmentation. Start with a traffic matrix: source, destination, protocol, port, identity context, approved business purpose and inspection requirement.

Use NSGs for subnet and network-interface filtering

A network security group evaluates traffic according to prioritized inbound and outbound rules and effective associations. Design rules around application flows rather than a blanket permit from an entire corporate address range. Application security groups can help group supported virtual machine network interfaces by function, making rules easier to maintain than long lists of changing IP addresses. Confirm the effect at the actual NIC or subnet rather than assuming the nearest NSG is the only rule that matters.

A web service may require inbound HTTPS through an application gateway but no direct inbound database access from users. Create separate rules for application-to-database traffic, administrative access and telemetry. Test a connection from the intended app and another from a workstation that should be denied. Check effective rules in the intended evaluation context. If a connection fails, don’t immediately add a broad AllowAny rule; determine whether route, DNS, listener or application authorization is the actual cause.

Choose network-wide policy deliberately

Azure Virtual Network Manager can organize connectivity and security configurations across a governed network scope. A central security admin rule may apply alongside ordinary NSGs, with different behavior and precedence. Security teams should document who owns shared policy and how an application team requests an exception. A locally permissive NSG is not proof that a higher-level security rule allows the traffic.

For a multi-subscription architecture, test changes in a limited region or network group before broad rollout. Record the source of the security rule, its effective propagation and any excluded environments. A central policy mistake can affect many workloads at once. Use clear ownership and rollback, not manual changes in dozens of spokes that become difficult to reconcile.

Place Azure Firewall where routes actually send traffic

Azure Firewall can provide centralized policy and inspection for selected network flows, but traffic that bypasses its route does not gain protection because the firewall exists in a hub. Verify user-defined routes, effective routes, required return paths and the expected distinction between network and application rules. Review threat intelligence modes, policy priority, DNS handling and logging in the context of the deployed architecture.

A common troubleshooting puzzle is traffic that works directly but fails through the hub. Investigate whether the source is routed to the firewall, which rule matched, whether name resolution uses the expected DNS, and whether asymmetric routing affects the return path. Do not turn off logging or grant an overly broad port range merely to make the connection green. Network peering supplies private inter-VNet connectivity, but hub inspection also requires correct routes and forwarded-traffic settings.

A private endpoint gives a supported service a private IP address in a customer’s virtual network; a Private Link service exposes a customer’s supported service privately to approved consumers. These patterns solve different provider and consumer problems. They also require correct DNS and endpoint approval where applicable. Disabling a PaaS public endpoint can reduce exposure, but it should follow a tested migration of all legitimate clients.

For a storage client, resolve the public hostname from its intended network and confirm that DNS points to the private endpoint as designed. Use a client outside the approved network to check that the unwanted public route is denied. Then test an authenticated principal without data permission. If that last request succeeds, the problem is not Private Link but authorization.

Evaluate remote access and private application publishing

VPN connectivity, Azure Virtual WAN and Microsoft Entra Private Access can provide different approaches to users and networks reaching private resources. Choose based on the required client type, location, application protocol, operational responsibility and supported integration. An employee needing one private application may not require routable access to an entire network. Conversely, a branch-to-branch application flow cannot always be replaced by an identity-aware private-app experience.

Test device and user policy separately from underlying network reachability. A valid VPN connection should not provide unrestricted access to unrelated subnets. An authenticated private-app session still needs appropriate application authorization. Build a denial case and record how an administrator can troubleshoot without exposing the private service through an emergency public endpoint.

Use Network Watcher to explain effective behavior

Azure Network Watcher diagnostics can help inspect effective security rules, connection troubleshooting and next-hop behavior for supported resources. The engineer should connect its output to the actual network path and not treat one diagnostic result as the whole end-to-end answer. Effective NSG rules may explain a denied packet, but an application-level 403 indicates a different class of issue. A DNS failure can prevent any packet from reaching the intended destination.

Create a structured incident worksheet: expected flow, resolved IP, effective route, NSG result, central firewall result, connection response and service authorization. Repeat from the real client network; testing only from a privileged administration VM can hide the problem. A successful control is one that admits the documented traffic and reliably rejects the unintended path without destroying the application’s ability to operate.

When testing a central security admin rule, distinguish Allow from Always Allow and Deny. The former passes to NSG evaluation; the others can terminate it. Validate effective behavior with a controlled deny flow rather than relying on a central policy deployment status.

Treat network changes as releases with rollback

Represent important rules and route changes in reviewed infrastructure as code where possible. Include deployment scope, application owner, expected effect, test plan and rollback. Monitor logs after release for new denials that affect legitimate customers and for unexpected accepts. Avoid broad temporary troubleshooting exceptions that have no expiration or owner. If an exception is required, document its exact boundaries and compensating controls.

The SC-500 exam emphasizes security implementation rather than only naming networking services. Be prepared to distinguish NSG filtering, central Firewall inspection, global Virtual Network Manager policy, private PaaS connectivity and remote access controls, then use evidence to explain which layer actually decided the traffic outcome.

Filed under AI & Data