An administrator designs a virtual network named `vnet-corp-ops` with the address space . The virtual network contains a subnet named `snet-application` () and a security subnet named `snet-security` (). A network virtual appliance (NVA) is deployed in `snet-security` with the IP address .
To inspect internal traffic, the administrator creates a route table and associates it with `snet-application`. The route table contains a user-defined route for the prefix with a next hop type of Virtual Appliance and the next hop IP address set to .
How will Azure route traffic sent from a virtual machine in `snet-application` to a destination IP address of ?
- The traffic is forwarded to the network virtual appliance at .Cevap
- BThe traffic is routed directly to because default system routes for local virtual network traffic take precedence over user-defined routes.
- CThe traffic is dropped by Azure because forwarding traffic back into the virtual network via a custom route is blocked by default.
- DThe traffic is routed directly to because the system route is considered a more specific match than the user-defined route.
Cevap
The traffic is forwarded to the network virtual appliance at .
The correct answer is correct because Azure routing rules dictate that when two routes have the same prefix length, a user-defined route takes precedence over the default system route. Therefore, the custom route directing traffic to the virtual appliance at is selected.
Adım Adım Çözüm
Anahtar Kavram
User-defined route precedence over default system routes