All exams← All Azure Fundamentals (AZ-900) notes

Compute, networking & storage: Azure Fundamentals (AZ-900) revision notes

Revision notes

Compute options

Azure offers several compute models, each suited to a different level of control vs convenience.

  • Virtual Machines (VMs): full control over the OS, most flexible, most management overhead (patching, scaling).
  • VM Scale Sets: automatically manage a group of identical, load-balanced VMs that scale in/out with demand.
  • App Service: fully managed platform for hosting web apps, REST APIs and mobile backends without managing servers.
  • Azure Container Instances (ACI): fastest way to run a single container with no orchestration needed.
  • Azure Kubernetes Service (AKS): managed Kubernetes for orchestrating many containers at scale.
  • Azure Functions: serverless, event-driven compute; you pay only for execution time, not idle capacity.

A common exam trap is matching the scenario to the right service: 'quick one-off container, no orchestration' equals ACI, not AKS; 'run code in response to an event, minimal management' equals Functions.

Networking essentials

  • Virtual Network (VNet): the fundamental building block for private networking in Azure; resources within it can communicate securely.
  • Subnets: divide a VNet into smaller segments for organisation and security.
  • Network Security Groups (NSGs): filter inbound and outbound traffic to resources using allow/deny rules based on port, protocol, source and destination.
  • Azure VPN Gateway: connects on-premises networks to Azure over an encrypted connection across the public internet.
  • ExpressRoute: a private, dedicated connection from on-premises to Azure that does not travel over the public internet, giving higher reliability, lower latency and higher bandwidth.
  • Azure Load Balancer: distributes traffic at Layer 4 (TCP/UDP) across VMs.
  • Azure Application Gateway: a Layer 7 (HTTP/HTTPS) load balancer offering URL-based routing, SSL termination and a built-in Web Application Firewall (WAF).
  • Azure DNS: hosts DNS domains and provides name resolution using Microsoft's infrastructure.
  • Azure CDN: caches content at edge locations close to users to reduce latency.

Storage essentials

Azure Storage accounts provide four core services: Blob (unstructured object data), Files (managed SMB/NFS file shares), Queue (messaging between app components), and Table (NoSQL key-value data).

Blob storage has three access tiers, each a different cost/access trade-off:

  • Hot: frequently accessed data, highest storage cost, lowest access cost.
  • Cool: infrequently accessed data (kept at least 30 days), lower storage cost, higher access cost.
  • Archive: rarely accessed data (kept at least 180 days), lowest storage cost, but data must be rehydrated (can take hours) before it can be read.

Redundancy options protect against data loss:

  • LRS (Locally Redundant Storage): three copies within a single datacentre.
  • ZRS (Zone Redundant Storage): copies synchronously across three availability zones in one region.
  • GRS (Geo-Redundant Storage): copies to a secondary, paired region hundreds of miles away, asynchronously.
  • GZRS: combines zone redundancy in the primary region with geo-replication to a secondary region.

A common mistake is assuming Archive tier gives instant access, or forgetting that GRS replication to the secondary region is asynchronous, so very recent writes could be lost in a regional outage.

Key facts

Flashcards

