AZ-140 study notes · 10–15% of the exam

Monitor and maintain an Azure Virtual Desktop infrastructure

First draft for review. Check details against Microsoft Learn before relying on them.

What this area covers

Monitoring with Azure Virtual Desktop Insights, autoscaling, session management, updates, backup and disaster recovery.

Monitoring

  • AVD Insights is an Azure Monitor workbook. It needs host pool and workspace diagnostic settings and the Azure Monitor Agent on session hosts.
  • Key tables: WVDConnections, WVDErrors, WVDCheckpoints, WVDAgentHealthStatus and WVDConnectionNetworkData.
  • Watch user input delay, logon duration, CPU and memory to find capacity problems.

Autoscale

  • Scaling plans have ramp-up, peak, ramp-down and off-peak phases. Pooled plans use a capacity threshold and a minimum percentage of hosts.
  • Personal plans start, stop or hibernate VMs based on connections.
  • A host pool can have one scaling plan. The service principal needs Power On Off Contributor.

Sessions

  • Manage sessions from the portal or PowerShell: send messages, disconnect or sign out users.
  • Use drain mode before maintenance.

Updates

  • Patch in place with Azure Update Manager or Intune update rings, or replace hosts with a new image (session host update).
  • Test in a validation host pool first, and keep the previous image version for rollback.

Backup and disaster recovery

  • Protect profiles with Azure Backup for Azure Files, share snapshots and soft delete.
  • Pooled hosts are stateless, so plan to redeploy them in another region with IaC. Use Azure Site Recovery for personal desktops.
  • Keep images replicated in Azure Compute Gallery and profiles replicated (Cloud Cache or storage replication) in the secondary region.
  • Host pool metadata is stored in a chosen geography. Session hosts can be in other regions.