Evaluate security rules and private endpoints
Separate network filtering, private service access and administrative connection paths.
Evaluate security rules and private endpoints
NSG rules are evaluated in priority order, with smaller numbers first. Check direction, source, destination, port, protocol and any application security group membership. If both subnet and NIC NSGs apply, both must allow the traffic. Effective security rules help explain the combined result. Existing flow state can affect what a test observes, so verify a fresh connection after a configuration change.
A service endpoint extends a subnet’s identity to a supported service accessed through its public endpoint. A private endpoint creates a private IP for a specific service resource. DNS must resolve clients to the intended endpoint. Azure Bastion provides managed administrative access to supported VMs without assigning each VM its own public IP.
Worked case
A NIC rule permits HTTPS but the subnet NSG denies that connection. Which rule wins across the two layers?
Check your reasoning
Traffic must satisfy both layers. An allow on the NIC cannot cancel a matching deny in the subnet NSG. Inspect the effective rules for a fresh connection.
Second worked case
A service hostname resolves to a public address even though its private endpoint is approved. Where should the operator look?
Check your reasoning
Check the private DNS zone, the client network’s resolution path and the expected record. Endpoint approval alone does not force the client to use that address.
Azure private endpoints · Official AZ-104 objectives for this domain
Related lesson in Microsoft Certified: Azure Fundamentals. Verify identity and limit the blast radius.
Service endpoint or private endpoint
A service endpoint identifies a permitted subnet to a supported Azure service over its public service address. A private endpoint exposes a private IP in the virtual network. Test resolution and reachability from the client subnet and a connected on-premises network before choosing a storage firewall rule.
Practice with the recording
A subnet rule permits HTTPS but one VM’s connection is still denied. Which evaluation did the administrator skip?
Check your reasoning
Check effective rules from both the subnet and NIC, in the traffic direction being tested. Within an NSG, the first matching priority decides the outcome. Use the actual source, destination and port when checking the result.
Current AZ-104 course · 1:37:35 · John Savill · AZ-104 Study Cram v2 · 1:28:47
Evaluate security rules and private endpoints quiz
Answer 3 questions. Check each answer for an explanation.