Microsoft AZ-140 Practice Exams
Last updated on Nov 16,2026- Exam Code: AZ-140
- Exam Name: Configuring and Operating Microsoft Azure Virtual Desktop
- Certification Provider: Microsoft
- Latest update: Nov 16,2026
HOTSPOT
You have an Azure Virtual Desktop deployment and two Azure Active Directory groups named Group1 and Group2.
You create two Conditional Access policies named Policy1 and Policy2. Policy1 is assigned to Group1. Policy2 is assigned to Group2. Both policies include Azure Virtual Desktop as a cloud app.
You need to meet the following requirements:
• The users in Group1 must be prompted for multi-factor authentication (MFA) when they connect to Azure Virtual Desktop.
• The users in Group2 must reauthenticate every eight hours while they are connected to Azure Virtual Desktop.
Which settings should you configure in Policy1 and Policy2? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


You have an Azure Virtual Desktop host pool named HostPool1.
HostPool1 contains Windows 10 session hosts and the application groups shown in the following table.

You need to assign an instance of a Windows 11 Desktop application group to users.
What should you do first?
- A . Create a scaling plan.
- B . Create a new workspace.
- C . Add a session host to HostPool1.
- D . Create a new host pool
D
Explanation:
The current hostpool has Windows 10 hosts, If you add an Windows 11 host in the current hostpool you cant force a desktop to use Windows 11. If you want to use Windows 11, ether delete the current session hosts and add Windows 11 Hosts. or create a new Hostpool.
You have an Azure Virtual Desktop host pool named Pool1 that contains the following:
✑ A linked workspace named Workspace1
✑ An application group named Default Desktop
✑ A session host named Host1
You need to add a new data disk.
What should you modify?
- A . Host1
- B . Workspace 1
- C . Pool1
- D . Default Desktop
HOTSPOT –
You have an Azure Virtual Desktop host pool named HostPool1 that contains 20 session hosts.
You create a new scaling plan that has the Ramp-up settings shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.


You have an Azure Virtual Desktop deployment.
You use the Start/Stop VMs during off-hours feature in Azure.
You need to configure which virtual machines must never be stopped by the solution.
What should you configure?
- A . the Diagnostic settings of the host pool
- B . the Start-Stop-VM task
- C . an Azure Automation account variable
- D . an action group
C
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management
https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management-enable
You have an Azure subscription named Sub1 that contains an Azure Virtual Desktop deployment and the resources shown in the following table.

You need to enable Azure Virtual Desktop peruser access pricing for User1.
At which level should you enable peruser access pricing?
- A . Sub1
- B . Pool1
- C . AppGrp1
- D . Host1
- E . User1
Your network contains an on-premises Active Directory domain named contoso.com.
You have an Azure subscription that contains the resources shown in the following table.

You need to create a share that will host FSLogix profiles for AVDPool1.
The solution must meet the following requirements:
* Maximize read and write performance for the profiles.
* Control access to the SMB share by using the users and groups stored in contoso.com.
Which account should you use to host the share?
- A . Account1
- B . Account2
- C . Account3
A
Explanation:
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-netapp-comparison
You have an Azure Virtual Desktop deployment that contains an Azure compute gallery. The Azure compute gallery contains an image definition named
Definitions Definitionl contains the following image versions:
* 1.0.0
* 1.1.0
* 1.2.0
You need to ensure that when a virtual machine is created from the Azure compute gallery, the 1.1.0
image version is used by default.
What should you do?
- A . Select Exclude from latest for image version 1.0.0.
- B . Select Exclude from latest for image version 1.2.0. Most Voted
- C . Apply a lock to image version 1.1.0.
- D . Apply a tag named default to image version 1.1.0.
B
Explanation:
Exclude from latest. You can keep a version from being used as the latest image version. https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries?tabs=azure-cli
You have an Azure Virtual Desktop personal host pool named Pool1 that contains 20 Azure AD-joined session hosts.
You need to ensure that only approved virtual machine extensions are installed on the Pool 1 session hosts. The solution must minimize administrative effort.
What should you use?
- A . Azure Resource Manager (ARM) templates
- B . Azure Policy
- C . Windows Admin Center
- D . Group Policy
Which setting should you modify for VNET4 before you can deploy Pool4?
- A . Service endpoints
- B . Address space
- C . DNS servers
- D . Access control (1AM)
- E . Peerings
C
Explanation:
DNS should be configured to use an Active Directory Domain Controller.