Which Azure compute service is best for running a single container quickly with no orchestration?
Azure Container Instances (ACI).
tap to reveal
Which Azure compute service is fully serverless and billed only for execution time?
Azure Functions.
tap to reveal
What is the difference between ACI and AKS?
ACI runs single containers with no orchestration; AKS is managed Kubernetes for orchestrating many containers at scale.
tap to reveal
What does an NSG do?
Filters inbound and outbound network traffic using allow/deny rules based on port, protocol, source and destination.
tap to reveal
What is the key difference between VPN Gateway and ExpressRoute?
VPN Gateway connects over the encrypted public internet; ExpressRoute is a private dedicated connection that never touches the public internet.
tap to reveal
Which load balancer works at Layer 7 with URL-based routing and a WAF?
Azure Application Gateway.
tap to reveal
Which load balancer works at Layer 4 with TCP/UDP?
Azure Load Balancer.
tap to reveal
Name the four core Azure Storage account services.
Blob, Files, Queue and Table.
tap to reveal
What is the minimum retention period for Cool tier blob storage?
30 days.
tap to reveal
What is the minimum retention period for Archive tier blob storage?
180 days.
tap to reveal
Why can't you read Archive tier data instantly?
It must be rehydrated first, which can take hours.
tap to reveal
What is LRS?
Locally Redundant Storage: three copies within a single datacentre.
tap to reveal
What is the difference between ZRS and GRS?
ZRS synchronously replicates across three availability zones in one region; GRS asynchronously replicates to a separate paired region.
tap to reveal
What does GZRS combine?
Zone redundancy in the primary region plus geo-replication to a secondary region.
tap to reveal
What is a VNet?
The fundamental building block for private networking in Azure, allowing resources to communicate securely.
tap to reveal
Practice questions

Compute, networking & storage: 5 practice questions

Q1. A company wants to run a web application but does not want to manage the underlying virtual machines, operating system patching, or scaling infrastructure. Which Azure compute service best fits this requirement?
  • A.  Azure Virtual Machines
  • B.  Azure App Service
  • C.  Azure Virtual Machine Scale Sets
  • D.  Azure Container Instances with a manually managed host
Show answer & explanation
✓ Answer: B. Azure App Service
Azure App Service is a fully managed platform-as-a-service (PaaS) offering that handles OS patching, scaling, and infrastructure, letting developers focus on code. Virtual Machines and Scale Sets are infrastructure-as-a-service and still require OS-level management.
Q2. Which Azure compute option automatically increases or decreases the number of identical virtual machines based on demand or a defined schedule?
  • A.  Azure Container Registry
  • B.  Azure Bastion
  • C.  Virtual Machine Scale Sets
  • D.  Azure Resource Manager templates
Show answer & explanation
✓ Answer: C. Virtual Machine Scale Sets
Virtual Machine Scale Sets let you create and manage a group of load-balanced, identical VMs that scale automatically based on metrics or schedules. Azure Container Registry stores container images and does not scale compute, and Azure Bastion provides secure RDP/SSH access rather than scaling.
Q3. A development team wants to run short-lived batch jobs in isolated containers without provisioning any virtual machines or orchestrators. Which service is the simplest fit?
  • A.  Azure Kubernetes Service
  • B.  Azure Container Instances
  • C.  Azure Virtual Machine Scale Sets
  • D.  Azure App Service Environment
Show answer & explanation
✓ Answer: B. Azure Container Instances
Azure Container Instances (ACI) lets you run containers directly on Azure without managing VMs or clusters, ideal for simple, isolated, or burst workloads. Azure Kubernetes Service is better suited for complex, multi-container orchestration at scale.
Q4. Which Azure service provides a fully managed Kubernetes cluster while Microsoft manages the control plane nodes?
  • A.  Azure Container Instances
  • B.  Azure Kubernetes Service (AKS)
  • C.  Azure Service Fabric standalone cluster
  • D.  Azure Batch
Show answer & explanation
✓ Answer: B. Azure Kubernetes Service (AKS)
AKS simplifies deploying and managing containerized applications by handling the Kubernetes control plane for you, while you manage the worker nodes. Azure Container Instances runs individual containers without any Kubernetes orchestration at all.
Q5. An organization needs to run code in response to events, such as a file being uploaded to storage, and wants to pay only for the compute time consumed during execution. Which service should they choose?
  • A.  Azure Virtual Machines
  • B.  Azure App Service (always-on plan)
  • C.  Azure Kubernetes Service
  • D.  Azure Functions
Show answer & explanation
✓ Answer: D. Azure Functions
Azure Functions is a serverless, event-driven compute service that executes code in response to triggers and bills based on execution time and resources consumed. VMs and always-on App Service plans incur cost regardless of whether code is actively running.
Test yourself
See the Azure Fundamentals (AZ-900) page

More Azure Fundamentals (AZ-900) topics