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
FSLogix Profile Container is the solution provided by Microsoft to store the roaming user profiles in Azure Virtual Desktop (AVD).
Which of the following is not a recommended practice for FSLogix profile containers?
Correct Answer: B Vote an answer
You have a Microsoft Entra tenant named contoso.com and an Azure Virtual Desktop deployment.
You have a RemoteApp app group named RemoteApp1.
You have a partner company named Fabrikam, Inc. that has 200 users. The users require access to RemoteApp1.
You need to identify which type of pricing is associated with providing RemoteApp1 access to the Fabrikam users.
What should you identify?
Correct Answer: D Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
One of your friends tells you about the FSLogix and after listening to him, you decide to use it.
Which of the following licenses would you require to use FSLogix?
Correct Answer: A Vote an answer
Drag and Drop Question
You have an Azure Virtual Desktop deployment that contains a host pool named Pool1.
Pool1 contains session hosts that run Windows 11 Enterprise and have Microsoft Teams installed.
Users connect to the session hosts by using client devices that run Windows 10 Enterprise.
You need to configure the session hosts and the client devices to meet the following requirements:
- Teams audio and video must be processed on the client devices.
- Hardware encoding must be enabled.
What should you do? To answer, drag the appropriate actions to the correct devices. Each action 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:
Box 1: Install the Remote Desktop WebRTC Redirector Service
Teams audio and video must be processed on the client devices.
Call redirection optimizes audio calls for WebRTC-based calling apps, reducing latency, and improving call quality. The connection happens between the local device and the telephony app server, where WebRTC calls are offloaded from a remote session to a local device. After the connection is established, call quality becomes dependent on the web page or app providers, just as it would with a non-redirected call.
Box 2: Set the UseHardwareEncoding registry key to a DWORD value of 1.
Hardware encoding must be enabled.
Updates to Teams for Azure Virtual Desktop, including the following:
The new hardware encoding feature increases the video quality (resolution and framerate) of the outgoing camera during Teams calls. Because this feature uses the underlying hardware on the PC and not just software, we're being extra careful to ensure broad compatibility before turning the feature on by default for all users. Therefore, this feature is currently off by default. To get an early preview of the feature, you can enable it on your local machine by creating a registry key at Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Terminal Server Client\Default\AddIns\WebRTC Redirector\UseHardwareEncoding as a DWORD value and setting it to 1. To disable the feature, set the key to 0.
Reference:
https://learn.microsoft.com/en-us/previous-versions/remote-desktop-client/whats-new-windows
Hotspot Question
You have an Azure Virtual Desktop deployment that contains a host pool named Pool1.
You plan to enable Scheduled agent updates for Pool1.
You need to identify how scheduled agent updates will be applied.
What is the maximum number of maintenance windows you can specify, and what is the maximum number of retries for failed scheduled agent updates? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
https://learn.microsoft.com/en-us/azure/virtual-desktop/scheduled-agent-updates#additional-information
You have an Azure subscription that contains an Azure Virtual Desktop host pool named Pool1.
Pool1 contains a single session host named Host1.
You need to ensure that when an Azure Virtual Desktop session has been inactive for 30 minutes, the user is signed out of the session automatically. The solution must NOT affect other session timeout settings.
What should you do?
Correct Answer: A 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 subscription that contains the resources shown in the following table.

share1 stores FSLogix profile containers and is backed up once a day to Vault1.
You need to back up share1 to Vault2.
Which three 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.
Correct Answer:

