AZ-140 study notes · 40–45% of the exam
Plan and implement an Azure Virtual Desktop infrastructure
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
The foundations of Azure Virtual Desktop: networking, storage for user profiles, host pool design, deploying session hosts, and building images.
Networking
- Session hosts use reverse connect. They make outbound connections to the service, so no inbound ports from the internet are needed.
- Allow the required URLs with the WindowsVirtualDesktop service tag or the Azure Firewall FQDN tag. Use the Required URL Check tool to test.
- RDP Shortpath uses UDP for lower latency: directly on managed networks, or with STUN and TURN on public networks. It falls back to TCP.
- Private Link for AVD uses private endpoints for the host pool (connection), the workspace (feed) and a placeholder workspace (global).
- Check latency with the Experience Estimator and connection data in Insights.
Storage for profiles
- FSLogix containers need an SMB share: Azure Files (Premium for most production) or Azure NetApp Files for large or demanding deployments.
- Azure Files needs identity-based authentication (AD DS, Entra Domain Services or Microsoft Entra Kerberos), share-level RBAC and NTFS permissions.
- Keep storage in the same region as session hosts, and use private endpoints.
Host pools
- Pooled host pools share hosts between users. Personal host pools give each user their own VM, assigned automatically or directly.
- Load balancing: breadth-first spreads users, depth-first fills one host first (good for cost with autoscale).
- OS: Windows 11 Enterprise multi-session for pooled desktops. Licences come from Microsoft 365 E3/E5, A3/A5, F3 and Business Premium, or per-user access pricing for external users. Windows Server hosts need RDS CALs.
- A validation host pool gets service updates first.
- Start VM on connect starts deallocated hosts when users connect.
Deploying session hosts
- Use the portal, or automate with Bicep, ARM, PowerShell or Azure CLI. Hosts register with a registration token.
- Session host configuration and session host update manage hosts from a configuration, including rolling image updates.
- Drain mode stops new sessions on a host during maintenance.
Images
- Build a golden image manually (install, optimise, Sysprep) or automate with Azure VM Image Builder.
- Store versions in Azure Compute Gallery and replicate them to the regions you use.
- App Attach delivers apps from file shares so you rebuild images less often.