Microsoft AZ-140 Practice Exam Questions & Answers
Microsoft AZ-140 Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- AZ-140
- Full Name
- Configuring and Operating Microsoft Azure Virtual Desktop
- Issuing Body
- Microsoft
- Question Format (Our Bank)
- Multiple Choice, Hotspot, Drag & Drop, Order List, Case Studies
- Delivery
- Pearson VUE testing center or online proctored
- Validity
- 1 year
- Full Question Set
- 328 questions Get All Questions
Free AZ-140 Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 1 Plan and implement an Azure Virtual Desktop infrastructure
An Azure subscription is available to you.
You have written an Azure Resource Manager (ARM) template called AVDjson that defines an Azure Virtual Desktop deployment. You want to deploy this configuration by running PowerShell with AVDjson. Which PowerShell cmdlet should you run?
To deploy an Azure Virtual Desktop environment from an ARM template in PowerShell, the cmdlet you need is New-AzResourceGroupDeployment. It runs an Azure Resource Manager template against a resource group. Sample syntax: New-AzResourceGroupDeployment -ResourceGroupName <name> -TemplateFile AVDjson. The cmdlets New-AzDeployment and New-AzManagementGroupDeployment handle subscription-scoped and management group-scoped deployments respectively, but a resource group scoped deployment is the option most often used for AVD.
Question 2 Domain 2 Plan and implement user environments and apps
An Azure Virtual Desktop environment includes two host pools, Pool! and Pool2.
Pool1 has 10 session hosts and can accommodate 100 concurrent users. Pool2 has two session hosts and can accommodate 20 concurrent users.
You must propose an Azure Virtual Desktop update approach that satisfies these criteria:
* Every service update needs to be validated prior to general availability.
* Validation should cause the least possible disruption to the organization.
* Creating additional host pools is not permitted.
Which item should you include in your proposal?
The answer cannot be fully verified without the complete question context and the full list of solution options. Even so, the recommendation must cover testing service updates before general availability, keep organizational impact low, and avoid creating new host pools. A reasonable method would be a phased rollout using the current host pools: treat Pool2, which has the smaller capacity of 20 users, as the pilot or test environment for updates before they are applied to the production Pool1. This permits testing with limited business impact, since only 20 users are affected during the testing stage.
Question 3 Domain 4 Plan and implement identity and security
Your environment includes a Windows Virtual Desktop host pool named Pool1 and an Azure Storage account named Storage1.
Storage1 holds FSLogix profile containers within a file share named share1.
A new group named Group1 has been created, and Group1 is permitted to sign in to Pool1.
Members of Group1 must be able to save FSLogix profile containers to share1, and the solution must adhere to the principle of least privilege.
Which two privileges should be assigned to Group1? Each correct answer forms part of the solution.
NOTE: Each correct selection is worth one point.
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-file-share
Get the complete AZ-140 question set
$20$40
Question 4 Domain 1 Plan and implement an Azure Virtual Desktop infrastructure
Your environment includes a Windows Virtual Desktop host pool called Pool1, which runs multi-session hosts based on Windows 10 Enterprise.
You must use Performance Monitor to investigate a poor frame quality problem that affects an active user session connected to Pool1.
Which command should you execute to obtain the session ID of that user session?
Question 5 Domain 3 Monitor and maintain an Azure Virtual Desktop infrastructure
Your environment includes a Windows Virtual Desktop host pool called Pool1, along with an Azure Automation account called account1. Pool1 is linked to an Azure Active Directory Domain Services (Azure AD DS) managed domain called contoso.com.
You intend to implement scaling for Pool1 using runbooks in Azure Automation.
You must grant the runbooks permission to control scaling for Pool1. The approach must keep administrative overhead to a minimum.
Which setting should you configure?
https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script
Question 6 Domain 1 Plan and implement an Azure Virtual Desktop infrastructure
An Azure Virtual Desktop environment is set up with the resources detailed in the table below.

Start VM on connect is planned to be turned on for Pool1.
A custom Azure role called Role1 is created with adequate permissions to power on virtual machines as needed.
Session hosts in Pool1 must be able to start on demand.
Which service principal should be assigned Role1?
To turn on Start VM on connect functionality in Azure Virtual Desktop, the custom role (Role1) must be granted to the Azure Virtual Desktop service principal. This service requires permission to power on virtual machines on demand when users sign in. That service principal is the identity Azure Virtual Desktop uses when working with Azure resources, so it needs the appropriate IAM role to carry out VM startup operations.
Question 7 Domain 2 Plan and implement user environments and apps
Your Azure Virtual Desktop environment includes a session host named Host1.
Windows Defender Firewall on Host1 must be set up to permit inbound traffic for RDP Shortpath.
Which executable file located in the C:\Windows\System32 directory should be selected in the inbound firewall rule?
Question 8 Domain 3 Monitor and maintain an Azure Virtual Desktop infrastructure
Your Azure subscription has an Azure Virtual Desktop host pool called Pool1, and Pool1 includes one session host, Host1.
You must make sure that a user is automatically signed out of an Azure Virtual Desktop session once the session has been idle for 30 minutes. The change must NOT alter any other session timeout settings.
What should you do?
Without the complete options provided, the likely correct action is to:
- Configure a Group Policy setting on the session hosts for 'Set time limit for disconnected sessions' or 'Set time limit for idle sessions' set to 30 minutes
- Apply this specifically through Remote Desktop Group Policy (gpedit.msc) targeting idle session timeout
Practice every AZ-140 question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the Microsoft AZ-140 Exam Covers
Exam domains verified against the Official Microsoft AZ-140 exam guide, last checked November 2026.
Domain 1 Plan and implement an Azure Virtual Desktop infrastructure
40% - 45%Set up networking, storage, and host pools for Azure Virtual Desktop deployments. Create and manage session host images to support your desktop and application delivery requirements.
Domain 2 Plan and implement user environments and apps
20% - 25%Configure FSLogix solutions for user profiles and implement client settings. Install and manage applications directly on session hosts to deliver the user experience your organization needs.
Domain 3 Monitor and maintain an Azure Virtual Desktop infrastructure
10% - 15%Track service health and performance metrics for your Azure Virtual Desktop deployment. Plan backup, disaster recovery, and update strategies to keep your infrastructure running reliably.
Domain 4 Plan and implement identity and security
15% - 20%Choose the right identity scenario for your environment using Active Directory or Microsoft Entra services. Implement role-based access control and conditional access policies to protect your Azure Virtual Desktop resources.
Above Practice Question from this Domain: Q3
AZ-140 Exam FAQ
Common questions about the exam itself
What experience do I need before taking AZ-140?
What is the hardest objective area in AZ-140 and how should I prepare?
How long does it typically take to prepare for AZ-140?
What exactly happens on exam day for AZ-140?
How long is the AZ-140 certification valid and what do I need to do to renew it?
Can I retake AZ-140 if I do not pass?
What job role does AZ-140 prepare me for?
How does AZ-140 relate to other Microsoft Azure certifications?
What is the difference between the planning and identity domains in AZ-140?
Other Microsoft Exams
Free practice questions for more Microsoft certification exams
