Skip to main content
Answer confirmed
Question

Your on-premises network connects to the internet.

You have an Azure subscription that contains a virtual network named VNet1.

You need to configure a Site-to-Site (S2S) VPN connection between the on-premises network and VNet1.

Which two resources should you create in Azure first? Each correct answer presents part of the solution.

 

 

Proposed answer
  • a virtual network gateway
  • a virtual network interface
  • point-to-site (P2S) configuration
  •  
  • A new network interface in Azure
Suggested answer
  • a virtual network gateway
  • a virtual network interface

 

Correct answer
  • a local network gateway
  • a virtual network gateway

 

  • Correct – To be able to create a connection between the local network and the Azure virtual network, you need to have a local network gateway object, which represents the local network’s public IP address as well as the address space of the local network, and a virtual network gateway, which represents the Azure virtual network (with its public IP address and address space).
  • Incorrect – A point-to-site (P2S) configuration is not the solution to connect two networks.
  • Incorrect - To be able to create a connection between the local network and the Azure virtual network, you need to have a local network gateway object, which represents the local network’s public IP address as well as the address space of the local network, and a virtual network gateway, which represents the Azure virtual network (with its public IP address and address space).
  • Incorrect - Creating a new virtual network in Azure will not help make a connection to the local network.
  • Correct - To be able to create a connection between the local network and the Azure virtual network, you need to have a local network gateway object, which represents the local network’s public IP address as well as the address space of the local network, and a virtual network gateway, which represents the Azure virtual network (with its public IP address and address space).
  • Incorrect - A new network interface in Azure does not connect networks.

Tutorial - Connect an on-premises network and a virtual network: S2S VPN: Azure portal - Azure VPN Gateway | Microsoft Learn