An Azure Virtual Network (VNet) is the basic building block for networking in Azure. It provides an isolated and private network environment in the cloud for your Azure resources, like virtual machines. A VNet allows these resources to communicate securely with each other, the internet, and your on-premises networks. Its key features include traffic filtering, traffic routing, and the ability to connect to other VNets, which helps you create complex and secure cloud architectures.
Subnets are logical subdivisions within a VNet. They act as smaller, manageable sections that help you organize and secure network traffic. You place resources, such as virtual machines, into specific subnets. This segmentation allows you to apply tailored security rules and routing policies at the subnet level, isolating workloads from each other. For example, you might put web servers in one subnet and databases in another, applying stricter security to the database subnet.
Managing subnets requires specific permissions, like the Network Contributor role. You can create, change, or delete subnets using tools like the Azure portal or Azure CLI. Effective subnet design is a foundational step that improves network organization, scalability, and security, preparing you for more advanced features like peering and VPNs.
Virtual Network Peering connects two Azure VNets seamlessly. Once peered, resources in these networks can communicate directly with low latency and high bandwidth as if they were on the same local network, without needing a VPN gateway. The traffic flows securely over Microsoft's private backbone network. To establish peering, you must create a peering link in each VNet, and their address ranges must not overlap.
Peering is flexible; you can connect VNets in different Azure regions, subscriptions, or even different Microsoft Entra tenants. However, peering is not transitive. If VNetA is peered to VNetB, and VNetB is peered to VNetC, VNetA and VNetC are not automatically connected. While creating the peering connection itself is free, data transferred across it is billed according to Azure's data transfer rates.
Azure DNS is a hosting service for domain names. It translates human-friendly domain names (like www.example.com) into IP addresses that computers use to find Azure resources. Azure DNS provides reliable and fast DNS resolution. When you host your domains in Azure DNS, you can manage your DNS records for resources inside your VNets using the same Azure tools and credentials.
This integration is important for managing and routing traffic efficiently within your Azure environment. For instance, you can set up private DNS zones for your VNets, allowing resources to resolve each other's names using private IP addresses without exposing that information to the public internet. This helps keep internal network communication secure and organized.
Both Azure VPN Gateway and ExpressRoute provide secure connections between your on-premises networks and Azure, but they serve different scenarios based on needs for bandwidth, cost, and reliability.
A VPN Gateway creates an encrypted tunnel over the public internet. It is ideal for connecting remote offices or individual users to Azure, offering a cost-effective solution for moderate bandwidth needs. The connection is established between an on-premises VPN device and the Azure VPN Gateway, which sits in a dedicated subnet of your VNet.
ExpressRoute provides a private, dedicated connection between your on-premises network and Azure, bypassing the public internet entirely. This offers more predictable performance, higher reliability, and much greater bandwidth. It is most appropriate for mission-critical workloads, large data transfers, or when you need to meet strict compliance requirements that a private connection satisfies. Choosing between them involves a tradeoff: VPN Gateway offers flexibility and lower cost, while ExpressRoute provides superior performance and isolation at a higher price.
Start here! Get your feet wet with the Microsoft cloud and begin your journey to earning your Microsoft Certified: Azure Fundamentals certification!
Prepare and test your skills

Prepare and test your skills

An Azure Virtual Network (VNet) provides an isolated and private network environment in the cloud for Azure resources to communicate securely with each other, the internet, and on-premises networks.
Azure VPN Gateway creates an encrypted connection over the public internet, ideal for cost-effective, moderate bandwidth needs, while ExpressRoute provides a private, dedicated connection bypassing the internet, offering higher reliability, predictable performance, and greater bandwidth for mission-critical workloads.
Azure Virtual Network Peering seamlessly connects two Azure VNets, allowing resources to communicate directly with low latency over Microsoft's private backbone. Peering is not transitive, can connect VNets in different regions or subscriptions, and while the connection is free, data transfer across it is billed.
Subnets are logical subdivisions within a VNet that help organize and secure network traffic by allowing you to place resources like virtual machines into specific segments, enabling tailored security rules and routing policies at the subnet level.
An organization is deploying multiple virtual machines across several Azure Virtual Networks (VNets). The engineering team requires internal domain name resolution so that workloads can communicate using private domain names (such as `app.corp.internal`) without exposing internal records to the public internet or deploying and managing dedicated DNS virtual machines. Which Azure service should the organization implement to meet these requirements?