Home » Microsoft » 70-533 v.2 » How should you complete the Azure CLI command?
DRAG DROP
A company has a hybrid environment. You plan to create routes to connect the Azure and on-premises resources.
You need to use the Azure CLI to create the route for a front-end subnet.
How should you complete the Azure CLI command? To answer, drag the appropriate IP addresses or subnets to the correct locations. Each IP address or subnet may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Select and Place:
Correct Answer:
Explanation/Reference:
Explanation:
Parameters include:
–address-prefix
The destination CIDR to which the route applies.
–next-hop-ip-address
The IP address packets should be forwarded to when using the VirtualAppliance hop type.
Example: Create a route that forces all inbound traffic to a Network Virtual Appliance. az network route-table route create -g MyResourceGroup –route-table-name MyRouteTable -n MyRoute
–next-hop-type VirtualAppliance –address-prefix 10.0.0.0/16 –next-hop-ip-address 10.0.100.4
References: https://docs.microsoft.com/en-us/cli/azure/network/route-table/route?view=azure-cli-latest