An organization has deployed a virtual network named `vnet-prod-uswest` () that contains two subnets: `subnet-web` () and `subnet-data` (). A Network Virtual Appliance (NVA) is deployed in a peered hub virtual network at .
The organization needs to inspect all traffic sent from `subnet-web` to `subnet-data` using the NVA. The solution must ensure that virtual machines within `subnet-web` can still communicate directly with each other without routing through the NVA.
Which route should be added to the route table associated with `subnet-web`?
- Address prefix: , Next hop type: Virtual appliance, Next hop address: Cevap
- BAddress prefix: , Next hop type: Virtual appliance, Next hop address:
- CAddress prefix: , Next hop type: Virtual appliance, Next hop address:
- DAddress prefix: , Next hop type: Virtual appliance, Next hop address:
Cevap
Address prefix: , Next hop type: Virtual appliance, Next hop address:
The correct route uses the destination prefix , which matches only the database subnet. Because Azure uses the Longest Prefix Match algorithm, traffic destined for the database subnet will match this route and be forwarded to the NVA. Traffic destined for other resources within the same web subnet () will not match this route and will instead use the system-defined local route () with next hop 'Virtual Network', keeping the local communication direct.
Adım Adım Çözüm
Anahtar Kavram
Azure route precedence rules and Longest Prefix Match (LPM) behavior with User-Defined Routes (UDRs)
Tahmini Süre:1m 30s