Explanation:
To move an Azure File Share's backup to a different Recovery Services vault, you must stop the protection for all file shares in the storage account [Step 1], unregister the storage account from the original vault [Step 2], and then re-register and configure backup for your file shares in the new vault [Step 3]. There is no direct way to move existing backup data between vaults, so you will need to start a new initial backup in the second vault.
Step 1: Stop the backup for share1.
Task 1: Stop Protection and Unregister
1. Stop Protection:
In the original Recovery Services vault, go to the Protected items and select the file shares you want to move. Stop the protection and ensure you select the option to delete backup data.
Step 2: Unregister storage1.
2. Unregister Storage Account:
After stopping protection, you must unregister the entire storage account from the original vault.
Step 3: Configure share1 to back up to Vault2
Task 2: Register and Configure Backup in the New Vault
1. Create or Select New Vault: [Skip]
Create a new Recovery Services vault or use an existing one in the target region.
2. Register the Storage Account: [Skip]
In the new vault, register the storage account that contains your file shares.
3. Configure Backup:
Select the file shares you want to back up and configure a new backup policy for them within the new vault.
4. Start New Backup:
Initiate a new initial backup. This will create a new set of recovery points in the second vault.
Reference:
https://learn.microsoft.com/en-us/azure/backup/backup-azure-move-recovery-services-vault
Hotspot Question
You have an Azure Virtual Desktop deployment.
You need to ensure that when users connect to the deployment, they must authenticate by using passwordless authentication.
Which two features should you configure? To answer, select the appropriate settings in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:
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?
Correct Answer: A Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Case Study 1 - Contoso, Ltd
Overview
Contoso, Ltd. is a law firm that has a main office in Montreal and branch offices in Paris and Seattle. The Seattle branch office opened recently.
Contoso has an Azure subscription and uses Microsoft 365.
Existing Infrastructure. Active Directory
The network contains an on-premises Active Directory domain named contoso.com and an Azure Active Directory (Azure AD) tenant. One of the domain controllers runs as an Azure virtual machine and connects to a virtual network named VNET1. All internal name resolution is provided by DNS server that run on the domain controllers.
The on-premises Active Directory domain contains the organizational units (OUs) shown in the following table.

The on-premises Active Directory domain contains the users shown in the following table.

The Azure AD tenant contains the cloud-only users shown in the following table.

Existing Infrastructure. Network Infrastructure
All the Azure virtual networks are peered. The on-premises network connects to the virtual networks.
All servers run Windows Server 2019. All laptops and desktop computers run Windows 10 Enterprise.
Since users often work on confidential documents, all the users use their computer as a client for connecting to Remote Desktop Services (RDS).
In the West US Azure region, you have the storage accounts shown in the following table.

Existing Infrastructure. Remote Desktop Infrastructure
Contoso has a Remote Desktop infrastructure shown in the following table.

Requirements. Planned Changes
Contoso plans to implement the following changes:
- Implement FSLogix profile containers for the Paris offices.
- Deploy a Azure Virtual Desktop host pool named Pool4.
- Migrate the RDS deployment in the Seattle office to Azure Virtual
Desktop in the West US Azure region.
Requirements. Pool4 Configuration
Pool4 will have the following settings:
- Host pool type: Pooled
- Max session limit: 7
- Load balancing algorithm: Depth-first
- Images: Windows 10 Enterprise multi-session
- Virtual machine size: Standard D2s v3
- Name prefix: Pool4
- Number of VMs: 5
- Virtual network: VNET4
Requirements. Technical Requirements
Contoso identifies the following technical requirements:
- Before migrating the RDS deployment in the Seattle office, obtain the recommended deployment configuration based on the current RDS utilization.
- For the Azure Virtual Desktop deployment in the Montreal office,
disable audio output in the device redirection settings.
- For the Azure Virtual Desktop deployment in the Seattle office, store the FSLogix profile containers in Azure Storage.
- Enable Operator2 to modify the RDP Properties of the Azure Virtual
Desktop deployment in the Montreal office.
- From a server named Server1, convert the user profile clicks to the
FSLogix profile containers.
- Ensure that the Pool1 virtual machines only run during business
hours.
- Use the principle of least privilege.
You plan to implement the FSLogix profile containers for the Seattle office.
Which storage account should you use?
Correct Answer: C Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).