Question: is azure nsg a firewall?
Answer: An NSG is a firewall, albeit a very basic one. It's a software defined solution that filters traffic at the Network layer. However, Azure Firewall is more robust. It's a managed firewall service that can filter and analyze L3-L4 traffic, as well as L7 application traffic.