Microsoft AZ-140 Practice Exams
Last updated on Mar 31,2025- Exam Code: AZ-140
- Exam Name: Configuring and Operating Microsoft Azure Virtual Desktop
- Certification Provider: Microsoft
- Latest update: Mar 31,2025
You need to configure the virtual machines that have the Pool1 prefix. The solution must meet the
technical requirements.
What should you use?
- A . a Windows Virtual Desktop automation task
- B . Virtual machine auto-shutdown
- C . Service Health in Azure Monitor
- D . Azure Automation
You have an Azure Virtual Desktop deployment.
You have a RemoteApp named App1.
You discover that from the Save As dialog box of App1, users can run executable applications other than App1 on the session hosts.
You need to ensure that the users can run only published applications on the session hosts.
What should you do?
- A . Configure a conditional access policy in Azure Active Directory (Azure AD).
- B . Modify the Access control (1AM) settings of the host pool.
- C . Modify the RDP Properties of the host pool.
- D . Configure an AppLocker policy on the session hosts.
You deploy a Windows Virtual Desktop host pool named Pool1.
You have an Azure Storage account named store1 that stores FSLogix profile containers in a share named profiles.
You need to configure the path to the storage containers for the session hosts.
Which path should you use?
- A . \store1.blob.core.windows.netprofiles
- B . https://store1.file.core.windows.net/profiles
- C . \store1.file.core.windows.netprofiles
- D . https://store1.blob.core.windows.net/profiles
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 that contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Windows Virtual Desktop sessions. The session hosts must be allowed to access all the required Microsoft services.
Solution: You configure the Address space settings of the virtual network that contains the session hosts.
Does that meet the goal?
- A . Yes
- B . No
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 that contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Windows Virtual Desktop sessions. The session hosts must be allowed to access all the required Microsoft services.
Solution: You configure the Address space settings of the virtual network that contains the session hosts.
Does that meet the goal?
- A . Yes
- B . No
HOTSPOT
You have an Azure subscription that contains the virtual machines shown in the following table.
You create a shared image gallery as shown in the SharedGallery1 exhibit. (Click the SharedGallery1 tab.)
You create an image definition as shown in the Image1 exhibit. (Click the Image1 tab.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
HOTSPOT
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.
Which three PowerShell modules should you install on Server1 to meet the technical requirements? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Pester
- B . RemoteDesktop
- C . ServerManager
- D . ActiveDirectory
- E . Hyper-V
You need to configure the user settings of Admin1 to meet the user profile requirements.
What should you do?
- A . Modify the membership of the FSLogix ODFC Exclude List group.
- B . Modify the membership of the FSLogix Profile Exclude List group.
- C . Modify the HKLMSOFTWAREFSLogixProfiles registry settings.
- D . Modify the HKLMSOFTWAREFSLogixODFC registry settings.
You have an Azure Virtual Desktop host pool named Pool1 in the East US region.
You have a storage account named storage1 that contains FSLogix profile containers. In the East US region, you have a shared image gallery named SIG1 that contains a virtual machine image named Image1. Image1 is used to create new session hosts in Pool1.
You plan to deploy a new Azure Virtual Desktop host pool named Pool2 to the South India region.
You need to implement a session host deployment solution for Pool2 that meets the following requirements:
✑ Image1 must replicate in the South India region.
✑ The session hosts in Pool2 must be based on Image1.
✑ Changes to Image1 must be available in the South India and East US regions.
What should you include in the solution?
- A . Create a new shared image gallery named SIG2 in the South India region. Upload a copy of Image1 to SIG2.
- B . Create a new Azure Storage account named storage2 in the South India region. Copy Image1 to a shared folder in storage2.
- C . From SIG1, update the replication for the latest image version of Image1.
- D . Configure geo-redundant storage (GRS) replication for storage1. Copy the VHD file of Image1 to the FSLogix profile container.