DON'T WANT TO MISS A THING?

Certification Exam Passing Tips

Latest exam news and discount info

Curated and up-to-date by our experts

Yes, send me the newsletter

Free Microsoft AZ-140 Practice Questions & Answers 2026 Part1

Are you preparing for the Microsoft AZ-140 certification exam? SPOTO offers the Microsoft AZ-140 Premium File; all questions are aligned with the latest exam content and come with expert-provided answers. Our question banks cover the latest question types, core concepts, and detailed explanations, helping you familiarize yourself with the exam format and difficulty level. Whether you are reviewing core concepts or simulating a real exam environment, these resources will rapidly boost your confidence and readiness.
For over two decades, SPOTO has successfully helped numerous IT professionals secure their ideal positions at Fortune 500 companies. Download now to start practicing efficiently and ensure a high score on the actual exam. Don't miss this opportunity to pass your certification exam with ease!
Take other online exams

Question #1
You have an Azure Virtual Desktop deployment.You need to monitor the deployment by using the Azure Virtual Desktop Insights solution in Azure Monitor.What should you use as the Diagnostic settings destination for the host pool?
A. vent hub
B. og Analytics workspace
C. torage account
View answer
Correct Answer: B

View The Updated AZ-140 Exam Questions

SPOTO Provides 100% Real AZ-140 Exam Questions for You to Pass Your AZ-140 Exam!

