Free Microsoft AZ-140 Practice Test & Real Exam Questions

  • Exam Code/Number: AZ-140
  • Exam Name/Title: Configuring and Operating Microsoft Azure Virtual Desktop
  • Certification Provider: Microsoft
  • Corresponding Certification: Microsoft Certified
  • Exam Questions: 380
  • Updated On: Aug 19, 2026
You have an Azure Virtual Desktop deployment.
You plan to use FSLogix profile containers.
You need to recommend a solution that will be used to store the containers. The solution must meet the following requirements:
- The containers must be stored on solid-state drives (SSDs)
- Minimize administrative effort
- Minimize cost
What should you recommend?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have an Azure Virtual Desktop session host named Host1.
You need to check the status of Microsoft Defender Antivirus on Host1.
Which PowerShell cmdlet should you run?
Correct Answer: B Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Hotspot Question
You have an on-premises Hyper-V host named Server1.
You have an Azure subscription.
You plan to deploy Azure Virtual Desktop by using a custom image.
On Server1, you create a virtual machine named CustomImage that has the following configurations:
- Generation: 2
- Virtual disk name: ImageC.vhdx
- Virtual disk type: Dynamically expanding
You build the custom image and generalize the operating system.
You need to prepare the virtual disk to ensure that you can deploy new hosts by using the custom image.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
Box 1: Fixed-size VHD
Prepare a Windows VHD or VHDX to upload to Azure
Before you upload a Windows virtual machine (VM) from on-premises to Azure, you must prepare the virtual hard disk (VHD or VHDX). Azure supports both generation 1 and generation 2 VMs that are in VHD file format and that have a fixed-size disk.
Box 2: Azure Blob Storage
Upload master image to a storage account in Azure
Upload the VHD to a blob container in your storage account.
Reference:
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image
You have an Azure Virtual Desktop deployment.
You plan to implement the Start/Stop VMs during off-hours feature.
You need to ensure that you can stop the session hosts automatically based on the CPU utilization.
What should you do on the session hosts?
Correct Answer: B Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have a Microsoft 365 subscription that contains 200 users. Each user is assigned a Microsoft
365 Apps for business license.
You plan to deploy an Azure Virtual Desktop personal host pool to support 50 users. The planned deployment will have the following configurations:
- A dedicated virtual machine will be assigned to each user.
- Each virtual machine will run Windows 11 and have Microsoft 365 apps
installed.
You need to recommend a licensing solution for the deployment. The solution must minimize costs.
Which type of license should you include in the recommendation?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Hotspot Question
You have an Azure Virtual Desktop Deployment that contains a workspace named Workspace1 and a user named User1. Workspace1 contains a Desktop application group named Pool1Desktop.
At 09:00, you create a conditional access policy that has the following settings:
Assignments:
- Users and groups: User1
- Cloud apps or actions: Azure Virtual Desktop
- Conditions: 0 conditions selected
Access controls
- Grant: Grant access, Require multi-factor authentication
- Sessions: Sign-in frequency 1 hour
User1 performs the actions 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.
Correct Answer:

Explanation:
Box1: Yes
Subscription to workspace need authentication, hence MFA required.
Box2: No
No action performed at 10:20.
Box3: Yes
Connect to Pool1 need authentication at 13:50.
Hotspot Question
You have two Azure subscriptions that are linked to an Azure Active Directory (Azure AD) tenant named contoso.com and contain an Azure Virtual Desktop deployment. The tenant contains a user named User1.
When User1 signs in to Azure Security Center, the user receives the message shown in the following exhibit.

You need to ensure that User1 can manage security information for the tenant. The solution must use the principle of least privilege.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
Box 1: Security administrator for contoso.com
Incorrect:
* Not at the subscription level, as there are two subscriptions.
* Not Root management group level
Each directory is given a single top-level management group called the root management group.
The root management group is built into the hierarchy to have all management groups and subscriptions fold up to it. This root management group allows for global policies and Azure role assignments to be applied at the directory level.
Box 2: Privileged Role Administrator
You need to ensure that User1 can manage security information for the tenant.
Privileged Role Administrator - Can manage role assignments in Azure AD, and all aspects of Privileged Identity Management.
Incorrect:
* External Identity Provider Administrator
This administrator manages federation between Azure AD organizations and external identity providers. With this role, users can add new identity providers and configure all available settings (e.g. authentication path, service ID, assigned key containers). This user can enable the Azure AD organization to trust authentications from external identity providers.
Reference:
https://docs.microsoft.com/en-us/azure/governance/management-groups/overview
https://docs.microsoft.com/en-us/azure/active-directory/roles/permissions-reference
You have an Azure Virtual Desktop deployment.
You plan to deploy Update Management to manage automated updates for server-based session hosts.
You need to configure the prerequisites for Update Management.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Correct Answer: A,E Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Drag and Drop Question
You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains the session hosts shown in the following table.

You have two internal users named User1 and User2.
You plan to enable the following connectivity for the Azure Virtual Desktop deployment:
- User1 will connect to Host1.
- User2 will connect to Host2.
Which license should you recommend for each user? To answer, drag the appropriate licenses to the correct users. Each license may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
https://learn.microsoft.com/en-us/azure/virtual-desktop/licensing#eligible-licenses-to-use-azure-virtual-desktop
You have an Azure subscription that contains an Azure Virtual Desktop host pool named Pool1.
All the session hosts in Pool1 are Microsoft Entra joined.
Users connect to Pool1 by using macOS devices.
You need to ensure that remote users can authenticate to RemoteApp sessions by using their Microsoft Entra credentials.
Which RDP property should you configure?
Correct Answer: A Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).