Complete the code to specify the address space for the virtual network.
az network vnet create --name MyVNet --resource-group MyResourceGroup --address-prefixes [1]The address space must be a valid CIDR block like "10.0.0.0/16". Option D is a subnet mask, not an address space.
Complete the code to create a subnet within the VNet with the correct address prefix.
az network vnet subnet create --resource-group MyResourceGroup --vnet-name MyVNet --name MySubnet --address-prefix [1]The subnet address prefix must be a subset of the VNet's address space. "10.0.1.0/24" fits inside "10.0.0.0/16".
Fix the error in the VNet creation command by choosing the correct parameter for address space.
az network vnet create --name MyVNet --resource-group MyResourceGroup --[1] "10.0.0.0/16"
The correct parameter to specify one or more address spaces is --address-prefixes.
Fill both blanks to create a VNet with two address spaces.
az network vnet create --name MyVNet --resource-group MyResourceGroup --address-prefixes [1] [2]
You can specify multiple address spaces separated by spaces. Here, "10.0.0.0/16" and "10.1.0.0/16" are valid and non-overlapping.
Fill all three blanks to create a subnet with a specific name and address prefix inside a VNet.
az network vnet subnet create --resource-group MyResourceGroup --vnet-name [1] --name [2] --address-prefix [3]
The VNet name is "MyVNet", the subnet name is "MySubnet", and the subnet address prefix must be a valid CIDR block inside the VNet.