33 minute read

38 min read 7716 words

“Describe Azure architecture and services” is the biggest domain on AZ-900: 35–40% of the exam. It covers four areas: how Azure is physically and logically organized, the compute and networking services, the storage services, and identity, access, and security. These are my notes on all four, with the facts the exam actually tests and scenario questions at the end.

This is Part 2 of my AZ-900 series. Part 1 covers cloud concepts, cloud service types, and when to use IaaS, PaaS, and SaaS.


1. What the Exam Covers in This Domain

Area What Microsoft lists in the skills outline
Core architectural components Regions, region pairs, sovereign regions, availability zones, datacenters, resources, resource groups, subscriptions, management groups, and the hierarchy between them
Compute and networking VMs vs. containers vs. functions; VM scale sets, availability sets, Azure Virtual Desktop; resources a VM needs; app hosting options; virtual networks, subnets, peering, Azure DNS, VPN Gateway, ExpressRoute; public vs. private endpoints
Storage Storage services, access tiers, redundancy options, storage account types; AzCopy, Storage Explorer, File Sync; Azure Migrate and Data Box
Identity, access, and security Microsoft Entra ID and Entra Domain Services; SSO, MFA, passwordless; external identities; Conditional Access; RBAC; Zero Trust; defense in depth; Microsoft Defender for Cloud

The exam asks mostly “which service / which option” questions. For each topic below, the thing to memorize is what problem it solves and how it differs from its neighbors.


2. Core Architectural Components

2.1 The physical layer: datacenters, regions, availability zones

Azure is built from the bottom up like this:

Datacenter  →  Availability Zone  →  Region  →  Geography
(a building)   (1+ datacenters)      (a set of    (e.g. US, Europe,
                                      datacenters) Asia Pacific)
Term What it is Exam facts
Datacenter A physical building full of racks, with its own power, cooling, and networking You never pick a datacenter directly. You pick a region.
Region A geographical area containing one or more datacenters connected by a low-latency network You choose a region when you deploy most resources. Not every service is in every region. 60+ regions worldwide.
Availability Zone (AZ) A physically separate datacenter (or group of datacenters) within a region, with independent power, cooling, and networking Connected by high-speed private fiber. Protects against datacenter-level failure. Regions with AZs have a minimum of three zones.
Region pair Two regions in the same geography (e.g. East US and West US) at least 300 miles apart Protects against region-level disasters. Platform updates roll out to one region of the pair at a time. In a broad outage Microsoft prioritizes restoring one region of each pair.
Sovereign region An isolated instance of Azure for compliance and legal reasons Azure Government (US government agencies and partners, physically isolated, screened US personnel) and Azure China (operated by 21Vianet).
Geography A market boundary (usually a country) that preserves data residency and compliance Data stays within the geography unless you move it.

Which problem does each one solve?

You want to survive… Use
A single server or rack failing Normal Azure (built-in hardware redundancy)
An entire datacenter failing (fire, flood, power loss) Availability Zones
An entire region failing (large natural disaster) Region pairs / multi-region deployment
A compliance rule that says data must stay with a specific government Sovereign region

2.2 Three kinds of services and availability zones

Not every service uses zones the same way. The exam likes this distinction:

Category Meaning Examples
Zonal services You pin the resource to a specific zone Virtual machines, managed disks, standard public IP addresses
Zone-redundant services Azure automatically replicates across zones Zone-redundant storage (ZRS), Azure SQL Database
Non-regional (always-available) services Not tied to any region or zone; resilient to zone and region-wide outages Microsoft Entra ID, Azure DNS, Azure Traffic Manager

Availability zones protect against datacenter failures inside one region. Region pairs protect against a whole region going down. If a question says “entire region unavailable,” AZs are the wrong answer.

2.3 The management layer: resources, resource groups, subscriptions, management groups

This is the logical hierarchy, and it is heavily tested:

Management Group
  └── Subscription
        └── Resource Group
              └── Resource
Level What it is Rules to memorize
Resource Any single thing you create: a VM, a storage account, a database, a virtual network Every resource lives in exactly one resource group.
Resource group A logical container for resources that share a lifecycle • Cannot be nested (no resource groups inside resource groups)
• Resources can be moved between groups
• Can contain resources from different regions
• Deleting the group deletes everything in it
• Policies, RBAC, and locks applied here are inherited by its resources
Subscription A unit of management, billing, and scale • Links to a Microsoft Entra tenant
• Acts as both a billing boundary (separate invoices) and an access control boundary
• An account can have multiple subscriptions
Management group A container for subscriptions so you can apply governance to many at once • Up to 10,000 management groups per directory
• Tree can be up to six levels deep (not counting the root and the subscription level)
• Each management group and subscription has exactly one parent
• Policies and RBAC assigned here are inherited by every subscription below

