0
0
Azurecloud~10 mins

Why advanced networking matters in Azure - Test Your Understanding

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a virtual network in Azure.

Azure
az network vnet create --name [1] --resource-group MyResourceGroup --location eastus --address-prefix 10.0.0.0/16
Drag options to blanks, or click blank then click option'
AMyVM
BMyStorage
CMyVNet
DMyApp
Attempts:
3 left
💡 Hint
Common Mistakes
Using a name that refers to storage or virtual machines instead of a network.
2fill in blank
medium

Complete the code to add a subnet to an existing virtual network.

Azure
az network vnet subnet create --address-prefix 10.0.1.0/24 --name [1] --vnet-name MyVNet --resource-group MyResourceGroup
Drag options to blanks, or click blank then click option'
AMySubnet
BMyStorage
CMyVM
DMyApp
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing subnet names with virtual machine or storage names.
3fill in blank
hard

Fix the error in the command to create a network security group.

Azure
az network nsg create --resource-group MyResourceGroup --name [1] --location eastus
Drag options to blanks, or click blank then click option'
AMyNSG
BMyVNet
CMySubnet
DMyVM
Attempts:
3 left
💡 Hint
Common Mistakes
Using a virtual network or virtual machine name instead of a network security group name.
4fill in blank
hard

Fill both blanks to create a rule allowing HTTP traffic in a network security group.

Azure
az network nsg rule create --resource-group MyResourceGroup --nsg-name MyNSG --name AllowHTTP --protocol [1] --direction [2] --priority 100 --source-address-prefix '*' --source-port-range '*' --destination-address-prefix '*' --destination-port-range 80 --access Allow
Drag options to blanks, or click blank then click option'
ATcp
BInbound
COutbound
DUdp
Attempts:
3 left
💡 Hint
Common Mistakes
Using UDP protocol instead of TCP for HTTP.
Setting direction to outbound instead of inbound.
5fill in blank
hard

Fill all three blanks to create a public IP address and associate it with a network interface.

Azure
az network public-ip create --resource-group MyResourceGroup --name [1] --allocation-method [2] --sku Basic
az network nic ip-config update --resource-group MyResourceGroup --nic-name MyNic --name ipconfig1 --public-ip-address [3]
Drag options to blanks, or click blank then click option'
AMyPublicIP
BStatic
DDynamic
Attempts:
3 left
💡 Hint
Common Mistakes
Using different names for the public IP in creation and association.
Choosing static allocation when dynamic is intended.