Lesson 10 of 28 · see all lessons
  1. Start here: cloud concepts (skill area 1, 25-30%)

    1. 1. Start here: the AZ-900 exam, the plan and what you already know
    2. 2. What cloud computing is: shared responsibility and cloud models
    3. 3. Paying for the cloud: the consumption-based model, pricing models and serverless
    4. 4. Why the cloud: availability, scalability, reliability, security and manageability
    5. 5. IaaS, PaaS and SaaS: cloud service types and when to use each
  2. Azure architecture, compute and networking (skill area 2, 35-40%)

    1. 6. Azure global infrastructure: regions, region pairs, sovereign regions and availability zones
    2. 7. Organizing Azure: resources, resource groups, subscriptions and management groups
    3. 8. Azure virtual machines: VM options, scale sets, availability sets and Azure Virtual Desktop
    4. 9. Containers, Azure Functions and app hosting: choosing a compute type
    5. 10. Azure networking: virtual networks, subnets, peering and Azure DNS
    6. 11. Connecting to Azure: VPN Gateway, ExpressRoute, and public and private endpoints
  3. Storage and migration (skill area 2)

    1. 12. Azure Storage services and storage accounts
    2. 13. Storage tiers and redundancy options
    3. 14. Moving files and migrating to Azure: AzCopy, Storage Explorer, File Sync, Azure Migrate and Data Box
  4. Identity, access and security (skill area 2)

    1. 15. Microsoft Entra ID, Entra Domain Services and external identities
    2. 16. Signing in securely: single sign-on, MFA, passwordless and Conditional Access
    3. 17. Azure role-based access control: who can do what, where
    4. 18. Zero Trust, defense in depth and Microsoft Defender for Cloud
  5. Management and governance (skill area 3, 30-35%)

    1. 19. Azure costs: cost factors, the pricing calculator, Cost Management and tags
    2. 20. Governance and compliance: Microsoft Purview, Azure Policy and resource locks
    3. 21. Managing Azure: the portal, Cloud Shell, Azure CLI, PowerShell and Azure Arc
    4. 22. Infrastructure as code: Azure Resource Manager and ARM templates
    5. 23. Monitoring Azure: Advisor, Service Health, Azure Monitor, Log Analytics, alerts and Application Insights
  6. Final review and four mock exams

    1. 24. Final review and exam day: every decision on one page
    2. 25. Mock exam 1
    3. 26. Mock exam 2
    4. 27. Mock exam 3
    5. 28. Mock exam 4
See the leaderboard

18 min

Azure networking: virtual networks, subnets, peering and Azure DNS

Understand how Azure virtual networks isolate and connect resources, and what Azure DNS does.

By the end of this lesson you can

  • Describe what an Azure virtual network gives your resources
  • Explain address spaces, subnets and network security groups
  • Choose virtual network peering to connect two virtual networks privately
  • Describe what Azure DNS does, and what it can't do

From earlier lessons · 1 of 2

Copperleaf wants code to run every night at 2 a.m. to archive the day's delivery records. Between runs, nothing should be running or billed. What fits best?

Pick one answer.

From earlier lessons · 2 of 2

Which statement about Azure App Service is true?

Pick one answer.

Copperleaf's route-planning app now runs in Azure, and the customer database is moving too. The database must never face the internet; only the app may talk to it. A second network in a European region will hold the new EU customer's data, and it must reach the main network privately. And staff want to type sensible names, not numbers, to find each server.

[1]

What a virtual network gives you

Exam depth: know it cold.

An Azure virtual network is your private network inside Azure. It lets Azure resources, such as VMs, web apps and databases, talk to each other, to users on the internet and to your on-premises computers. Think of it as an extension of your own office network.

Microsoft lists seven capabilities. Learn them as a list, because the exam asks "which is a purpose of a virtual network?"

  1. Isolation and segmentation.
  2. Internet communications.
  3. Communication between Azure resources.
  4. Communication with on-premises resources.
  5. Routing network traffic.
  6. Filtering network traffic.
  7. Connecting virtual networks.

[54]

Match

Match each virtual network capability to how Azure delivers it

Pick an item on the left, then its match on the right.

[54]

Address spaces and subnets

Exam depth: know it cold.

When you create a virtual network, you give it an address space: a range of private IP addresses that exists only inside that network. It can't be reached directly from the internet.

You then split the address space into subnets, which are named segments that each get part of the range. Copperleaf puts web servers in one subnet and the database in another, so each can get its own traffic rules.

For names, a virtual network can use the name service built into Azure, or an internal or external DNS server.

Resources can also have a public endpoint (a public IP address, reachable from anywhere) or a private endpoint (a private IP address from inside the virtual network). Lesson 11 explains endpoints.

[54]

Rendering diagram…
Two subnets in one virtual network, peered to a second virtual network in another region.

[54]

Filtering and routing traffic