Inheritance is the key idea. Anything applied at a higher level flows down. Assign a policy at a management group and every subscription, resource group, and resource beneath it gets it.

Common exam patterns:

Question says… Answer
“Group resources that share the same lifecycle so they can be deleted together” Resource group
“Separate invoices for the dev team and the production team” Separate subscriptions
“Apply one policy to 50 subscriptions at once” Management group
“Can a resource group contain a VM in East US and a storage account in West Europe?” Yes
“Can a resource belong to two resource groups?” No
“Can you nest resource groups?” No
“What deletes when you delete a resource group?” Every resource in it

2.4 Azure accounts and tenants

  • A Microsoft Entra tenant is the identity directory for an organization. Every Azure subscription trusts exactly one tenant.
  • The Azure free account gives a limited amount of free credit for 30 days plus some services free for 12 months and a set of always-free services.
  • The Learn sandbox is a free, temporary subscription used in Microsoft Learn exercises.

3. Azure Compute Services

3.1 Compute types compared

  Virtual Machines Containers Azure Functions
What you get A full virtualized computer with its own OS A lightweight, isolated package of app + dependencies that shares the host OS kernel A piece of code that runs in response to an event
You manage OS, patches, runtime, app Your container image and orchestration (unless using a managed option) Only your code
Startup time Minutes Seconds Milliseconds (may have a cold start)
Best for Lift-and-shift, legacy apps, full OS control Microservices, portable apps, dense packing of workloads Event-driven, short-running tasks
Service type IaaS IaaS / PaaS depending on service Serverless (PaaS)
Billing Per second while running Per vCPU/memory while running Per execution and execution time

One-line distinction for the exam: VMs virtualize the hardware, containers virtualize the operating system, functions abstract away the server entirely.

3.2 Virtual machine options

Option What it does Exam facts
Azure Virtual Machines IaaS. You pick the size, OS image, disks, and network. Full control of the OS. You patch it. Use for lift-and-shift and custom software.
Virtual Machine Scale Sets A group of identical, load-balanced VMs that can autoscale Scale out when demand rises, scale in when it drops. Instances are created from the same image. Handles load balancing for you. Use for elastic workloads like a web front end.
Availability Sets Spreads VMs across fault domains and update domains inside one datacenter • Fault domain = separate power source and network switch (a rack). Up to 3.
• Update domain = group of VMs rebooted together during planned maintenance. Up to 20.
• Protects against hardware failure and planned maintenance taking down all your VMs at once.
• No extra cost; you only pay for the VMs.
Azure Virtual Desktop Desktop and application virtualization running in the cloud Users get a Windows desktop from any device. Supports Windows multi-session (many users on one VM). Centralized security via Entra ID, MFA, and Conditional Access. Data lives in Azure, not on the user’s device.

Availability sets vs. availability zones vs. scale sets:

  Protects against Scope
Availability set Rack failure and planned maintenance Inside one datacenter
Availability zone Whole datacenter failure Inside one region
Scale set Not primarily about failure. It is about scaling. Can also be spread across zones. One region

3.3 Resources a virtual machine needs

When you create a VM, Azure creates (or you choose) several supporting resources. The exam wants you to recognize them:

Resource Purpose
VM size (SKU) How much CPU, memory, and performance
OS image Windows or Linux, from the Marketplace or your own
OS disk and optional data disks Managed disks: Azure handles the storage account behind them
Virtual network (VNet) and subnet The private network the VM lives in
Network interface (NIC) Connects the VM to the subnet
Public IP address (optional) Needed only if the VM must be reachable from the internet
Network security group (NSG) Allows or denies inbound/outbound traffic
Resource group The container all of the above lives in

Billing note: you pay for a VM’s compute while it is running. A VM in Stopped (deallocated) state stops compute charges. A VM that is only shut down from inside the OS (Stopped, not deallocated) still incurs compute charges. Disks and public IPs are billed regardless.

3.4 Containers in Azure

Service What it is Pick it when…
Azure Container Instances (ACI) Run a single container on demand, no VM to manage You want the fastest, simplest way to run a container. No orchestration.
Azure Container Apps Serverless container platform with built-in scaling (including to zero), load balancing, and event-driven triggers You want microservices with autoscaling and don’t want to run Kubernetes yourself.
Azure Kubernetes Service (AKS) Managed Kubernetes orchestration You need full container orchestration for many containers: scheduling, self-healing, rolling updates, and you are comfortable with Kubernetes.

Containers are a good fit for microservice architectures: break an app into small independent pieces (front end, API, cache) that scale and deploy separately.

3.5 Azure Functions (serverless)

  • Event-driven: a function runs when something triggers it, such as an HTTP request, a timer, a new message in a queue, or a new blob in storage.
  • Scales automatically, including to zero. You pay only when the code runs.
  • Stateless by default: each run starts fresh. Durable Functions add state for workflows that chain functions together.
  • Ideal for short tasks: resize an image on upload, process a message, run a nightly job.

