AZ-140

Azure Virtual Desktop AZ-140 practice exams

241 questions in 5 timed practice tests. Each test has about 50 questions and a 100-minute limit. The pass mark is 70%. Results are split across the 4 exam domains.

Exam at a glance

AZ-140 practice exam settings
Practice tests 5
Questions in total 241
Questions per test About 50
Time limit per test 100 minutes
Pass mark 70%
Question types Single answer and multiple answer (21 multiple-answer questions)
Level Specialty
Category IT Infrastructure

These are the settings of our practice tests. Check the official Microsoft exam page for the current exam format before you book.

Domains and weights

AZ-140 exam domains, weights and question counts
Domain Weight Weight bar Questions in our bank
Plan and implement an Azure Virtual Desktop infrastructure 45% 109
Plan and implement identity and security 18% 43
Plan and implement user environments and apps 24% 58
Monitor and maintain an Azure Virtual Desktop infrastructure 13% 31

Sample questions

Question 1 of 3

A bank requires that no Azure Virtual Desktop traffic, including feed discovery and session connections, traverse the public internet from its on-premises network, which is connected to Azure through ExpressRoute. Session hosts must also register with the service privately. Which combination of private endpoints should you deploy?

  1. A A connection sub-resource endpoint on each host pool only, because feed discovery is always served from Microsoft-managed public endpoints
  2. B A global sub-resource endpoint on one workspace, a feed sub-resource endpoint on each workspace, and a connection sub-resource endpoint on each host pool (correct answer)
  3. C A global sub-resource endpoint on every workspace and a service endpoint for Microsoft.DesktopVirtualization on the session host subnet
  4. D A feed sub-resource endpoint on each workspace plus a private endpoint for the storage account that holds FSLogix profiles
Why: Private Link for Azure Virtual Desktop uses three sub-resources: a single global endpoint (typically on a placeholder workspace) for initial feed discovery, a feed endpoint per workspace, and a connection endpoint per host pool that also carries session host registration traffic. Deploying only connection endpoints leaves discovery on public paths. A storage private endpoint protects profile traffic but not the service traffic. Only one global endpoint is needed, and virtual network service endpoints do not exist for Azure Virtual Desktop.

Question 2 of 3

Contoso has an ExpressRoute private peering connection between its branch offices and the Azure virtual network that hosts its Azure Virtual Desktop session hosts. Users report choppy screen updates because all RDP traffic is carried over TCP through the gateway service. You must enable a direct UDP-based transport between the clients and the session hosts over the private connection. What should you configure?

  1. A A policy-based QoS rule on the session hosts that marks outbound RDP TCP traffic with a DSCP value of 46
  2. B An Azure Private Link private endpoint for the host pool connection sub-resource in the hub virtual network
  3. C RDP Shortpath for managed networks, with the session hosts allowing inbound UDP from the client subnets (correct answer)
  4. D RDP Shortpath for public networks that uses STUN to traverse NAT devices at each branch office
Why: RDP Shortpath for managed networks establishes a direct UDP flow between client and session host when there is line of sight over a private connection such as ExpressRoute or VPN, which requires the session hosts to accept the inbound UDP listener traffic. Shortpath for public networks targets internet paths through NAT using STUN/TURN and is not the design for a private ExpressRoute path. A Private Link endpoint keeps traffic private but the reverse-connect transport stays TCP. QoS marking only prioritises existing traffic and does not change TCP to UDP.

Question 3 of 3

A company enforces forced tunnelling so that all session host internet traffic is sent to an on-premises firewall over ExpressRoute. Users complain about slow sign-ins and poor responsiveness. Which change follows Microsoft guidance while keeping web browsing inspected on premises?

  1. A Remove the ExpressRoute connection and give every session host a public IP so that all internet traffic leaves Azure locally
  2. B Use UDRs with the WindowsVirtualDesktop service tag to send service traffic directly to the internet (correct answer)
  3. C Enable RDP Shortpath for public networks so that RDP bypasses the on-premises firewall without any routing changes
  4. D Move the session hosts to the same region as the on-premises datacentre so that the forced tunnel has less latency
Why: Microsoft recommends sending Azure Virtual Desktop service traffic directly from Azure rather than hairpinning it through on-premises, and UDRs can use the WindowsVirtualDesktop service tag as a destination with the next hop set to Internet while other traffic stays forced-tunnelled. Removing ExpressRoute and adding public IPs breaks the inspection requirement and weakens security. Shortpath still depends on the routing path. Region choice cannot remove the hairpin.

What your score report looks like

Example attempt, AZ-140 practice test 3

80%

Passed
Pass mark 70%

Score by exam domain
DomainWeightYour score%
Plan and implement an Azure Virtual Desktop infrastructure 45%
88
Plan and implement identity and security 18%
81
Plan and implement user environments and apps 24%
76
Monitor and maintain an Azure Virtual Desktop infrastructure 13%
58

Study next: Monitor and maintain an Azure Virtual Desktop infrastructure. It is below the pass mark and carries 13% of the exam.

Domains and pass mark from our AZ-140 practice tests. Scores are an example attempt.

Study plans

Two weeks

  1. Day 1: take practice test 1 in exam mode to get a baseline.
  2. Days 2 to 5: domain mode on Plan and implement an Azure Virtual Desktop infrastructure and Plan and implement user environments and apps, the two most heavily weighted domains.
  3. Day 6: practice test 2 in exam mode, then the mistakes quiz.
  4. Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
  5. Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.

Four weeks

  1. Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
  2. Week 2: domain mode on those two domains, then a second practice test in exam mode.
  3. Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
  4. Week 4: practice test 5 and final mode until your readiness holds above the pass mark.

Questions about the AZ-140 practice exams

Are these real AZ-140 exam questions?
No. We write every question ourselves and map it to the published AZ-140 exam objectives. We do not use leaked or recalled questions.
Do the time limit and pass mark match the official exam?
They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
Can I try it before I pay?
Yes. The free mini exam has 15 questions with full explanations and needs no account.
How long do I keep access?
A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
What happens after I finish a test?
You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.

Last updated November 2026. Written and reviewed by the DevOpsCode Lab team.

DevOpsCode Lab is not affiliated with Microsoft. AZ-140 and related names are trademarks of their owners.

Related exams
Exam Vendor Level Questions Minutes Price
AZ-400Microsoft DevOps AZ-400 Microsoft Expert 250 100 $14.99
MO-111Word Expert MO-111 Microsoft Expert 300 60 $14.99
MO-211Excel Expert MO-211 Microsoft Expert 300 60 $14.99
MS-102Microsoft 365 MS-102 Microsoft Expert 250 100 $14.99
AB-731AI Transformation Leader AB-731 Microsoft Foundational 250 100 $9.99
AB-900Copilot & Agent Admin AB-900 Microsoft Foundational 225 45 $9.99