Exam depth: know it cold.

A network security group (NSG) is an Azure resource that holds inbound and outbound security rules. Each rule allows or blocks traffic based on source and destination IP address, port and protocol. You use NSGs to filter traffic between subnets.

A network virtual appliance is a specialized VM that does one network job, such as running a firewall.

Routing decides the path traffic takes. By default, Azure routes traffic between subnets, connected virtual networks, on-premises networks and the internet. To override that, you use route tables and user-defined routes; recognize the name, but don't learn the setup.

[54]

Copperleaf wants to block all traffic into the database subnet except traffic from the web subnet on the database port. What should it use?

Pick one answer.

[54]

Peering: two virtual networks talk privately over Microsoft's backbone, never on the public internet. Picture: Retro pixel art, 16-bit video game style.

Virtual network peering

Exam depth: know it cold.

Virtual network peering links two virtual networks directly so their resources can talk to each other.

  • Traffic between peered networks is private.
  • It travels on the Microsoft backbone network and never enters the public internet.
  • The two networks can be in different regions. Peering across regions is often called global peering. It lets you build a global, connected network in Azure.

Copperleaf peers its main network with the EU network. The app can reach EU data privately, while that data stays stored in Europe.

Decision rule: two Azure virtual networks that must talk privately means peering. An on-premises site that must reach Azure means a VPN or ExpressRoute, covered next lesson.

[54]

For the statement, select Yes if it is true. Otherwise, select No. Traffic between two peered virtual networks in different Azure regions travels over the public internet.

Pick one answer.

[54]

Azure DNS

Exam depth: know it cold.

The Domain Name System (DNS) turns names such as routes.example.com into IP addresses. Azure DNS is a hosting service for DNS domains that runs on Azure's infrastructure.

  • Same tools. You manage DNS records with the same credentials, APIs, tools and billing as your other Azure services.
  • Reliable and fast. Domains are hosted on Azure's global network of DNS name servers. The closest available server answers each query.
  • Secure. It's built on Azure Resource Manager, so you get Azure RBAC, activity logs and resource locks for your DNS records.
  • Private DNS zones. You can use your own custom domain names inside your virtual networks instead of Azure-provided names.
  • Alias records. A record can point at an Azure resource, such as a public IP address. If that resource's IP address changes, the record updates itself.

[56][57]

[56]

Copperleaf already owns its domain name through a registrar. It wants to manage the domain's DNS records with the same Azure credentials, billing and access control as its other resources. What should it use?

Pick one answer.

[56]

Exam-style practice

A company runs virtual machines in two virtual networks in different Azure regions. The VMs must talk to each other privately, and the traffic must not cross the public internet. What should you configure?

Pick one answer.

[54][55]

You need to split one virtual network so web servers and database servers sit in separate segments with different traffic rules. What do you create?

Pick one answer.

[54]

Copperleaf wants VMs inside its virtual network to find each other by names such as db.copperleaf.internal instead of Azure-provided names. What should it use?

Pick one answer.

[56][57]

For the statement, select Yes if it is true. Otherwise, select No. You can buy a new domain name directly in Azure DNS.

Pick one answer.

[56]

FlashcardsIndex cardsFlashcards ⚡

Card 1 of 15

[54][56][57]

Worth keeping

  1. A virtual network isolates your resources and connects them to each other, the internet and on-premises.
  2. Subnets split a virtual network's private address space into segments; NSGs filter traffic between them.
  3. Peering connects two virtual networks privately over the Microsoft backbone, even across regions.
  4. Azure DNS hosts your domains with Azure credentials, RBAC and billing, including private DNS zones.
  5. Azure DNS can't sell you a domain name.

On the job

When a client asks whether their database will be "on the internet" in Azure, you now have a clear answer. It sits in its own subnet of a virtual network. A network security group lets only the app reach it.

Project managers hear "we need to peer the networks" in planning calls. It means linking two virtual networks privately, a small task compared with building a VPN.

[54]

Azure's networks can now talk to each other. But the nine depots and head office are still outside Azure. Should they use an encrypted tunnel over the internet, or a private line that never touches it? Next lesson: VPN Gateway, ExpressRoute and endpoints.

Leaderboard

Loading…

50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.

Embed this practice on your site

Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.

Report a copyright problem with this lesson

Sources for this lesson (7)

Each fact in the lesson is marked with the number of the page it comes from.

  1. [1]Microsoft Learn: Study guide for Exam AZ-900: Microsoft Azure Fundamentals
  2. [50]Microsoft Learn: Describe Azure functions
  3. [51]Microsoft Learn: Describe application hosting options
  4. [54]Microsoft Learn: Describe Azure virtual networking
  5. [55]Microsoft Learn: Describe Azure virtual private networks
  6. [56]Microsoft Learn: Describe Azure DNS
  7. [57]Microsoft Learn: What is Azure Private DNS?