3.6 Application hosting options

Option Best for
Azure App Service PaaS hosting for web apps, REST APIs, mobile back ends, and WebJobs (background tasks). Supports .NET, Java, Node.js, Python, PHP, Ruby, and containers. Built-in load balancing, autoscaling, CI/CD, and TLS. You deploy code; Microsoft manages the servers.
Containers (ACI, Container Apps, AKS) Apps already packaged as containers, microservices, portability between environments
Virtual Machines Full control over the OS, legacy or custom software, lift-and-shift

Exam cue: “Host a web app without managing infrastructure” is almost always App Service.


4. Azure Networking Services

4.1 Virtual networks (VNets) and subnets

An Azure Virtual Network is your private network in the cloud. It gives Azure resources (VMs, App Service with VNet integration, databases with private endpoints) a way to talk to each other, to the internet, and to your on-premises network securely.

Capability How Azure does it
Isolation and segmentation Each VNet has its own private IP address space (e.g. 10.0.0.0/16), divided into subnets
Internet communication Give a resource a public IP or put it behind a public load balancer
Communication between Azure resources Resources in the same VNet talk over the private network. Service endpoints let a VNet reach PaaS services like Storage and SQL over the Azure backbone.
Communication with on-premises Point-to-site VPN, site-to-site VPN, or ExpressRoute (see 4.3)
Route network traffic Azure routes between subnets by default. Route tables and BGP let you override.
Filter network traffic Network security groups (NSGs) with allow/deny rules by IP, port, and protocol, or network virtual appliances (firewall VMs)
Connect virtual networks VNet peering (see 4.2)

VNets are regional. One VNet lives in one region. To connect VNets in different regions, you use global VNet peering.

4.2 VNet peering

Peering connects two VNets so their resources talk to each other over the Microsoft private backbone, never the public internet.

  • Regional peering: two VNets in the same region.
  • Global peering: two VNets in different regions.
  • Traffic between peered VNets is private and low-latency.
  • Peering is not transitive. If A is peered to B and B is peered to C, A cannot reach C unless you peer A to C or use a hub-and-spoke design with a network virtual appliance.
  • User-defined routes (UDRs) let you force traffic through a firewall appliance in a hub VNet.

4.3 Connecting to on-premises: VPN Gateway vs. ExpressRoute

  Azure VPN Gateway Azure ExpressRoute
Path Encrypted tunnel over the public internet Private, dedicated connection through a connectivity provider. Never touches the public internet.
Bandwidth Lower, up to a few Gbps depending on SKU Higher, up to 100 Gbps
Reliability Depends on the internet Predictable and consistent; built-in redundancy
Cost Lower Higher
Setup time Hours Days to weeks (needs a provider)
Reaches Your Azure VNets Azure and Microsoft 365, Dynamics 365 (Microsoft cloud services)
Encryption Yes, IPsec/IKE Not encrypted by default (private circuit); you can add encryption

VPN Gateway details:

Type Connects
Site-to-site (S2S) Your on-premises network (a VPN device) to an Azure VNet
Point-to-site (P2S) An individual computer to an Azure VNet (for remote workers)
VNet-to-VNet Two Azure VNets through VPN gateways (peering is usually the better choice)
  • Only one VPN gateway per VNet, but one gateway can have many connections.
  • Policy-based (static routing, legacy) vs. route-based (dynamic, the default and recommended).
  • High availability options: active/standby (default), active/active, ExpressRoute failover (VPN as backup for ExpressRoute), and zone-redundant gateways.

ExpressRoute details:

  • Connectivity models: CloudExchange colocation, point-to-point Ethernet, any-to-any (IPVPN), and ExpressRoute Direct (connect straight into Microsoft’s network at 10 or 100 Gbps).
  • ExpressRoute Global Reach connects your on-premises sites to each other through Microsoft’s network.
  • Uses BGP for dynamic routing.
  • Does not give you internet access by itself.

Exam cue: “private,” “does not use the public internet,” “predictable bandwidth,” “also connect to Microsoft 365” all point to ExpressRoute. “Encrypted,” “over the internet,” “quick and cheap” point to VPN Gateway.

4.4 Azure DNS

  • A hosting service for DNS domains that resolves names using Azure infrastructure.
  • Uses anycast networking: a query is answered by the closest DNS server, so it is fast and highly available.
  • Managed with the same tools as other Azure resources: portal, CLI, PowerShell, ARM templates. Secured with RBAC, activity logs, and resource locks.
  • Private DNS zones let you use custom domain names inside your VNets without exposing them publicly.
  • Azure DNS does not sell domain names. You buy a domain from a registrar (or through App Service domains) and then point it at Azure DNS.

4.5 Public vs. private endpoints

  Public endpoint Private endpoint
