Is an NSG 'stateful'? What does this mean?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Yes; if you allow inbound traffic, outbound return traffic is automatically allowed

NSGs are stateful. If an inbound rule allows traffic on a port, the outbound response from the VM on that same connection is automatically permitted....

๐Ÿ“‹Part of Microsoft Certified: Azure Fundamentals (AZ-900) ยท Azure Certification Practice
Real Exam ScenarioNetwork Security Groups (NSG)

Is an NSG 'stateful'? What does this mean?

โœ“ Correct Answer & ExplanationNetwork Security Groups (NSG)

Correct Answer

Yes; if you allow inbound traffic, outbound return traffic is automatically allowed

Why This Answer Is Correct

NSGs are stateful. If an inbound rule allows traffic on a port, the outbound response from the VM on that same connection is automatically permitted.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Network Security Groups (NSG) โ€” a core concept tested in Microsoft Certified: Azure Fundamentals (AZ-900). Understanding Network Security Groups (NSG) is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.