Explain the role of a Lean Six Sigma Black Belt in driving organizational change and managing complex projects, highlighting the key differences from a Green Belt's responsibilities.
2026-06-18 10:13:06
Related Course: Microsoft Certified: Azure Administrator Associate AZ-104
A Network Security Group (NSG) is a fundamental resource in Azure for filtering network traffic to and from Azure resources within an Azure Virtual Network (VNet). It functions as a stateful, Layer 4 firewall, containing a list of security rules that allow or deny network traffic based on a 5-tuple: source IP address, source port, destination IP address, destination port, and protocol (TCP, UDP, ICMP, or Any).
To secure the described three-tier application, the best practice is to create a dedicated NSG for each subnet. This approach provides granular control and adheres to the principle of least privilege, ensuring each tier is isolated and only exposed to required traffic.
We will create and associate three distinct NSGs:
This NSG's primary role is to allow legitimate web traffic from the internet to the web servers and allow the web servers to communicate with the application tier.
This NSG will only allow traffic from the web tier and permit communication to the database tier. It should block all direct traffic from the internet.
This is the most protected tier. It should only accept traffic from the application tier and should generally have no outbound access to the internet.
Rules are processed in order of priority. The lower the number, the higher the priority (range is 100 to 4096). Azure processes rules until it finds the first match for the traffic pattern, and then it stops processing. For example, if an `Allow` rule with priority 200 matches the traffic, a `Deny` rule with priority 300 for the same traffic will be ignored. This is why specific `Allow` rules must have a lower priority number than broader `Deny` rules.
An NSG can be associated with either a subnet, a network interface (NIC), or both.
When both are applied, traffic is evaluated against both sets of rules. For inbound traffic, the subnet-level NSG is processed first, followed by the NIC-level NSG. For outbound traffic, the NIC-level NSG is processed first, followed by the subnet-level NSG. Traffic is only permitted if it is allowed by the rules in both NSGs.
Every NSG is created with a set of default rules that cannot be deleted, but can be overridden by creating new rules with a higher priority (lower number). Key default rules include `AllowVnetInBound`, `AllowAzureLoadBalancerInBound`, and `DenyAllInBound` at priority 65500. Our custom rules with priorities like 100 and 200 will always be processed before these default rules.
2026-06-18 10:13:06
2026-06-18 10:13:06
2026-06-18 10:13:06