An organization is designing a hub-and-spoke network topology in Azure. The hub virtual network, `vnet-hub-shared`, has an address space of and contains an Azure VPN Gateway in `GatewaySubnet` () and a Network Virtual Appliance (NVA) at IP address . The spoke virtual network, `vnet-spoke-app`, has an address space of . The networks are connected via virtual network peering.
The design must meet the following requirements:
- Spoke virtual machines must route all internet-bound traffic through the NVA in the hub.
- Spoke virtual machines must communicate with an on-premises network () through the VPN Gateway.
- Spoke virtual machines must communicate directly with resources in the hub virtual network () without passing through the NVA.
Which two configurations should you include in the design? (Select two.)
- Configure the virtual network peering to allow gateway transit on `vnet-hub-shared` and use the remote virtual network's gateway on `vnet-spoke-app`.Cevap
- Create a route table associated with the subnets in `vnet-spoke-app` that contains a route for with the next hop set to the virtual appliance at .Cevap
- CCreate a route table associated with the subnets in `vnet-spoke-app` that contains a route for with the next hop set to the virtual appliance at .
- DCreate a route table associated with the subnets in `vnet-spoke-app` that has gateway route propagation disabled, and add a route for with the next hop set to Virtual Network Gateway.