Explain Network Security Groups (NSGs).

Updated Apr 28, 2026

Short answer

Security filters for network traffic to and from Azure resources in a VNet.

Deep explanation

In-depth analysis of Explain Network Security Groups (NSGs). including configuration parameters and integration points within the Azure ecosystem.

Real-world example

Securing a multi-tier application by isolating the database tier from the public internet using NSG rules.

Common mistakes

  • Setting priority numbers too close together, making it hard to insert rules later.

Follow-up questions

  • Difference between NSG and ASG?
  • Can NSGs be applied to a subnet?

More Azure interview questions

View all →