Microsoft AZ-140: Networking, Connectivity and Transport — Study Guide

Part of the Microsoft Azure Virtual Desktop Specialty AZ-140 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

Networking, connectivity, and transport underpin a stable and performant Azure Virtual Desktop (AVD) deployment. The control plane is internet-facing and fully managed by Microsoft, while the session hosts live in your virtual networks and must reach Azure platform services and, often, on-premises applications. Sound design balances least privilege and zero-trust principles with the need for low-latency, loss-tolerant transport for the user session. This section consolidates patterns and decisions for virtual network layout, access controls, outbound connectivity, hybrid links, private access, and troubleshooting.

Network design for session hosts: VNet, subnets, NSG, ASG, UDR, and DNS

Service connectivity and transport: reverse connect, Shortpath, UDP/TCP, and required endpoints

netsh winhttp set proxy "http=myproxy.contoso.com:8080;https=myproxy.contoso.com:8080" bypass-list="localhost;127.0.0.1"

Monitoring and troubleshooting: Network Watcher and diagnostics

$nw = Get-AzNetworkWatcher -Location "EastUS"
Test-AzNetworkWatcherConnectivity -NetworkWatcher $nw `
  -SourceId "/subscriptions/<subId>/resourceGroups/<rg>/providers/Microsoft.Compute/virtualMachines/<vmName>" `
  -DestinationAddress "store1.file.core.windows.net" -DestinationPort 445

Practical Problem Scenario

IKEA plans to provide Azure Virtual Desktop to 1,200 store planners and buyers across Europe. Users access SAP GUI and a license server on-premises while half the users work remotely without corporate VPN. Users report inconsistent responsiveness during peak hours and occasional sign-in failures after a new outbound proxy was introduced.

  1. Design hub-and-spoke with egress scaling

    • Create a hub VNet with Azure Firewall Premium and NAT Gateway; deploy spoke VNets per region for session hosts. Attach NAT Gateway to each session host subnet to avoid SNAT exhaustion when thousands of UDP/TCP flows open during morning logons.
    • Why: Stabilizes egress IPs and provides sufficient ephemeral ports, preventing intermittent connection failures to AVD gateways and storage.
  2. Implement precise NSG and ASG rules

    • Assign session host NICs to an ASG. Permit inbound UDP 3390 from trusted private prefixes only, allow TCP 3389 inbound from AzureBastionSubnet, and allow outbound TCP/UDP 443 to AzureVirtualDesktop, Storage, AzureActiveDirectory, and AzureMonitor service tags.
    • Why: Enforces least privilege while enabling Shortpath managed networks and secure administration via Bastion.
  3. Configure DNS for hybrid name resolution

    • Point VNet DNS to domain controllers in Azure. Deploy Azure DNS Private Resolver with outbound rules to forward privatelink zones and Azure PaaS zones; configure on-prem DNS to forward Azure private zones to the resolver’s inbound endpoint.
    • Why: Ensures AVD hosts resolve AD SRV records, FSLogix private endpoints, and any AVD Private Link FQDNs consistently across cloud and on-prem networks.
  4. Enable RDP Shortpath for both managed and public networks

    • Turn on Shortpath for managed networks on session hosts and open UDP 3390 internally; enable Shortpath for public networks to allow UDP 443 relay for remote workers without VPN. Update QoS on branch routers to prioritize UDP 3390 and UDP/TCP 443 for AVD flows.
    • Why: Maximizes interactive performance for in-office users via direct private UDP and improves home-user experience via UDP 443, with QoS protecting these flows during congestion.
  5. Secure and simplify perimeter with Azure Firewall and proxy policy

    • On Azure Firewall, use FQDN tags for AzureVirtualDesktop and WindowsUpdate; exclude these from TLS inspection. On the new outbound proxy, configure explicit allowances for AVD WebSocket over TLS and disable authentication for AVD agent traffic. Set WinHTTP proxy consistently on session hosts.
    • Why: Avoids breaking reverse connect and Shortpath public networks due to TLS interception or proxy auth, while maintaining centralized governance.
  6. Provide private access to critical PaaS

    • Create Private Endpoints for the FSLogix storage accounts and link the necessary privatelink private DNS zones to all AVD VNets; validate SMB over private IPs succeeds. Evaluate AVD Private Link to restrict control plane and gateway access to private IPs where corporate policy requires it.
    • Why: Removes dependency on public egress for user profiles and optionally the AVD service, improving security posture and predictability.
  7. Establish hybrid connectivity to on-prem applications

    • Deploy ExpressRoute with FastPath to the primary data center for low-latency SAP and license server access; retain VPN Gateway for branch backup. Advertise required on-prem prefixes with BGP, and verify next hop and effective routes on session host NICs.
    • Why: ExpressRoute provides predictable performance at scale, with VPN failover for resiliency.
  8. Monitor and validate

    • Enable AVD Insights and Network Watcher Connection Monitor for synthetic tests to SAP and storage. Turn on NSG Flow Logs to confirm UDP 3390 and UDP 443 usage. Use Connection troubleshoot during peak hours to isolate proxy or firewall bottlenecks.
    • Why: Data-driven visibility confirms that Shortpath paths are active, egress capacity is adequate, and perimeter policies are not introducing unexpected loss or latency.

Identity · All domains · Session Host Images and Provisioning

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product