What it is A public IP address that is reachable from the internet A network interface with a private IP inside your VNet that connects to an Azure PaaS service through Azure Private Link
Traffic path Over the public internet (encrypted with TLS) Over the Microsoft backbone, never leaves your VNet
Use when Users anywhere need to reach the service You want a storage account, SQL database, or other PaaS service reachable only from inside your network

Service endpoint vs. private endpoint: a service endpoint keeps traffic on the Azure backbone but the service still has a public IP. A private endpoint gives the service a private IP in your subnet, so you can turn public access off entirely. If the question says “no public IP” or “only from the VNet,” pick private endpoint.

4.6 Other networking services worth recognizing

Service One-liner
Azure Load Balancer Distributes traffic at Layer 4 (TCP/UDP) across VMs
Application Gateway Layer 7 (HTTP) load balancer with URL routing, TLS termination, and an optional Web Application Firewall
Azure Front Door Global Layer 7 entry point with CDN, WAF, and routing to the closest healthy back end
Traffic Manager DNS-based global routing across regions
Azure Firewall Managed, stateful network firewall for your VNets
Azure DDoS Protection Protects public endpoints from distributed denial-of-service attacks
Azure Bastion Secure RDP/SSH to VMs through the portal without public IPs on the VMs
Network Watcher Diagnostics and monitoring for networks

5. Azure Storage Services

5.1 Storage accounts

A storage account is the top-level container for Azure Storage. It gives you a unique namespace reachable over HTTP/HTTPS.

  • The name must be globally unique, 3 to 24 characters, lowercase letters and numbers only.
  • Endpoints look like https://<account>.blob.core.windows.net, .file., .queue., .table.
  • When you create one you choose type, performance (Standard or Premium), and redundancy.
Account type Supports Use for
Standard general-purpose v2 Blob (incl. Data Lake Storage), Files, Queues, Tables Most scenarios. The default recommendation.
Premium block blobs Block blobs and append blobs High transaction rates, small objects, low latency
Premium file shares Azure Files (SMB and NFS) Enterprise file shares, high-performance apps
Premium page blobs Page blobs only Unmanaged VM disks (rare today)

Premium accounts use SSD storage and only support LRS and ZRS. Standard supports all redundancy options.

5.2 Storage services compared

Service Stores Access Typical uses
Azure Blob Storage Unstructured objects: images, video, documents, backups, logs HTTP/HTTPS, REST, SDKs Serving images to a browser, streaming media, backup and archive, big data
Azure Files Managed file shares SMB or NFS protocol, mountable like a network drive Replace on-premises file servers, lift-and-shift apps that expect a file share, shared config
Azure Queue Storage Messages (up to 64 KB each) REST Decoupling app components; a web app drops a message and a Function picks it up
Azure Table Storage NoSQL key/attribute data REST, OData Semi-structured data at scale with cheap storage
Azure Disk Storage (managed disks) Block-level virtual hard disks Attached to a VM OS and data disks for VMs
Azure Data Lake Storage Gen2 Blob Storage with a hierarchical namespace Hadoop-compatible APIs Big data analytics

Blob types:

Blob type For
Block blobs Text and binary files. The most common type. Up to about 190 TiB.
Append blobs Optimized for append operations, such as logging
Page blobs Random read/write, used for VHD files

Blob vs. Files, the common confusion: if an app needs a drive letter or mount point (SMB/NFS), it is Azure Files. If it accesses objects by URL or API, it is Blob.

5.3 Blob access tiers

Tiers trade storage cost against access cost and speed.

Tier Storage cost Access cost Latency Minimum retention (early deletion fee) For data that is…
Hot Highest Lowest Milliseconds None Accessed frequently
Cool Lower Higher Milliseconds 30 days Accessed infrequently, stored at least 30 days
Cold Lower still Higher still Milliseconds 90 days Rarely accessed, stored at least 90 days
Archive Lowest Highest Hours to rehydrate 180 days Rarely if ever accessed. Offline: must be rehydrated to another tier before it can be read.

Facts the exam checks:

  • Hot, cool, and cold are online tiers: data is readable immediately. Archive is offline.
  • Hot and cool (and cold) can be set at the account level as the default. Archive can only be set at the blob level.
  • Archive is not supported with ZRS, GZRS, or RA-GZRS redundancy. It needs LRS, GRS, or RA-GRS.
  • Lifecycle management policies can automatically move blobs between tiers (hot to cool after 30 days, archive after 180, delete after a year).

5.4 Redundancy options

All Azure Storage keeps at least three copies of your data. Redundancy decides where those copies live.

Option Copies Where Survives Durability
LRS Locally redundant 3 One datacenter in the primary region Drive, server, and rack failures 11 nines (99.999999999%)
ZRS Zone-redundant 3 Three availability zones in the primary region A whole datacenter (zone) failing 12 nines
GRS Geo-redundant 6 LRS in primary + 3 copies (LRS) in the paired secondary region, copied asynchronously A whole region failing 16 nines
GZRS Geo-zone-redundant 6 ZRS in primary + LRS in the secondary region Zone failure and region failure 16 nines
RA-GRS / RA-GZRS Read-access Same as GRS / GZRS Same Same, plus you can read from the secondary at any time, not just after a failover 16 nines

