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
You have an Azure Virtual Desktop deployment that uses Cloud Cache to store user profiles. You plan to deploy Microsoft Defender Antivirus exclusions to the session hosts by using the following PowerShell script.

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


You have an Azure Virtual Desktop host pool named Pool1. Pool1 contains session hosts that have a third-party application named App1. App1 is published by using a RemoteApp group.
A new MSI-based version of App1 is installed each month to each host. The name of the executable file is different for each version of App1.
You need to automate the process of making a new version of App1 available via RemoteApp. The process must ensure that the user experience remains the same when launching the application from the Windows Desktop client.
Which two cmdlets should you run? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Remove-AzWvdApplication
- B . New-AzWvdApplication
- C . New-AzWvdApplicacionGroup
- D . New-AzWvdMsixPackage
- E . New-AzRoleAssignmenc
- F . Remove-AzWvdMsixPackage
AB
Explanation:
To automate the process of updating a third-party application published using RemoteApp in an Azure Virtual Desktop host pool, where the executable name changes with each update, you would need to remove the old application and then add the new version.
Here are the steps and corresponding cmdlets you should use:
HOTSPOT
You have a Windows Virtual Desktop deployment.
You plan to create the host pools shown in the following table.

You need to recommend the virtual machine size for each host pool. The solution must minimize costs.
Which size should you recommend for each pool? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/sizes
https://docs.microsoft.com/en-us/azure/virtual-machines/nvv3-series
https://docs.microsoft.com/en-us/azure/virtual-machines/dv4-dsv4-series
HOTSPOT
You have an on-premises network.
All users have computers that run Windows 10 Pro.
You plan to deploy Azure Virtual Desktop to meet the department requirements shown in the following table.

You need to recommend licenses for the departments. The solution must minimize costs.
Which license should you recommend for each department? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/windows-10-multisession-faq
https://azure.microsoft.com/en-us/pricing/details/virtual-desktop/#pricing
You have an Azure Active Directory (Azure AD) tenant named contoso.com.
You use a user account named Admin1 to deploy an Azure Active Directory Domain Services (Azure AD DS) managed domain named aaddscontoso.com to a virtual network named VNET1.
You plan to deploy an Azure Virtual Desktop host pool named Pool1 to VNET1.
You need to ensure that you can use the Admin1 user account to deploy Windows 10 Enterprise session hosts to Pool1.
What should you do first?
- A . Add Admin1 to the AA Change Host pool type to Pooled and specify Load D DC Administrators group ofcontoso.com.
- B . Assign the Cloud device administrator role to Admin1.
- C . Assign a Microsoft 365 Enterprise E3 license to Admin1.
- D . Change the password of Admin1.
A
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketplace?tabs=azure-portal
You have a Windows Virtual Desktop host pool named Pool1 and an Azure Storage account named
Storage1.
Storage1 stores FSLogix profile containers in a share folder named share1.
You create a new group named Group1. You provide Group1 with permission to sign in to Pool1.
You need to ensure that the members of Group1 can store the FSLogix profile containers in share1.
The solution must use the principle of least privilege.
Which two privileges should you assign to Group1? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . the Storage Blob Data Contributor role for storage1
- B . the List folder / read data NTFS permissions for share1
- C . the Modify NTFS permissions for share1
- D . the Storage File Data SMB Share Reader role for storage1
- E . the Storage File Data SMB Share Elevated Contributor role for storage1
- F . the Storage File Data SMB Share Contributor role for storage1
CF
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-file-share
HOTSPOT
Which users can create Pool4, and which users can join session hosts to the domain? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


HOTSPOT
You have an Azure Virtual Desktop deployment that contains the resources shown in the following table.

You need to perform the following configurations:
• Enable a managed identity for App1.
• Enable Clipboard redirection for App1.
On which resources should you perform the configurations? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


You create the virtual machines shown in the following table.

You need a source virtual hard disk for new Azure Virtual Desktop session host deployments. The source operating system must have user-specific and machine- specific information removed.
Which virtual machines can you use as the source?
- A . SourceVM3 only
- B . SourceVM1 only
- C . SourceVM1, SourceVM2, and SourceVM3
- D . SourceVM1 and SourceVM2 only
- E . SourceVM2 only
HOTSPOT
You have a hybrid Azure Active Directory (Azure AD) tenant named contoso.com that contains the users shown in the following table.

You have an Azure Virtual Desktop host pool. All the session hosts have a folder named C:Folder1.
You create an FSLogix Application Masking rule as shown in the following exhibit.

You create assignments for the Application Masking rule as shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Explanation:
Reference:
https://docs.microsoft.com/en-us/fslogix/application-masking-rules-ht
https://docs.microsoft.com/en-us/fslogix/application-masking-users-groups-ht