The subscription contains resource group RG1 and the NSGs shown in the table. After assigning the displayed Azure policy to RG1, what will be the flow log status for NSG1 and NSG2?
Choose an answer
Tap an option to check your answer.
Correct answer: Flow logs will be disabled for NSG1 and NSG2..
Why this is the answer
Azure Policy definitions can enforce compliance by disabling specific features. In this scenario, the policy assigned to RG1 explicitly disables flow logs. Since both NSG1 and NSG2 are within RG1, this policy applies to both. Therefore, flow logs will be disabled for both NSG1 and NSG2, regardless of any previous individual settings. The policy takes precedence and enforces the disabled state across all applicable resources within its scope.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed