Free Demo Questions

Test Online Free Microsoft AZ-140 Exam Questions and Answers

Practice a live sample before buying full access. This page keeps the free AZ-140 question set organized by page so visitors and search engines can reach the canonical -questions.html URL directly.

Updated Jun 19, 2025 34 Questions 3 Pages
Page 2 of 3
Question 16 Selectable Answer
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?

Answer:
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image#determinewhen-to-use-sysprep
Question 17 Selectable Answer
You have an Azure Active Directory Domain Services (Azure AD D5) domain named contoso.com.
You have an Azure Storage account named storage1. Storage1 hosts a file share named share1 that has share and file system permissions configured. Share1 is configured to use contoso.com for authentication,
You create an Azure Virtual Desktop host pool named Pool1. Pool1 contains two session hosts that use the Windows 10 multi-session + Microsoft 365 Apps image.
You need to configure an FSLogix profile container for Pool1.
What should you do next?

Answer:
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-user-profile
Question 18 Selectable Answer
Your company has a single office and has 40 employees.
You ate planning a Azure Virtual Desktop deployment.
The estimated user workloads are shown in the following table.



Half the users of each workload type work from home. All the users who work from home do NOT establish a VPN connection to the office.
Approximately how much bandwidth is needed between the office and Azure lo support the planned workloads?

Answer:
Question 19 Selectable Answer
Your network contains an on-premises Active Directory domain named contoso.com.
You have an Azure subscription that contains the resources shown in the following table.



You need to create a share that will host FSLogix profiles for AVDPool1.
The solution must meet the following requirements:
* Maximize read and write performance for the profiles.
* Control access to the SMB share by using the users and groups stored in contoso.com.
Which account should you use to host the share?

Answer:
Explanation:
https://learn.microsoft.com/en-us/azure/storage/files/storage-files-netapp-comparison
Question 20 Selectable Answer
You have a Windows Virtual Desktop host pool that contains 20 Windows 10 Enterprise multi-session hosts.
Users connect to the Windows Virtual Desktop deployment from computers that run Windows 10.
You plan to implement FSLogix Application Masking.
You need to deploy Application Masking rule sets. The solution must minimize administrative effort.
To where should you copy the rule sets?

Answer:
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/fslogix-office-app-rule-editor
Question 21 Selectable Answer
You have a Windows Virtual Desktop host pool named Pool1 and an Azure Storage account named Storage1.
Storage1 stores FSLogix profile containers in a share folder named share1.
You create a new group named Group1. You provide Group1 with permission to sign in to Pool1.
You need to ensure that the members of Group1 can store the FSLogix profile containers in share1. The solution must use the principle of least privilege.
Which two privileges should you assign to Group1? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Answer:
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-file-share
Question 22 Selectable Answer
You have a Azure Virtual Desktop deployment.
You need to monitor the deployment of using the Azure Virtual Desktop Insights solution in Azure Monitor.
What should you use as the Diagnostic settings destination for the host pool?

Answer:
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/azure-monitor
Question 23 Selectable 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 a Windows Virtual Desktop host pool named Pool1 that is integrated with an Azure Active Directory Domain Services (Azure AD DS) managed domain.
You need to configure idle session timeout settings for users that connect to the session hosts in Pool1.
Solution: From the Azure portal, you modify the Session behavior settings in the RDP Properties of Pool1.
Does that meet the goal?

Answer:
Question 24 Selectable 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 properties of the virtual machine of Host1, you enable just-in-time (JIT) VM access.
Does this meet the goal?

Answer:
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/drain-mode
Question 25 Selectable Answer
You have an Azure Virtual Desktop deployment that contains the resources shown in the following table.



You plan to enable Start VM on connect for Pool1.
You create a custom Azure role named Role1 that has sufficient permissions to start virtual machines on demand.
You need to ensure that the session hosts in Pool1 can start on demand.
To which service principal should you assign Role1?

Answer:
Question 26 Written Answer
DRAG DROP
You have an Azure Virtual Desktop host pool named Pool1, an application named App1, and an Azure file share named Share1.
You need to ensure that you can publish App1 to Pool1 by using MSIX app attach.
Which four actions should you perform in sequence before you publish App1? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Answer:


Explanation:
Graphical user interface, text
Description automatically generated
Question 27 Written Answer
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.


Answer:

Question 28 Written Answer
HOTSPOT
You are automating the deployment of an Azure Virtual Desktop host pool.
You deploy the Azure Resource Manager (ARM) template shown in the following exhibit.



Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the Dockerfile. NOTE: Each correct selection is worth one point.


Answer:


Explanation:
Graphical user interface, text, application
Description automatically generated
Question 29 Written Answer
HOTSPOT
You have a Windows Virtual Desktop deployment.
You plan to create the host pools shown in the following table.



You need to recommend the virtual machine size for each host pool. The solution must minimize costs.
Which size should you recommend for each pool? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


Answer:

Question 30 Written Answer
DRAG DROP
You have an Azure subscription that contains the storage accounts shown in the following table.



You have a custom generalized Windows 10 image.
You plan to deploy an Azure Virtual Desktop host pool that will use the custom image and FSLogix profile containers.
You need to recommend which storage accounts to use for the custom image and the
profile containers.
The solution must meet the following requirements:
✑ Minimize costs to store the image.
✑ Maximize performance of the profile containers.
Which account should you recommend for each type of content? To answer, drag the appropriate accounts to the correct content type. Each account may be used once, more than once, or not at all. You many need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.


Answer:


Explanation:
A picture containing text
Description automatically generated
Showing page 2 of 3