Practice
916 exam-style questions across 13 domains, each with an explanation.
Choose a study mode
Keyboard: A–D to answer · ← → to move between questions
Session review
Cloud Concepts
Understand what cloud computing is, why organisations move to it, and how the three service models divide responsibility between you and Microsoft.
What is cloud computing?
Cloud computing is the delivery of computing services (servers, storage, databases, networking, software) over the internet on a pay-as-you-go basis. Instead of buying and running your own datacentre, you rent what you need from a provider like Microsoft Azure.
Think of electricity. You do not build your own power station. You plug into the grid and pay for what you use each month. Cloud computing works the same way for IT infrastructure.
The three service models
These define how much Microsoft manages and how much you manage.
| Model | Example | You manage | Microsoft manages |
|---|---|---|---|
| IaaS | Azure Virtual Machines | OS, apps, data | Hardware, networking |
| PaaS | Azure App Service, Azure SQL | Apps, data | OS, runtime, hardware |
| SaaS | Microsoft 365, Dynamics 365 | Your data only | Everything else |
Cloud deployment models
Key cloud benefits
- High Availability: Remains accessible even during failures using redundancy and failover
- Scalability: Ability to increase resources to meet demand (vertical = bigger VM, horizontal = more VMs)
- Elasticity: Automatic scaling up and down in response to real-time demand
- Agility: Provision new resources in minutes rather than weeks
- Fault Tolerance: Continue operating even when one or more components fail
- Global Reach: Deploy to users worldwide using existing Azure regions
- Economies of Scale: Microsoft's buying power means lower per-unit costs passed to customers
Azure Architecture
Understand how Azure organises its infrastructure from global regions down to individual resources, and the management hierarchy you use to govern them.
Global infrastructure hierarchy
Resource management hierarchy
Networking & Subnetting
Master IP classes, binary conversion, CIDR notation, subnet math, and Azure's connectivity options. Use the interactive tools to practise until it becomes second nature.
Azure Virtual Network (VNet)
A VNet is your private, logically isolated network inside Azure. Resources inside communicate freely by default. Traffic leaving the VNet requires explicit configuration through a gateway, firewall, or peering connection.
Think of a VNet as the internal wiring of your office building. Desks on the same floor share a switch and talk freely. To reach another floor, you go through a router. To reach the internet, you go through a firewall. Azure VNets work exactly the same way: the subnets are the floors, NSGs are the doors between them.
IP address classes
IPv4 addresses are 32 bits long, written as four octets (e.g. 192.168.1.10). Historically they were divided into classes based on the first octet. Understanding classes explains why certain ranges exist and why 127.x.x.x is missing from Class A.
| Class | Start | End | 1st Octet bits | Default mask | Networks | Hosts/network | Usage |
|---|---|---|---|---|---|---|---|
| A | 1.0.0.0 | 126.255.255.255 |
0xxxxxxx |
255.0.0.0 /8 | 126 | 16,777,214 | ISPs, large corporations |
| B | 128.0.0.0 | 191.255.255.255 |
10xxxxxx |
255.255.0.0 /16 | 16,384 | 65,534 | Universities, organisations |
| C | 192.0.0.0 | 223.255.255.255 |
110xxxxx |
255.255.255.0 /24 | 2,097,152 | 254 | Home networks, small businesses |
| D | 224.0.0.0 | 239.255.255.255 |
1110xxxx |
N/A | N/A | Multicast groups | |
| E | 240.0.0.0 | 254.255.255.255 |
1111xxxx |
N/A | N/A | Experimental / reserved | |
Class A private:
10.0.0.0 – 10.255.255.255 (/8)Class B private:
172.16.0.0 – 172.31.255.255 (/12)Class C private:
192.168.0.0 – 192.168.255.255 (/16)Azure VNets use these ranges. Your VMs never have publicly routable private IPs by default.
🔢 Binary conversion tools
Every subnet calculation is binary arithmetic underneath. Practise converting until you can do it by eye. The interactive tools below let you drill both directions.
IP → Binary
Binary → IP
| Bit position | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | Value |
|---|---|---|---|---|---|---|---|---|---|
| Example: 192 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 128+64=192 |
| Example: 168 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 128+32+8=168 |
| Example: 255 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | All bits = 255 |
📐 Subnet formulae reference
| What you need | Formula | Example (/26) |
|---|---|---|
| Block size (total IPs) | 2^(32 − prefix) |
2^(32−26) = 2^6 = 64 |
| Usable hosts (standard) | Block size − 2 (−network, −broadcast) |
64 − 2 = 62 hosts |
| Azure usable IPs | Block size − 5 (Azure reserves 5) |
64 − 5 = 59 IPs |
| Network address | First IP, all host bits = 0 | 192.168.10.0 |
| Broadcast address | Network + block size − 1 | 192.168.10.0 + 64 − 1 = 192.168.10.63 |
| First usable host | Network address + 1 | 192.168.10.1 |
| Last usable host | Broadcast − 1 | 192.168.10.62 |
| Last-octet subnet mask | 256 − block size |
256 − 64 = 192 → mask = 255.255.255.192 |
| CIDR → mask (partial octet) | Set prefix bits to 1 and the rest to 0. Each full octet = 255 | /26 → 11111111.11111111.11111111.11000000 = 255.255.255.192 |
| Number of subnets | 2^(new prefix − old prefix) |
/24 → /26: 2^(26−24) = 2^2 = 4 subnets |
Example: 192.168.10.0/26: splitting a /24 into four /26 subnets
🧮 Subnet calculator
Enter any IP and CIDR prefix. The calculator shows all subnet values, binary breakdowns, and how Azure reserves 5 addresses per subnet.
x.x.x.0: Network address
x.x.x.1: Default gateway (Azure router)
x.x.x.2: Azure DNS
x.x.x.3: Azure DNS (secondary)
x.x.x.255: Broadcast address (last IP)
So a /24 → 256 total − 5 reserved = 251 usable. A /26 → 64 − 5 = 59 usable.
Quick CIDR reference table
| CIDR | Block size | Std hosts | Azure usable | Mask (last octet) | 256 − block |
|---|---|---|---|---|---|
| /24 | 256 | 254 | 251 | 255.255.255.0 | 256−256=0 |
| /25 | 128 | 126 | 123 | 255.255.255.128 | 256−128=128 |
| /26 | 64 | 62 | 59 | 255.255.255.192 | 256−64=192 |
| /27 | 32 | 30 | 27 | 255.255.255.224 | 256−32=224 |
| /28 | 16 | 14 | 11 | 255.255.255.240 | 256−16=240 |
| /29 | 8 | 6 | 3 | 255.255.255.248 | 256−8=248 |
| /30 | 4 | 2 | 0 (too small) | 255.255.255.252 | 256−4=252 |
Three-tier VNet architecture
Azure connectivity options
| Service | What it does | Traverses internet? | Use case |
|---|---|---|---|
| VNet Peering | Private connection between two Azure VNets over Microsoft backbone | No | VNet-to-VNet in Azure |
| VPN Gateway (Site-to-Site) | Encrypted IPSec tunnel connecting an office network to Azure | Yes (encrypted) | Office-to-Azure hybrid connectivity |
| VPN Gateway (Point-to-Site) | Encrypted tunnel for an individual device (remote worker laptop) | Yes (encrypted) | Remote worker access to Azure resources |
| ExpressRoute | Private dedicated circuit bypassing the internet entirely via a connectivity provider | No | High compliance, guaranteed bandwidth, low latency enterprise links |
| Azure Bastion | Browser-based RDP and SSH without a public IP on the VM | Via portal only | Secure VM management without opening ports to internet |
Storage
Understand Azure's storage services, access tiers, and redundancy options to choose the right storage for every scenario.
The four storage types
| Service | Data type | Access method | Use case |
|---|---|---|---|
| Blob Storage | Unstructured (files, images, video) | HTTP/HTTPS REST API | Media, backups, static websites |
| Azure Files | File shares | SMB / NFS (mountable as drive) | Replace on-premises file server |
| Queue Storage | Messages (max 64 KB) | REST API | Decoupled async app communication |
| Table Storage | NoSQL key-value rows | REST API | Cheap, schema-less structured data |
Blob access tiers
Redundancy options
| Option | Copies | Protects against | Cost |
|---|---|---|---|
| LRS (Locally Redundant) | 3 in one datacentre | Disk/rack failure | Cheapest |
| ZRS (Zone Redundant) | 3 across 3 zones | Datacentre failure | Mid |
| GRS (Geo Redundant) | 3 primary + 3 secondary region | Regional disaster | Higher |
| GZRS (Geo Zone Redundant) | ZRS primary + 3 secondary | Zone + regional failure | Highest |
Databases
Choose the right Azure database for structured, semi-structured, and globally distributed data workloads.
Which database for which workload?
| Service | Type | Choose when |
|---|---|---|
| Azure SQL Database | Relational (SQL Server) | Structured data, complex JOINs, ACID transactions, existing SQL Server apps |
| Azure SQL Managed Instance | Relational (SQL Server 100% compatible) | Migrating complex on-premises SQL Server with SQL Agent, CLR, linked servers |
| Azure Cosmos DB | NoSQL, globally distributed | JSON documents, global users, sub-10ms latency, multi-region writes |
| Azure Database for MySQL | Relational (MySQL compatible) | Existing MySQL apps migrating to managed PaaS |
| Azure Database for PostgreSQL | Relational (PostgreSQL compatible) | Existing PostgreSQL apps migrating to managed PaaS |
Identity & Access
Learn how Microsoft Entra ID manages identities and how RBAC enforces least-privilege access across Azure resources.
Authentication vs Authorisation
RBAC built-in roles
| Role | Can manage resources? | Can manage access? |
|---|---|---|
| Owner | ✓ Full | ✓ Yes: assign roles to others |
| Contributor | ✓ Full | ✗ Cannot assign roles |
| Reader | View only | ✗ No |
| User Access Administrator | ✗ No | ✓ Manage access only |
Zero Trust principles
- Verify explicitly, Always authenticate and authorise based on all available signals (identity, location, device, risk)
- Use least privileged access: Grant only the minimum permissions needed for the specific task
- Assume breach: Design as if attackers are already inside. Segment networks, encrypt data, monitor everything
Security
Understand Azure's layered security approach and the key services that protect resources, identities, and data.
Defence in Depth layers
Key security services
| Service | Purpose |
|---|---|
| Microsoft Defender for Cloud | Security posture management (Secure Score) + threat detection for individual resources |
| Microsoft Sentinel | Organisation-wide SIEM/SOAR: collects security signals, uses AI to detect attacks, automates response |
| Azure Key Vault | Securely stores secrets, keys, and certificates: apps retrieve at runtime with no credentials in code |
| Azure DDoS Protection | Infrastructure protection (free, always on, formerly Basic) vs Network Protection or IP Protection (paid, analytics, expert support) |
| Azure Firewall | Centralised stateful firewall with threat intelligence and FQDN filtering across VNets |
Governance
Control what can be deployed, prevent accidental changes, and maintain compliance across your Azure environment.
Governance tools comparison
| Tool | What it does | Key exam point |
|---|---|---|
| Azure Policy | Enforces rules on resource creation and configuration (Deny, Audit, Modify effects) | Does NOT delete existing non-compliant resources. Locks existing, denies new. |
| Resource Locks | Prevents deletion (Delete lock) or all modification (ReadOnly lock) | Overrides ALL RBAC including Owner. Must remove lock before action. |
| Tags | Name-value metadata on resources for organisation and cost allocation | Tags do NOT inherit by default. Use a Policy with the Modify effect to copy them down. |
| Azure Blueprints | Packages policies, RBAC, and ARM templates into one deployable compliant unit | Being retired: fully on 31 January 2027. Template specs with deployment stacks replace it. |
Cost Management
Understand what drives Azure costs, how to reduce them, and the tools available for monitoring and forecasting spending.
Cost saving options
| Option | Discount | Commitment | Best for |
|---|---|---|---|
| Pay as you go | No discount (baseline) | None | Unpredictable or short-term workloads |
| Reserved Instances | Up to 72% | 1 or 3 year | Stable, predictable workloads running 24/7 |
| Azure Hybrid Benefit | Up to 40% | Existing SA licence | Already own Windows Server or SQL Server licences with Software Assurance |
| Spot VMs | Up to 90% | None (evictable) | Interruptible batch jobs, rendering, ML training |
SLAs & Reliability
Understand what SLAs guarantee, how composite SLAs are calculated, and how Availability Zones improve your uptime commitments.
SLA uptime reference
| SLA | Monthly downtime allowed | Annual downtime allowed |
|---|---|---|
| 99.9% (three nines) | ~43.2 minutes | ~8.7 hours |
| 99.95% | ~21.6 minutes | ~4.4 hours |
| 99.99% (four nines) | ~4.3 minutes | ~52 minutes |
| 99.999% (five nines) | ~26 seconds | ~5.3 minutes |
Deployment Tools
Learn the tools for deploying and managing Azure resources, from the portal to infrastructure as code.
Management tools comparison
| Tool | Type | Best for |
|---|---|---|
| Azure Portal | Web GUI | Exploration, one-off tasks, learning |
| Azure CLI (az) | Command-line | Bash scripting, Linux admins, automation |
| Azure PowerShell | Command-line | PowerShell scripting, Windows admins |
| Cloud Shell | Browser-based CLI | Any device with a browser: no installation needed, pre-authenticated |
| ARM Templates | JSON IaC | Repeatable infrastructure deployment, CI/CD pipelines |
| Bicep | DSL IaC | Cleaner syntax than ARM JSON, compiles to ARM: Microsoft's recommended IaC |
Monitoring
Understand how Azure Monitor, Application Insights, and Service Health give you visibility into your resources, applications, and the Azure platform itself.
Monitoring services at a glance
| Service | What it monitors | Key feature |
|---|---|---|
| Azure Monitor Metrics | Numerical measurements (CPU %, request count) | Near real-time, 93-day retention, drives autoscale |
| Azure Monitor Logs (Log Analytics) | Events, errors, activity records | Queryable with KQL (Kusto Query Language) |
| Application Insights | Your application (requests, exceptions, dependencies) | Distributed traces, Live Metrics, Smart Detection |
| Azure Service Health | The Azure platform (incidents, maintenance) | Personalised view for your services and regions |
| Azure Activity Log | Management operations (who did what) | 90-day retention, answers "who deleted that resource?" |