Bird
Raised Fist0
Azurecloud~10 mins

ExpressRoute for dedicated connections in Azure - Interactive Code Practice

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create an ExpressRoute circuit with the correct SKU.

Azure
az network express-route create --name myCircuit --resource-group myResourceGroup --location eastus --bandwidth 200 --sku [1]
Drag options to blanks, or click blank then click option'
AStandard_UnlimitedData
BPremium_MeteredData
CBasic_UnlimitedData
DStandard_MeteredData
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a SKU that does not support unlimited data.
Using a SKU that is not valid for the specified location.
2fill in blank
medium

Complete the code to link the ExpressRoute circuit to a virtual network gateway.

Azure
az network vpn-connection create --name myConnection --resource-group myResourceGroup --vnet-gateway1 myVnetGateway --express-route-circuit2 [1] --location eastus
Drag options to blanks, or click blank then click option'
AmyExpressRouteCircuit
BmyVnet
CmyResourceGroup
DmySubnet
Attempts:
3 left
💡 Hint
Common Mistakes
Using the virtual network name instead of the ExpressRoute circuit name.
Confusing resource group name with circuit name.
3fill in blank
hard

Fix the error in the command to create a peering on the ExpressRoute circuit.

Azure
az network express-route peering create --circuit-name myCircuit --resource-group myResourceGroup --peering-type [1] --peer-asn 65010 --vlan 200
Drag options to blanks, or click blank then click option'
APublicPeering
BAzurePrivatePeering
CPrivatePeering
DMicrosoftPeering
Attempts:
3 left
💡 Hint
Common Mistakes
Using PrivatePeering when MicrosoftPeering is required.
Confusing peering types and their purposes.
4fill in blank
hard

Fill both blanks to configure the ExpressRoute circuit with the correct service provider and peering location.

Azure
az network express-route create --name myCircuit --resource-group myResourceGroup --location eastus --bandwidth 1000 --provider [1] --peering-location [2]
Drag options to blanks, or click blank then click option'
AEquinix
BLevel3
CSilicon Valley
DWashington DC
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing provider names with peering locations.
Using invalid or unsupported provider names.
5fill in blank
hard

Fill all three blanks to create an ExpressRoute circuit with the correct SKU, bandwidth, and peering location.

Azure
az network express-route create --name myCircuit --resource-group myResourceGroup --location eastus --bandwidth [1] --sku [2] --peering-location [3]
Drag options to blanks, or click blank then click option'
A500
BStandard_UnlimitedData
CNew York
D200
EPremium_MeteredData
Attempts:
3 left
💡 Hint
Common Mistakes
Using bandwidth values not supported by the SKU.
Choosing peering locations not available in the region.

Practice

(1/5)
1. What is the main benefit of using Azure ExpressRoute for connecting to Azure services?
easy
A. It enables running virtual machines without any network configuration.
B. It allows free internet access from any location worldwide.
C. It provides a private, dedicated connection that is more secure and reliable than the public internet.
D. It automatically backs up all data to Azure Blob Storage.

Solution

  1. Step 1: Understand ExpressRoute purpose

    ExpressRoute creates private connections to Azure, avoiding the public internet.
  2. Step 2: Identify benefits of private connection

    Private connections improve security, speed, and reliability compared to public internet.
  3. Final Answer:

    It provides a private, dedicated connection that is more secure and reliable than the public internet. -> Option C
  4. Quick Check:

    ExpressRoute = private, secure connection [OK]
Hint: ExpressRoute means private, not public, connection [OK]
Common Mistakes:
  • Confusing ExpressRoute with VPN or public internet
  • Thinking it provides free internet access
  • Assuming it automatically backs up data
2. Which of the following is the correct step to create an ExpressRoute circuit in Azure Portal?
easy
A. Go to 'Create a resource' > Networking > ExpressRoute, then fill in provider, location, and bandwidth details.
B. Go to 'Create a resource' > Compute > Virtual Machine, then select ExpressRoute option.
C. Go to 'Create a resource' > Storage > Blob Storage, then enable ExpressRoute.
D. Go to 'Create a resource' > Database > SQL Server, then configure ExpressRoute.