How to think about it:

LRS   → cheapest, one building
ZRS   → three buildings, one region
GRS   → LRS + a second region (async copy)
GZRS  → ZRS + a second region (async copy)
RA-   → add read access to the second region
  • Geo-replication is asynchronous, so in a disaster you could lose the most recent writes (the recovery point objective, RPO, is usually under 15 minutes).
  • With plain GRS/GZRS you cannot read the secondary until Microsoft or you initiate a failover. With RA-GRS/RA-GZRS you can read it any time.
  • The secondary region is always the region pair of the primary. You cannot choose it.
  • Premium storage: LRS and ZRS only.
Question says… Answer
“Lowest cost” LRS
“Survive a datacenter failure, keep data in one region” (data residency) ZRS
“Survive a regional outage” GRS or GZRS
“Survive a regional outage and read from the secondary without failover” RA-GRS or RA-GZRS
“Highest durability and availability” RA-GZRS

5.5 Moving files: AzCopy, Storage Explorer, File Sync

Tool What it is Use when
AzCopy A command-line utility for copying blobs and files to, from, or between storage accounts. Supports scripting and one-direction sync. You want to automate or script uploads and transfers. Also copies from other cloud providers.
Azure Storage Explorer A standalone GUI app (Windows, macOS, Linux) for browsing and managing storage accounts. Uses AzCopy under the hood. You want to drag and drop files and inspect containers visually.
Azure File Sync Turns a Windows Server into a local cache of an Azure file share. Keeps on-premises servers and the cloud share in sync, bidirectionally. Supports cloud tiering: hot files stay local, cold files move to Azure. You want to keep file servers in branch offices but centralize the data in Azure.

5.6 Migration: Azure Migrate and Azure Data Box

Service What it is Use when
Azure Migrate A unified hub for discovering, assessing, and migrating on-premises servers, databases, web apps, and VDI to Azure. Includes: Discovery and assessment (inventory and readiness), Server Migration, Data Migration Assistant and Azure Database Migration Service for databases, Web app migration assistant, and integration with Azure Data Box. You are planning or executing a migration of an on-premises environment.
Azure Data Box A physical, ruggedized storage device Microsoft ships to you. You copy data onto it (up to about 80 TB usable), ship it back, and Microsoft uploads it to your storage account. Variants: Data Box Disk (SSD, smaller), Data Box Heavy (around 1 PB). Also works for exporting data out of Azure. You have a very large amount of data (tens of TB or more) and limited, slow, or expensive network bandwidth. A one-time bulk transfer, a datacenter decommissioning, or a disaster recovery seed.

AzCopy vs. Data Box: both move data. AzCopy goes over the network. Data Box is for when the network is the bottleneck. If the question says “40 TB and a slow link” or “no internet connectivity,” pick Data Box.


6. Azure Identity, Access, and Security

6.1 Directory services: Microsoft Entra ID and Entra Domain Services

Microsoft Entra ID (formerly Azure Active Directory) is Microsoft’s cloud-based identity and access management service. It is what you sign in to when you use the Azure portal, Microsoft 365, or any app registered with your organization.

What it does:

Capability Meaning
Authentication Verifies identity: passwords, MFA, passwordless, self-service password reset, smart lockout
Single sign-on (SSO) One identity, one sign-in, many applications
Application management Register and manage cloud and on-premises apps; Application Proxy, My Apps portal
Device management Register devices so Conditional Access can trust them
Business to business (B2B) and external identities Let partners and customers sign in with their own identities

Who uses it: IT admins (control access), app developers (add sign-in to apps), users (manage their identity, reset passwords), online service subscribers (Microsoft 365, Azure, Dynamics 365 all run on it).

Entra ID vs. on-premises Active Directory Domain Services (AD DS):

  Active Directory Domain Services (AD DS) Microsoft Entra ID
Runs On your own servers (domain controllers) In the cloud, managed by Microsoft
Protocols Kerberos, NTLM, LDAP, Group Policy HTTP/HTTPS: SAML, OAuth 2.0, OpenID Connect
Structure Organizational units, forests, domains Flat tenant with users, groups, and apps
Devices Domain-joined Windows machines Any device, any platform
Monitors Only what you build Built-in sign-in monitoring and suspicious activity detection

Microsoft Entra Connect synchronizes on-premises AD DS identities to Entra ID for a hybrid identity: users keep one username and password for both worlds.