Question #2
You have a Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session.You need to configure automatic scaling of the host pool to meet the following requirements:- Distribute new user sessions across all running session hosts.- Automatically start a new session host when concurrent user sessionsexceed 30 users per host.What should you include in the solution?
A. n Azure Automation account and the depth-first load balancing algorithm
B. n Azure load balancer and the depth-first load balancing algorithm
C. n Azure load balancer and the breadth-first load balancing algorithm
D. n Azure Automation account and the breadth-first load balancing algorithm
View answer
Correct Answer: D
Question #3
You have an Azure Virtual Desktop deployment that contains a session host named Host1.You need to configure Windows Defender Firewall to allow inbound network traffic for RDP Shortpath on Host1.Which program in the C:\Windows\System32 folder should you specify in the inbound firewall rule?
A. aserver
B. stsc
C. vchost
D. dpshell
View answer
Correct Answer: C
Question #4
You have an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure virtual network named VNET1. To VNET1, you deploy an Azure Active Directory Domain Services (Azure AD DS) managed domain named litwareinc.com. To VNET1, you plan to deploy a Azure Virtual Desktop host pool named Pool1. You need to ensure that you can deploy Windows 10 Enterprise host pools to Pool1. What should you do first?
A. Modify the settings of the litwareinc
B. Modify the DNS settings of VNET1
C. Add a custom domain name to contoso
D. Implement Azure AD Connect cloud sync
View answer
Correct Answer: B
Question #5
You have an Azure Virtual Desktop deployment that contains the host pools shown in the following table.You need to create a disaster recovery environment in the West US region. The solution must minimize costs and administrative effort.What should you do?
A. Regenerate the token and reregister the virtual machines in the host pools
B. Create two new host pools in the West US region
C. Run the Invoke-RdsUserSessionLogoff cmdlet
D. Create an Azure Site Recovery plan
View answer
Correct Answer: D
Question #6
You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session.You need to configure automatic scaling of the host pool to meet the following requirements:Distribute new user sessions across all running session hosts.Automatically start a new session host when concurrent user sessions exceed 30 users per host.What should you include in the solution?
A. an Azure Automation account and the depth-first load balancing algorithm
B. an Azure Automation account and the breadth-first load balancing algorithm
C. an Azure load balancer and the breadth-first load balancing algorithm
D. an Azure load balancer and the depth-first load balancing algorithm
View answer
Correct Answer: B
Question #7
You have an Azure subscription named Subscription that contains an Azure Virtual Desktop host pool named HostPool1.HostPool1 is managed by using Microsoft Intune. Subscription1 contains 50 users that connect to HostPool1 by using computers that run Windows 10.You need to prevent the users from copying files between an Azure Virtual Desktop session and the computers. The solution must minimize administrative effort.What should you do?
A. Modify the RDP properties of HostPool1
B. Create a Conditional Access policy in Microsoft Entra
C. Create a compliance policy in Intune
D. Create a configuration profile in Intune
View answer
Correct Answer: A
Question #8
You are designing an Azure Virtual Desktop deployment.You identify the network latency between the locations where users reside and the planned deployment.What should you use to identify the best Azure region to deploy the host pool?
A. Azure Traffic Manager
B. Azure Virtual Desktop Experience Estimator
C. Azure Monitor for Azure Virtual Desktop
D. Azure Advisor
View answer
Correct Answer: B
Question #9
You have an Azure subscription that contains 500 users. The users are assigned Microsoft Office 365 E1 licenses.You deploy an Azure Virtual Desktop solution that contains Windows 10 multi-session hosts and streams a custom remote app named App1.You need to ensure that the users are licensed to stream App1. The solution must minimize costs.Which license should you use?
A. Microsoft 365 E5
B. Office 365 E3
C. a Remote Desktop Services (RDS) client access license (CAL)
D. Windows 10 Enterprise E3
View answer
Correct Answer: D
Question #10
You plan to deploy Windows Virtual Desktop session host virtual machines based on a preconfigured master image. The master image will be stored in a shared image. You create a virtual machine named Image1 to use as the master image. You install applications and apply configuration changes to Image1. You need to ensure that the new session host virtual machines created based on Image1 have unique names and security identifiers. What should you do on Image1 before you add the image to the shared image gallery?
A. AAt a command prompt, run the set computername command
B. BAt a command prompt, run the sysprep command
C. CFrom PowerShell, run the rename-computer cmdlet
D. DFrom the lock screen of the Windows device, perform a Windows Autopilot Reset
View answer
Correct Answer: B
Question #11
You have an Azure subscription named Subscription that contains an Azure Virtual Desktop host pool named HostPool1.HostPool1 is managed by using Microsoft Intune. Subscription1 contains 50 users that connect to HostPool1 by using computers that run Windows 10.You need to prevent the users from copying files between an Azure Virtual Desktop session and the computers. The solution must minimize administrative effort.What should you do?
A. Modify the RDP properties of HostPool1
B. Create a Conditional Access policy in Microsoft Entra
C. Create a compliance policy in Intune
D. Create a configuration profile in Intune
View answer
Correct Answer: A
Question #12
Your network contains an on-premises Active Directory domain. The domain contains a universal security group named AVDusers.You have a hybrid Azure AD tenant. AVDusers syncs to Azure AD.You have an Azure Virtual Desktop host pool that contains four Windows 10 Enterprise multi-session hosts.You need to ensure that the members of AVDusers can establish Azure Virtual Desktop sessions to the host pool.What should you do?
A. On each session host, add AVDusers to the local Remote Desktop Users group
B. Assign AVDusers to an Azure role scoped to the host pool
C. Assign AVDusers to an application group
D. Assign AVDusers to an Azure role scoped to the session hosts
View answer
Correct Answer: C
Question #13
You have an Azure Virtual Desktop deployment.You plan to create a new host pool named Pool1 that will contain five Windows 11 session hosts.You need to enable secure boot and vTPM on the session hosts.How should you configure the Virtual Machines settings?
A. Enable encryption at rest and a platform-managed key
B. Set Security type to Trusted launch virtual machines
C. Enable a system-assigned managed identity
D. Set Network security group to Advanced
View answer
Correct Answer: B
Question #14
You have an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure virtual network named VNET1.To VNET1, you deploy an Azure Active Directory Domain Services (Azure AD DS) managed domain named litwareinc.com.To VNET1, you plan to deploy a Azure Virtual Desktop host pool named Pool1.You need to ensure that you can deploy Windows 10 Enterprise session hosts to Pool1.What should you do first?
A. Modify the settings of the litwareinc
B. Modify the DNS settings of VNET1
C. Add a custom domain name to contoso
D. Implement Azure AD Connect cloud sync
View answer
Correct Answer: B
Question #15
You plan to deploy Azure Virtual Desktop session host virtual machines based on a preconfigured master image. The master image will be stored in an Azure compute gallery.You create a virtual machine named Image1 to use as the master image. You install applications and apply configuration changes to Image1.You need to ensure that the new session host virtual machines created based on Image1 have unique names and security identifiers.What should you do on Image1 before you add the image to the Azure compute gallery?
A. At a command prompt, run the set computername command
B. From PowerShell, run the rename-computer cmdlet
C. At a command prompt, run the sysprep command
D. From the lock screen of the Windows device, perform a Windows Autopilot Reset
View answer
Correct Answer: C
Question #16
Your network contains an on-premises Active Directory domain and a Windows Virtual Desktop deployment.The computer accounts for all the session hosts are in an organizational unit (OU) named WVDHostsOU. All user accounts are in an OU named CorpUsers.A domain administrator creates a Group Policy Object (GPO) named Policy1 that only contains user settings.The administrator links Policy1 to WVDHostsOU.You discover that when users sign in to the session hosts, none of the settings from Policy1 are applied.What should you configure to apply GPO settings to the users when they sign in to the session hosts?
A. loopback processing
B. FSLogix profiles
C. mandatory Roaming User Profiles
D. restricted groups
View answer
Correct Answer: A
Question #17
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?
A. Install the Azure Virtual Desktop Agent
B. Enable change tracking
C. Configure the Power Management settings
D. Configure the Diagnostic settings
View answer
Correct Answer: D
Question #18
You need to configure the virtual machines that have the Pool1 prefix. The solution must meet the technical requirements.What should you use?
A. an Azure Virtual Desktop automation task
B. Access control (IAM)
C. Service Health in Azure Monitor
D. Azure Automation
View answer
Correct Answer: D
Question #19
You have an Azure Virtual Desktop deployment. You deploy and configure Azure Virtual Desktop in a secondary location. You plan to perform a test failover to the secondary location, but discover existing user sessions to the primary location. You need to sign out users from the session hosts in the primary location. Which PowerShell cmdlet should you run?
A. Invoke-RdsUserSessionLogoff
B. Invoke-RestMethod
C. Remove-AzWvdUserSession
D. Remove-Alias
View answer
Correct Answer: C
Question #20
You have an Azure Virtual Desktop pooled host pool named HostPool1.You need to dynamically allocate resources to HostPool1 based on the number of sessions for each host.What should you create?
A. scaling plan
B. n availability set
C. virtual machine scale set
D. load balancer rule
View answer
Correct Answer: A
Question #21
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.
A. Create a Log Analytics workspace
B. Create an Azure Automation account
C. Create an Azure Service Health alert rule
D. Enable the Application Insights Agent
E. Configure Azure Network Watcher
View answer
Correct Answer: AB
Question #22
You have an Azure Virtual Desktop host pool in the US East Azure region.You need to ensure that the host pool can fail over to the US West Azure region.What should you do first?
A. Create a Recovery Services vault
B. Create a virtual machine snapshot of each session host
C. Create an Azure Storage account that uses geo-redundant storage (GRS)
D. Create a new host pool
View answer
Correct Answer: A
Question #23
You need to configure the virtual machines that have the Pool1 prefix. The solution must meet the technical requirements.What should you use?
A. an Azure Virtual Desktop automation task
B. Virtual machine auto-shutdown
C. Service Health in Azure Monitor
D. Azure Automation
View answer
Correct Answer: D
Question #24
You have an Azure subscription. The subscription contains a virtual machine named Server1 that runs Windows Server and is deployed to the West US Azure region.You deploy a new Azure Virtual Desktop host pool named HostPool1 to the East US Azure region.You need to ensure that all the traffic between HostPool1 and Server1 is routed via the Microsoft backbone network.What should you use?
A. service endpoints
B. virtual network peering
C. routing tables
D. Azure Traffic Manager
View answer
Correct Answer: B
Question #25
You have an Azure Virtual Desktop deployment that contains the host pools shown in the following table.You need to create a disaster recovery environment in the West US region. The solution must minimize costs and administrative effort.What should you do?
A. Regenerate the token and reregister the virtual machines in the host pools
B. Create two new host pools in the West US region
C. Run the Invoke-RdsUserSessionLogoff cmdlet
D. Create an Azure Site Recovery plan
View answer
Correct Answer: D
Question #26
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.
A. Create a Log Analytics workspace
B. Create an Azure Automation account
C. Create an Azure Service Health alert rule
D. Enable the Application Insights Agent
E. Configure Azure Network Watcher
View answer
Correct Answer: AB
Question #27
Your on-premises network contains an Active Directory Domain Services (AD DS) domain named corp.contoso.com. The domain contains two users named User1 and User2. You have a Microsoft Entra tenant named contoso.com that contains a user named User3 and syncs with corp.contoso.com The sync status of the users is shown in the following table. You have an Azure Virtual Desktop deployment that contains Microsoft Entra joined session hosts. You create an Azure Storage account that has the following configurations: * Name: storage1 * Kind: FileStorage * File share: share1 * Microsoft Entra Kerberos: Enabled You need to implement FSLogix profile containers on share1. For which users can you implement a profile container?
A. User1 only
B. User2 only
C. User1 and User2 only
D. User2 and User3 only
E. User1, User2, and User3
View answer
Correct Answer: B
Question #28
You have a Microsoft Entra tenant named contoso.com and an Azure virtual network named VNET1.You deploy a Microsoft Entra Domain Services managed domain named litwareinc.com to VNET1.You plan to deploy an Azure Virtual Desktop host pool named Pool1 to VNET1.You need to ensure that you can deploy Windows 10 Enterprise session hosts to Pool1.What should you do first?
A. Modify the settings of the litwareinc
B. Modify the DNS settings of VNET1
C. Add a custom domain name to contoso
D. Implement Microsoft Entra Connect cloud sync
View answer
Correct Answer: B
Question #29
You have an Azure Virtual Desktop deployment.In Azure Advisor, you discover the following recommendation related to Azure Virtual Desktop:Impact: MediumDescription: No validation environment enabledPotential Benefit: Ensure business continuity through AVD service deploymentsImpacted Resource: 1 Host PoolWhat can you validate by implementing the recommendations?
A. Security settings of Azure Virtual Desktop
B. Capacity requirements of session hosts
C. Azure Site Recovery failover of the session hosts
D. Preview features for Azure Virtual Desktop
View answer
Correct Answer: D
Question #30
You have an Azure Virtual Desktop deployment. You plan to deploy a host pool named Pool1 that will contain 10 session hosts. The session hosts will use App attach. Which directory service supports App attach?
A. AMicrosoft Entra ID only
B. BActive Directory Domain Services (AD DS) only
C. CActive Directory Domain Services (AD DS) and Microsoft Entra Domain Services only
D. DMicrosoft Entra ID and Active Directory Domain Services (AD DS) only
E. EMicrosoft Entra ID and Microsoft Entra Domain Services only
F. FMicrosoft Entra ID, Microsoft Entra Domain Services, and Active Directory Domain Services (AD DS)
View answer
Correct Answer: B
Question #31
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session.User sessions are load-balanced between the session hosts. Idle session timeout is 30 minutes.You plan to shut down a session host named Host1 to perform routine maintenance.You need to prevent new user sessions to Host1 without disconnecting active user sessions.Solution: From the properties of the virtual machine of Host1, you enable just-in-time (JIT) VM access.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #32
You have an Azure Virtual Desktop deployment.You deploy and configure Azure Virtual Desktop in a secondary location.You plan to perform a test failover to the secondary location, but discover existing user sessions to the primary location.You need to sign out users from the session hosts in the primary location.Which PowerShell cmdlet should you run?
A. Invoke-RdsUserSessionLogoff
B. Remove-AzWvdUserSession
C. Invoke-RestMethod
D. Remove-Alias
View answer
Correct Answer: B
Question #33
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session. User sessions are load-balanced between the session hosts. Idle session timeout is 30 minutes. You plan to shut down a session host named Host1 to perform routine maintenance. You need to prevent new user sessions to Host1 without disconnecting active user sessions. Solution: you change the Drain mode of Host1. Does this meet the goal? https://docs.microsoft.com/en-us/azure/virtual-desktop/drain-mode
A. Yes
B. No
View answer
Correct Answer: A
Question #34
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. reate a scaling plan
B. reate a new workspace
C. dd a session host to HostPool1
D. reate a new host pool
View answer
Correct Answer: D
Question #35
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.
A. ACreate a Log Analytics workspace
B. BCreate an Azure Automation account
C. CCreate an Azure Service Health alert rule
D. DEnable the Application Insights Agent
E. EConfigure Azure Network Watcher
View answer
Correct Answer: AB
Question #36
You have an Azure Virtual Desktop host pool in the East US region.You need to implement a disaster recovery solution that meets the following requirements:If users cannot connect to the Azure Virtual Desktop resources in the East US region, the users must be able to connect to the equivalent resources in the West US region. Users must connect to the Azure Virtual Desktop resources in either the East US or the West US region by selecting a single icon in the Remote Desktop clientIn the event of a disaster, failover between the Azure regions must be initiated manually by an administrator.Failover times must be minimized.What should you do?
A. Configure a shared image gallery that has replicas in the East US and West US regions
B. Create new session hosts in the West US region and add the session hosts to an existing host pool
C. Create an additional host pool in the West US region
D. Enable Azure Site Recovery replication of the virtual machines to the West US region
E. Enable Azure Backup to a Recovery Services vault in the West US region
View answer
Correct Answer: D
Question #37
You have an Azure subscription named Sub1 that contains the resources shown in the following table. You have a user named Admin1 that is assigned the Desktop Visualization Contributor role for Sub1. You need to ensure that Admin1 can assign Scaling1 to Pool1. Solution: You assign Admin! the User Access Administrator role for Sub1.
A. Yes
B. No
View answer
Correct Answer: B
Question #38
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session.User sessions are load-balanced between the session hosts. Idle session timeout is 30 minutes.You plan to shut down a session host named Host1 to perform routine maintenance.You need to prevent new user sessions to Host1 without disconnecting active user sessions.Solution: From the host pool, you remove Host1 from the session host list.Does this meet the goal?
A. Yes
B. No
View answer
Correct Answer: B
Question #39
You have an Azure subscription named Subscription that contains an Azure Virtual Desktop host pool named HostPool1.HostPool1 is managed by using Microsoft Intune. Subscription1 contains 50 users that connect to HostPool1 by using computers that run Windows 10.You need to prevent the users from copying files between an Azure Virtual Desktop session and the computers. The solution must minimize administrative effort.What should you do?
A. Modify the RDP properties of HostPool1
B. Create a Conditional Access policy in Microsoft Entra
C. Create a compliance policy in Intune
D. Create a configuration profile in Intune
View answer
Correct Answer: A
Question #40
You have the devices shown in the following table.You plan to deploy Azure Virtual Desktop for client access to remove virtualized apps.Which devices support the Remote Desktop client?
A. Device1 and Device2 only
B. Device1 and Device3 only
C. Device1, Device2, and Device3
D. Device1 only
View answer
Correct Answer: B
Question #41
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.
A. Create a Log Analytics workspace
B. Create an Azure Automation account
C. Create an Azure Service Health alert rule
D. Enable the Application Insights Agent
E. Configure Azure Network Watcher
View answer
Correct Answer: AB
Question #42
You have an Azure Virtual Desktop deployment.You plan to create a new host pool named Pool1 that will contain five Windows 11 session hosts.You need to enable secure boot and vTPM on the session hosts.How should you configure the Virtual Machines settings?
A. Enable encryption at rest and a platform-managed key
B. Set Security type to Trusted launch virtual machines
C. Enable a system-assigned managed identity
D. Set Network security group to Advanced
View answer
Correct Answer: B
Question #43
Your company has a main office and two branch offices. Each office connects directly to the internet. The router in each branch office is configured as an endpoint for the following VPNs:✑ A VPN connection to the main office✑ A site-to-site VPN to AzureThe routers in each branch office have the Quality of Service (QoS) rules shown in the following table.Users in the branch office report slow responses and connection errors when they attempt to connect to Azure Virtual Desktop resources.You need to modify the QoS rules on the branch office routers to improve Azure Virtual Desktop performance.For which rule should you increase the bandwidth allocation?
A. ule2
B. ule3
C. ule4
D. ule1
View answer
Correct Answer: B

View The Updated Microsoft Exam Questions

SPOTO Provides 100% Real Microsoft Exam Questions for You to Pass Your Microsoft Exam!

View Answers after Submission

Please submit your email and WhatsApp to get the answers of questions.

Note: Please make sure your email ID and Whatsapp are valid so that you can get the correct exam results.

Email:
Whatsapp/phone number:
Contact Us