Why Networking Matters
Networking is the foundation of every Azure deployment. Whether you’re deploying a virtual machine, connecting apps to databases, or securing resources with firewalls, networking defines how resources talk to each other and to the outside world.
The AZ-104 exam dedicates a large portion of questions to networking, making this a must-know topic.
Key Networking Components
-
Virtual Networks (VNets): The building blocks of Azure networking. Similar to traditional networks in on-premises environments.
-
Subnets: Logical divisions within a VNet that help organize and secure workloads.
-
IP Addressing: Azure resources need private or public IPs to communicate.
-
DNS: Resolves names to IP addresses, both within Azure and across hybrid setups.
-
Hybrid Connectivity: Services like VPN Gateway and ExpressRoute connect on-premises networks to Azure.
Security & Control
Azure provides multiple layers of protection for network traffic:
-
Network Security Groups (NSGs): Control inbound and outbound traffic at the subnet or NIC level.
-
Azure Firewall: A managed firewall service for centralized security policies.
-
DDoS Protection: Shields workloads from denial-of-service attacks.
-
Private Endpoints: Secure access to services without exposing them to the public internet.
Confusion Buster 🚨
-
VNet vs Subnet
-
VNet = the entire virtual network (like a company’s office building).
-
Subnet = smaller divisions inside the VNet (like separate office floors).
-
-
Exam trick: If the question says “create an isolated environment”, the answer usually involves a VNet. If it says “segment workloads”, the answer is often a subnet.
Simple Example
Imagine you’re setting up a company office:
-
The VNet is the building.
-
Subnets are the floors, dividing departments.
-
NSGs are the security guards at each floor, checking who can enter or leave.
-
Azure Firewall is the main security gate at the building’s entrance.
Exam Tip
Networking questions are often scenario-based. Always ask yourself:
-
Does the resource need to talk to the internet or stay private?
-
Does it need to connect to on-premises?
-
Should traffic be filtered at subnet, NIC, or centralized firewall level?
What to Expect in the Exam
-
Direct Q: “What is the fundamental unit of Azure networking?” → Virtual Network.
-
Scenario: “You need to isolate finance workloads from HR workloads within the same network.” → Use Subnets + NSGs.
-
Trick Q: “Azure Firewall and NSGs provide the same level of control.” (False — Firewall is centralized, NSG is distributed).