Microsoft Entra Domain Services gives you managed domain services (domain join, Group Policy, LDAP, Kerberos/NTLM authentication) in Azure without deploying, managing, or patching domain controllers.

  • You pick a namespace (e.g. aaddscontoso.com) and Azure deploys two Windows Server domain controllers as a replica set in your region.
  • Identities sync one way: from Entra ID to the managed domain. If you also have on-premises AD DS, the flow is AD DS → Entra Connect → Entra ID → Entra Domain Services.
  • Use it to lift and shift legacy applications that need LDAP or Kerberos into Azure without rewriting them.

6.2 Authentication methods: SSO, MFA, passwordless

Method What it is Why it matters
Single sign-on (SSO) Sign in once, access many apps and resources Fewer passwords to remember, fewer to steal, one identity to disable when someone leaves. SSO is only as secure as the initial authenticator, which is why you pair it with MFA.
Multifactor authentication (MFA) Requires two or more of: something you know (password, PIN), something you have (phone, security key), something you are (fingerprint, face) A stolen password alone is no longer enough. Microsoft Entra multifactor authentication is the Azure service. Security defaults turn on basic MFA for free.
Passwordless Replaces the password with something you have plus something you know or are Removes the weakest factor entirely. Phishing-resistant options exist.

Azure’s three passwordless options:

Option How it works
Windows Hello for Business Biometric or PIN tied to a specific Windows device. Great for information workers with their own PC.
Microsoft Authenticator app Turns your phone into a passwordless credential: approve a sign-in with a notification plus biometric or PIN.
FIDO2 security keys A physical USB, NFC, or Bluetooth key using the Fast IDentity Online standard. Unphishable. Good for shared PCs or high-security roles.

6.3 External identities

Microsoft Entra External ID covers everyone outside your organization who needs access.

Type Who How
B2B collaboration Partners, vendors, suppliers Invite them as guest users. They sign in with their own work, school, or social identity. You keep control of what they can access.
B2B direct connect Another Microsoft Entra organization A two-way trust so their users can collaborate in Teams shared channels without being added as guests.
B2C / External ID for customers Consumers and customers of your app Customers sign up and sign in with email, social accounts, or local accounts. White-label experience.

Key idea: external users bring their own identity. You do not create and manage a password for them.

6.4 Microsoft Entra Conditional Access

Conditional Access is an if-then policy engine: if a sign-in matches certain signals, then apply a decision.

Signals (the “if”) Decisions (the “then”)
Who the user is or which group they belong to Allow access
Where they are signing in from (location, IP range, country) Require MFA
What device (compliant, managed, platform) Require a compliant device
Which application they want Block access
Real-time risk detection (Microsoft Entra ID Protection) Limit access (e.g. read-only in web apps)

Typical uses:

  • Require MFA for admins or for sign-ins from outside the corporate network.
  • Require managed devices to access sensitive apps.
  • Block sign-ins from countries you do not do business with.
  • Block legacy authentication protocols that cannot do MFA.

Conditional Access requires a Microsoft Entra ID P1 or P2 license. The report-only mode lets you test a policy before enforcing it.

6.5 Azure role-based access control (RBAC)

RBAC answers: “Who can do what, where?”

Element Meaning Examples
Security principal (who) A user, group, service principal, or managed identity Alice, the DevOps group, a web app’s managed identity
Role definition (what) A collection of permissions Owner (everything, including granting access), Contributor (create and manage, but cannot grant access), Reader (view only), User Access Administrator (manage access only), plus many built-in and custom roles
Scope (where) Where the role applies Management group, subscription, resource group, or a single resource

Rules:

  • Roles assigned at a scope are inherited by everything beneath it. Reader at the subscription = Reader on every resource group and resource in it.
  • RBAC is an allow model. If any assignment grants a permission, you have it. (A deny assignment exists but is created only by Azure for things like Blueprints and managed apps.)
  • RBAC is enforced by Azure Resource Manager, so it works the same from the portal, CLI, PowerShell, and REST.
  • Follow least privilege: give the smallest role at the smallest scope that does the job.
Question says… Answer
“Let a user create and manage all resources but not grant access to others” Contributor
“Let a user only view resources” Reader
“Let a user manage who has access but not the resources themselves” User Access Administrator
“Give access to one resource group only” Assign the role at the resource group scope

RBAC vs. Azure Policy: RBAC controls who can do what. Azure Policy controls what is allowed to exist (e.g. “only allow resources in East US”). Both are in the governance domain, but RBAC is tested here too.

6.6 Zero Trust

Zero Trust is a security model that assumes nothing is trusted by default, inside or outside the network. The old model trusted everything inside the corporate firewall. Zero Trust verifies every request as if it came from an open network.

Three guiding principles:

Principle Meaning
Verify explicitly Always authenticate and authorize using all available signals: identity, location, device health, service, data classification, anomalies
Use least privilege access Give just-in-time and just-enough access (JIT/JEA), risk-based adaptive policies, and data protection
Assume breach Minimize the blast radius: segment access, verify end-to-end encryption, use analytics to detect threats and improve defenses