Solution

  1. Step 1: Identify correct Azure Portal path

    ExpressRoute circuits are created under Networking resources.
  2. Step 2: Confirm required details

    Provider, location, and bandwidth are needed to create the circuit.
  3. Final Answer:

    Go to 'Create a resource' > Networking > ExpressRoute, then fill in provider, location, and bandwidth details. -> Option A
  4. Quick Check:

    ExpressRoute circuit creation = Networking resource [OK]
Hint: ExpressRoute circuits are under Networking, not Compute or Storage [OK]
Common Mistakes:
  • Selecting Compute or Storage instead of Networking
  • Skipping provider or bandwidth details
  • Confusing ExpressRoute with VM or database setup
3. Given this Azure CLI command snippet to create an ExpressRoute circuit:
az network express-route create --name MyCircuit --resource-group MyGroup --location eastus --bandwidth 200 --provider "Contoso" --peering-location "Silicon Valley" --sku-tier Premium --sku-family Metered
What will be the bandwidth of the created ExpressRoute circuit?
medium
A. 200 Mbps
B. 100 Mbps
C. 500 Mbps
D. 1 Gbps

Solution

  1. Step 1: Locate bandwidth parameter in command

    The command includes '--bandwidth 200', which sets bandwidth to 200 Mbps.
  2. Step 2: Confirm bandwidth unit

    Azure ExpressRoute bandwidth is specified in Mbps, so 200 means 200 Mbps.
  3. Final Answer:

    200 Mbps -> Option A
  4. Quick Check:

    Bandwidth parameter = 200 Mbps [OK]
Hint: Look for --bandwidth value in CLI command [OK]
Common Mistakes:
  • Confusing bandwidth units (Mbps vs Gbps)
  • Ignoring the --bandwidth parameter
  • Assuming default bandwidth if not specified
4. You tried to create an ExpressRoute circuit but received an error: "Invalid peering location." What is the most likely cause?
medium
A. The resource group name contains invalid characters.
B. The bandwidth value is too high for the selected tier.
C. The Azure subscription has expired.
D. The peering location specified is not supported by the chosen provider.

Solution

  1. Step 1: Understand error message meaning

    "Invalid peering location" means the location is not valid for the provider.
  2. Step 2: Check provider and location compatibility

    Each provider supports specific peering locations; mismatch causes this error.
  3. Final Answer:

    The peering location specified is not supported by the chosen provider. -> Option D
  4. Quick Check:

    Invalid peering location = unsupported location by provider [OK]
Hint: Match peering location exactly with provider's supported list [OK]
Common Mistakes:
  • Blaming bandwidth or resource group name
  • Ignoring provider-location compatibility
  • Assuming subscription status causes this error
5. A company needs a dedicated connection to Azure with high bandwidth and global reach. They want to use ExpressRoute with premium features. Which combination of settings should they choose to meet these requirements?
hard
A. SKU tier: Standard, Bandwidth: 500 Mbps, Peering location: Global
B. SKU tier: Premium, Bandwidth: 1 Gbps, Peering location: Global
C. SKU tier: Premium, Bandwidth: 1 Gbps, Peering location: Regional
D. SKU tier: Standard, Bandwidth: 200 Mbps, Peering location: Regional

Solution

  1. Step 1: Identify premium features for global reach

    Premium SKU tier enables global connectivity beyond regional limits.
  2. Step 2: Choose high bandwidth and global peering

    1 Gbps bandwidth meets high speed; global peering location supports worldwide access.
  3. Final Answer:

    SKU tier: Premium, Bandwidth: 1 Gbps, Peering location: Global -> Option B
  4. Quick Check:

    Premium + 1 Gbps + Global = high bandwidth and global reach [OK]
Hint: Premium tier + global peering = worldwide high-speed connection [OK]
Common Mistakes:
  • Choosing Standard tier for global reach
  • Selecting regional peering for global needs
  • Underestimating required bandwidth