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 subscription.
You create an Azure Resource Manager (ARM) template named AVDjson that defines an Azure Virtual Desktop deployment. You need to use PowerShell to provision the deployment by using AVDjson.
Which PowerShell cmdlet should you use?
- A . New-AzWvdRegistrationlnfo
- B . New-AzWvdHostPool
- C . New-AzResource
- D . New-AzResourceGroupOeployment
You have a Windows Virtual Desktop host pool.
You need to install Microsoft Antimalware for Azure on the session hosts.
What should you do?
- A . Add an extension to each session host.
- B . From a Group Policy Object (GPO), enable Windows 10 security features.
- C . Configure the RDP Properties of the host pool.
- D . Sign in to each session host and install a Windows feature.
A
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/security/fundamentals/antimalware
You have a Azure Virtual Desktop host pool that contains live session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required Microsoft services. Solution: You configure the RDP Properties of the host pool.
Does This meet the goal?
- A . Yes
- B . No
HOTSPOT
You are planning the deployment of Pool4.
What will be the maximum number of users that can connect to Pool4, and how many session hosts are needed to support five concurrent user sessions? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


You have an Azure Virtual Desktop deployment.
You have a RemoteApp named App1.
You discover that from the Save As dialog box of App1, users can run executable applications other than App1 on the session hosts.
You need to ensure that the users can run only published applications on the session hosts.
What should you do?
- A . Configure a conditional access policy in Azure Active Directory (Azure AD).
- B . Modify the Access control (1AM) settings of the host pool.
- C . Modify the RDP Properties of the host pool.
- D . Configure an AppLocker policy on the session hosts.
D
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/security-guide
Topic 2, Litware, Inc
Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Overview
Litware, Inc. is a pharmaceutical company that has a main office in Boston, United States, and a remote office in Chennai, India.
Existing Environment. Identity Environment
The network contains an on-premises Active Directory domain named litware.com that syncs to an Azure Active Directory (Azure AD) tenant named litware.com.
The Azure AD tenant contains the users shown in the following table.

All users are registered for Azure Multi-Factor Authentication (MFA).
Existing Environment. Cloud Services
Litware has a Microsoft 365 E5 subscription associated to the Azure AD tenant. All users are assigned Microsoft 365 Enterprise E5 licenses.
Litware has an Azure subscription associated to the Azure AD tenant.
The subscription contains the resources shown in the following table.

Litware uses custom virtual machine images and custom scripts to automatically provision Azure virtual machines and join the virtual machines to the on-premises Active Directory domain.
Network and DNS
The offices connect to each other by using a WAN link. Each office connects directly to the internet.
All DNS queries for internet hosts are resolved by using DNS servers in the Boston office, which point to root servers on the internet. The Chennai office has caching-only DNS servers that forward queries to the DNS servers in the Boston office.
Requirements. Planned Changes
Litware plans to implement the following changes:
– Deploy Windows Virtual Desktop environments to the East US Azure region for the users in the Boston office and to the South India Azure region for the users in the Chennai office.
– Implement FSLogix profile containers.
– Optimize the custom virtual machine images for the Windows Virtual Desktop session hosts.
– Use PowerShell to automate the addition of virtual machines to the Windows Virtual Desktop host pools.
Requirements. Performance Requirements
Litware identifies the following performance requirements:
– Minimize network latency of the Windows Virtual Desktop connections from the Boston and Chennai offices.
– Minimize latency of the Windows Virtual Desktop host authentication in each Azure region.
– Minimize how long it takes to sign in to the Windows Virtual Desktop session hosts.
Requirements. Authentication Requirements
Litware identifies the following authentication requirements:
– Enforce Azure MFA when accessing Windows Virtual Desktop apps.
– Force users to reauthenticate if their Windows Virtual Desktop session lasts more than eight hours.
Requirements. Security Requirements
Litware identifies the following security requirements:
– Explicitly allow traffic between the Windows Virtual Desktop session hosts and Microsoft 365.
– Explicitly allow traffic between the Windows Virtual Desktop session hosts and the Windows Virtual Desktop infrastructure.
– Use built-in groups for delegation.
– Delegate the management of app groups to CloudAdmin1, including the ability to publish app groups to users and user groups.
– Grant Admin1 permissions to manage workspaces, including listing which apps are assigned to the app groups.
– Minimize administrative effort to manage network security.
– Use the principle of least privilege.
Requirements. Deployment Requirements
Litware identifies the following deployment requirements:
– Use PowerShell to generate the token used to add the virtual machines as session hosts to a Windows Virtual Desktop host pool.
– Minimize how long it takes to provision the Windows Virtual Desktop session hosts based on the custom virtual machine images.
– Whenever possible, preinstall agents and apps in the custom virtual machine images.
You need to recommend an authentication solution that meets the performance requirements.
Which two actions should you include in the recommendation? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Join all the session hosts to Azure AD.
- B . In each Azure region that will contain the Windows Virtual Desktop session hosts, create an Azure Active Directory Domain Service (Azure AD DS) managed domain.
- C . Deploy domain controllers for the on-premises Active Directory domain on Azure virtual machines.
- D . Deploy read-only domain controllers (RODCs) on Azure virtual machines.
- E . In each Azure region that will contain the Windows Virtual Desktop session hosts, create an Active Directory site.
BC
Explanation:
Based on the information provided in the case study and the requirements for the authentication solution that meets the performance requirements for Litware, Inc., the two actions that should be included in the recommendation are:
B. In each Azure region that will contain the Windows Virtual Desktop session hosts, create an Azure Active Directory Domain Service (Azure AD DS) managed domain.
C. Deploy domain controllers for the on-premises Active Directory domain on Azure virtual machines.
Here’s the rationale for each option:
DRAG DROP
Your on-premises network contains an Active Directory domain that syncs with an Azure AD tenant.
You have an Azure Virtual Desktop host pool that contains Windows 11 session hosts joined to the domain.
You need to configure Azure NetApp Files to store user profile containers.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.


HOTSPOT –
You create an Azure Virtual Desktop host pool as shown in the following exhibit.

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


You need to ensure the resiliency of the user profiles for the Boston office users. The solution must
meet the user performance requirements.
What should you do?
- A . Modify the Account kind setting of storage1.
- B . Modify the replication settings of storage1.
- C . Implement Azure Site Recovery.
- D . Configure Cloud Cache.
D
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/architecture/example-scenario/wvd/windows-virtual-desktop-fslogix
HOTSPOT
You have an Azure Virtual Desktop deployment that contains the session hosts shown in the following table.

You have the users shows in the following table.

Users connect to Azure from the locations shown in the following table.

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