In Azure terms, Zero Trust shows up as MFA + Conditional Access + RBAC least privilege + network segmentation + Defender for Cloud.

6.7 Defense in depth

Defense in depth layers security so that if one layer is breached, the next one still protects the data. Think of it as an onion with data at the center.

Layer (outside → in) What it protects against Azure examples
Physical security Someone walking into the datacenter Microsoft’s datacenter access controls
Identity and access Stolen credentials, unauthorized users Entra ID, MFA, SSO, Conditional Access, RBAC
Perimeter Large-scale network attacks Azure DDoS Protection, Azure Firewall
Network Lateral movement between resources NSGs, VNet segmentation, limiting internet exposure, private endpoints
Compute Compromised VMs and endpoints Patching, Defender for Cloud recommendations, endpoint protection, closing unneeded ports
Application Insecure code and secrets Secure development, Azure Key Vault for secrets, Application Gateway WAF
Data Unauthorized access to the data itself Encryption at rest and in transit, access controls on databases, storage, and disks

The exam often shows a layer and asks for the matching service, or vice versa. DDoS and Firewall = perimeter. NSG = network. Key Vault = application. Encryption = data.

6.8 Microsoft Defender for Cloud

Microsoft Defender for Cloud is a tool for security posture management and threat protection across Azure, on-premises, and other clouds (AWS, GCP).

What it does:

Capability Meaning
Continuous assessment Scans your resources and reports a secure score
Recommendations Tells you how to fix misconfigurations (e.g. “enable MFA,” “close management ports,” “encrypt this disk”)
Threat protection Detects attacks and alerts you, with details and remediation steps
Compliance tracking Measures you against standards such as the Microsoft cloud security benchmark, PCI DSS, ISO 27001
Hybrid and multicloud Covers non-Azure machines through Azure Arc, and AWS/GCP accounts natively
  • The free tier gives basic posture management (secure score and recommendations) for Azure resources.
  • Enhanced security (Defender plans) adds threat protection for servers, storage, SQL, containers, Key Vault, and more.
  • It is part of the Microsoft Defender family alongside Defender for Endpoint, Identity, and Office 365, and feeds Microsoft Sentinel (the cloud SIEM).

Three themes the exam uses to describe it: assess (find weaknesses), secure (harden with recommendations), defend (detect and respond to threats).


7. Scenario Practice

1. A company must keep all customer data inside a single country, but still survive the loss of an entire datacenter. Which feature should it use?

Show answer

Availability zones (and for storage, ZRS). Zones are separate datacenters within one region, so data never leaves the country. Region pairs would copy data to a second region.

2. You need to apply the same compliance policy to 40 subscriptions. What is the most efficient approach?

Show answer

Put the subscriptions under a management group and assign the policy there. It is inherited by every subscription below.

3. Can a single resource group contain a VM in West Europe and a storage account in East US?

Show answer

Yes. A resource group’s own location is just metadata. Its resources can live in any region.

4. A web front end receives unpredictable traffic. You want identical VMs added and removed automatically as load changes. Which service?

Show answer

Virtual Machine Scale Sets. Autoscaling plus built-in load balancing across identical VMs.

5. Two VMs must not go down at the same time during planned Azure maintenance or a rack failure, and you do not want to pay extra. What should you use?

Show answer

Place them in an availability set. It spreads them across update domains and fault domains at no additional cost.

6. A piece of code must run every time a file lands in a storage container, and you only want to pay when it runs.

Show answer

Azure Functions with a blob trigger. Serverless, event-driven, pay per execution.

7. Developers want to deploy a .NET web API without managing servers, patches, or scaling.

Show answer

Azure App Service.

8. A company needs a private connection from its datacenter to Azure that does not use the public internet and offers predictable bandwidth.

Show answer

Azure ExpressRoute. VPN Gateway is encrypted but still crosses the public internet.

9. A remote employee needs to connect their laptop to an Azure VNet securely from a coffee shop.

Show answer

A point-to-site VPN through an Azure VPN Gateway.

10. VNet A is peered with VNet B, and VNet B is peered with VNet C. Can a VM in A reach a VM in C?

Show answer

No. Peering is not transitive. You would need to peer A with C directly or route through a network virtual appliance in B.

11. An Azure SQL Database must be reachable only from inside your VNet, with no public IP exposed.

Show answer

Create a private endpoint (Azure Private Link) for the database and disable public access.

12. An application expects to read and write to a shared network drive using SMB. Which storage service?

Show answer

Azure Files. Blob Storage does not expose a mountable SMB share.

13. Compliance records must be kept for seven years and are almost never read. Which access tier is cheapest?

Show answer

Archive. Lowest storage cost; you accept hours of rehydration time when you do need a file.

14. You need storage data to survive a regional outage and be readable from the secondary region without waiting for a failover.

