Question 22 — AZ-104 Practice Exam 10
Fill in the blanks by selecting the correct options from the dropdown menus.
Network security groups can be associated with [Gap 1] to protect all resources in a segment, or with [Gap 2] to control traffic for individual VMs.
- network interfaces
- storage accounts
- resource groups
- availability zones
- subnets
Correct answers
- Gap 1: subnets
- Gap 2: network interfaces
Explanations
Correct
Subnets – NSGs at the subnet level restrict traffic for all machines within the subnet.
Network interfaces – NSGs at the NIC level control traffic for a single VM.
Wrong
Resource groups – Used for organizing resources, not for traffic rules.
Availability zones – Ensure redundancy, not filtering.
Storage accounts – Provide data storage, not traffic filtering.