# Azure Virtual Desktop AZ-140 practice exams

> 5 timed AZ-140 practice tests with 241 questions and a 70% pass mark. See your score in Plan and Plan and every other domain.

Page: https://devopscodelab.com/exams/microsoft-az-140/

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

| Setting | Value |
| --- | --- |
| 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 format before you book.

## Domains and weights

| Domain | Weight | 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 |

## Price and access

- AZ-140 practice exams: $14.99 for 12 months of access.
- Free mini exam: 15 questions with explanations (free account): https://devopscodelab.com/app/exams/microsoft-az-140/mini/
- All-Access subscription includes every exam: https://devopscodelab.com/pricing/
- 10 free questions with answers: https://devopscodelab.com/exams/microsoft-az-140/free-practice-questions/

## 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?

- A. A connection sub-resource endpoint on each host pool only, because feed discovery is always served from Microsoft-managed public endpoints
- 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
- C. A global sub-resource endpoint on every workspace and a service endpoint for Microsoft.DesktopVirtualization on the session host subnet
- D. A feed sub-resource endpoint on each workspace plus a private endpoint for the storage account that holds FSLogix profiles

**Answer:** B

**Explanation:** 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?

- A. A policy-based QoS rule on the session hosts that marks outbound RDP TCP traffic with a DSCP value of 46
- B. An Azure Private Link private endpoint for the host pool connection sub-resource in the hub virtual network
- C. RDP Shortpath for managed networks, with the session hosts allowing inbound UDP from the client subnets
- D. RDP Shortpath for public networks that uses STUN to traverse NAT devices at each branch office

**Answer:** C

**Explanation:** 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?

- A. Remove the ExpressRoute connection and give every session host a public IP so that all internet traffic leaves Azure locally
- B. Use UDRs with the WindowsVirtualDesktop service tag to send service traffic directly to the internet
- C. Enable RDP Shortpath for public networks so that RDP bypasses the on-premises firewall without any routing changes
- D. Move the session hosts to the same region as the on-premises datacentre so that the forced tunnel has less latency

**Answer:** B

**Explanation:** 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.


## 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.

DevOpsCode Lab is not affiliated with Microsoft. AZ-140 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