Show answer

RA-GRS or RA-GZRS. Plain GRS/GZRS requires a failover before the secondary can be read.

15. A company has 60 TB of archived video to move to Azure over a slow 10 Mbps connection.

Show answer

Azure Data Box. Microsoft ships a physical device; you load it and ship it back. AzCopy would take months over that link.

16. You want to script a nightly copy of files from an on-premises server to Blob Storage.

Show answer

AzCopy. It is the command-line tool built for scripted transfers. Storage Explorer is a GUI; File Sync is for keeping a Windows file server in sync with Azure Files.

17. Branch offices need fast local access to files, but the company wants one central copy in Azure.

Show answer

Azure File Sync with cloud tiering on the branch Windows Servers.

18. A legacy app needs LDAP and Kerberos authentication, and the company wants to move it to Azure without running domain controllers.

Show answer

Microsoft Entra Domain Services.

19. You want to require MFA only when users sign in from outside the office network.

Show answer

A Conditional Access policy with a location signal and a “require MFA” decision.

20. A consultant from a partner firm needs access to one Azure resource group using their own company credentials.

Show answer

Invite them as a B2B guest user (Microsoft Entra External ID), then assign an RBAC role scoped to that resource group.

21. A user must be able to create and delete any resource in a subscription but must not be able to give other people access.

Show answer

Contributor at the subscription scope. Owner would also allow granting access.

22. Which security principle says “always authenticate and authorize using all available data points, even for users already inside the network”?

Show answer

Zero Trust, specifically the verify explicitly principle.

23. In the defense-in-depth model, which layer do Azure Firewall and DDoS Protection belong to? Which layer does a network security group belong to?

Show answer

Firewall and DDoS Protection are the perimeter layer. NSGs are the network layer.

24. Which Azure tool gives you a secure score, recommendations to harden resources, and threat alerts across Azure, on-premises, and AWS?

Show answer

Microsoft Defender for Cloud.

25. Which three options does Azure offer for passwordless authentication?

Show answer

Windows Hello for Business, the Microsoft Authenticator app, and FIDO2 security keys.


8. One-Page Summary

Architecture

Concept Remember
Region A set of datacenters; you pick it on deployment
Availability zone Separate datacenters within a region; survives a datacenter failure
Region pair Two regions in the same geography, 300+ miles apart; survives a region failure
Sovereign region Azure Government, Azure China
Hierarchy Management group → Subscription → Resource group → Resource
Resource group No nesting, one group per resource, any regions, delete-all
Subscription Billing and access boundary; tied to one Entra tenant
Management group Governance across many subscriptions; 6 levels deep; inheritance

Compute and networking

Need Service
Full OS control Virtual Machines
Autoscaling identical VMs Virtual Machine Scale Sets
Protect VMs from rack failure and maintenance Availability Sets
Cloud-hosted Windows desktops Azure Virtual Desktop
Simplest single container Azure Container Instances
Serverless microservices in containers Azure Container Apps
Kubernetes orchestration Azure Kubernetes Service
Event-driven code, pay per run Azure Functions
Web apps and APIs without servers Azure App Service
Private network in Azure Virtual Network + subnets
Connect two VNets privately VNet peering
Encrypted on-prem link over the internet VPN Gateway
Private dedicated on-prem link ExpressRoute
Host DNS zones Azure DNS
Reach a PaaS service only from your VNet Private endpoint

Storage

Need Service / option
Unstructured objects Blob Storage
SMB/NFS file shares Azure Files
Messages between app components Queue Storage
NoSQL key/attribute data Table Storage
VM disks Managed Disks
Tiers (cost ↓, access cost ↑) Hot → Cool (30 d) → Cold (90 d) → Archive (180 d, offline)
Redundancy LRS (1 datacenter) → ZRS (3 zones) → GRS (2 regions) → GZRS (zones + 2 regions); RA- adds secondary reads
Scripted copies AzCopy
GUI management Storage Explorer
Branch file server cache Azure File Sync
Plan and run migrations Azure Migrate
Bulk offline transfer Azure Data Box

Identity and security

Need Service / concept
Cloud identity, SSO, MFA Microsoft Entra ID
Managed domain (LDAP, Kerberos, Group Policy) Microsoft Entra Domain Services
Sync on-prem AD to the cloud Microsoft Entra Connect
Passwordless Windows Hello for Business, Authenticator app, FIDO2 keys
Partners and customers Microsoft Entra External ID (B2B, B2C)
If-then access rules Conditional Access
Who can do what, where Azure RBAC (Owner, Contributor, Reader, User Access Administrator)
Never trust, always verify Zero Trust (verify explicitly, least privilege, assume breach)
Layered security Defense in depth (physical → identity → perimeter → network → compute → application → data)
Posture + threat protection Microsoft Defender for Cloud

References

Leave a comment