Question 26 — AZ-104 Practice Exam 7
A company wants to inspect and filter all traffic flowing between two subnets in the same virtual network. By default, Azure routes this traffic automatically. How should the company enforce their requirement? (Select one answer)
Deploy resources in different subnets and route traffic through a network virtual appliance
Enable overlapping CIDR ranges between the two subnets
Disable all subnet routing in the Azure portal
Assign multiple network security groups to the same subnet
Correct answers
Deploy resources in different subnets and route traffic through a network virtual appliance
Explanations
Correct
Deploy resources in different subnets and route traffic through a network virtual appliance – This configuration forces traffic between subnets to pass through the NVA for inspection and filtering.
Wrong
Enable overlapping CIDR ranges between the two subnets – Overlaps are not allowed in Azure subnets.
Disable all subnet routing in the Azure portal – Routing is automatic and cannot simply be disabled; it can only be overridden.
Assign multiple network security groups to the same subnet – Only one NSG can be associated per subnet.