Microsoft Azure (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are Network Security Groups (NSGs) and Application Security Groups (ASGs)?
junior LevelSecurity & Auth
In Simple Words:
- Network Security Group (NSG): Contains stateful Layer 4 firewall rules that allow or deny inbound/outbound traffic based on 5-tuple: Source IP, Source Port, Destination IP, Destination Port, Protocol.
- Application Security Group (ASG): Allows grouping VMs under an application moniker (e.g.
asg-web-servers,asg-db-servers) and writing NSG rules using the ASG name instead of hardcoding IP addresses.