Microsoft

AZ-140 Free Practice Questions — Page 5

Question 32

HOTSPOT - You have an Azure subscription that contains an Azure Virtual Desktop deployment. All the session hosts in the deployment are joined to Active Directory. You plan to implement Quality of Service (QoS) for the deployment by using Group Policy You need to configure a QoS policy that will tag Remote Desktop Services (RDS) traffic for Expedited Forwarding (EF). Which DSCP value should you specify, and which executable should you tag? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 32
Show Answer
Correct Answer: DSCP value: 46 Executable: svchost.exe
Explanation:
Expedited Forwarding (EF) corresponds to DSCP value 46. In Azure Virtual Desktop, RDS traffic is handled by the Remote Desktop Services running under svchost.exe, which is the correct executable to tag in a Group Policy–based QoS policy.

Question 33

You have an on-premises Windows device named Device1. You have an Azure Virtual Desktop host pool named Pool1 that contains Windows 11 session hosts. You create an application group named AppGrp1. You have an app named App1. App1 is added to AppGrp1 and published as a RemoteApp. You need to ensure that when a user on Device1 connects to App1, Microsoft OneDrive launches. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. Add an assignment to AppGrp1.
B. For Device1, configure the HKLM\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive registry key.
C. For the session hosts, configure the HKLM\Software\Microsoft\Windows\CurrentVersion\Run\OneDrive registry key.
D. For Pool1, configure the Advanced settings in RDP Properties.
E. For Device1, configure the Enable enhanced shell experience for RemoteApp Group Policy setting.
F. For the session hosts, configure the Enable enhanced shell experience for RemoteApp Group Policy setting.
Show Answer
Correct Answer: C, F
Explanation:
To have OneDrive launch automatically when a user connects to a RemoteApp in Azure Virtual Desktop, the configuration must be applied on the session hosts, not the local device. Setting the HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\OneDrive registry key on the session hosts ensures OneDrive starts when a user session begins. Enabling the **Enhanced shell experience for RemoteApp** Group Policy on the session hosts is also required so that OneDrive integrates correctly with RemoteApp sessions, as documented by Microsoft for OneDrive with Azure Virtual Desktop RemoteApp.

Question 34

DRAG DROP - 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.

Illustration for AZ-140 question 34
Show Answer
Correct Answer: Session hosts: Install the Remote Desktop WebRTC Redirector Service. Client devices: Set the UseHardwareEncoding registry key to a DWORD value of 1.
Explanation:
Teams media optimization in Azure Virtual Desktop requires the WebRTC Redirector Service on session hosts to offload audio and video processing to the client. Enabling the UseHardwareEncoding registry key on client devices ensures hardware-based video encoding is used.

Question 35

DRAG DROP - You have an Azure Virtual Desktop deployment that contains the resources shown in the following table. You plan to create private endpoints for the deployment. Which resource supports the connection target sub-resource, feed target sub-resource, and global target sub-resource of each private endpoint? To answer, drag the appropriate resources to the correct target sub-resources. Each resource 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.

Illustration for AZ-140 question 35 Illustration for AZ-140 question 35
Show Answer
Correct Answer: Connection: Pool1 Feed: AppGroup1 Global: Workspace1
Explanation:
In Azure Virtual Desktop Private Link, the connection sub-resource maps to the host pool, the feed sub-resource maps to the application group, and the global sub-resource maps to the workspace.

Question 37

HOTSPOT - Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - Northwind Traders is a manufacturing company based in New York City. Existing Environment - Identity Environment - The on-premises network contains an Active Directory Domain Services (AD DS) domain named northwindtraders.com. Northwind Traders has a Microsoft Entra tenant and a Microsoft Entra Domain Services managed domain. The northwindtraders.com domain syncs with the Microsoft Entra tenant. Virtual Machines - The company has an on-premises Hyper-V virtual machine named VM1 that has the following configurations: • Generation: 1 • Disk size: 2 TB • Disk format: VHDX • Disk type: Dynamically expanding Cloud Services - Northwind Traders has a Microsoft 365 E5 subscription. The subscription contains 500 users that are assigned Microsoft 365 E5 licenses. The company has an Azure subscription that contains the resources shown in the following table. Both subscriptions are linked to the Microsoft Entra tenant. Requirements - Planned Changes - Northwind Traders identifies the following planned changes: • Deploy an Azure Virtual Desktop host pool that will contain 10 session hosts joined to the Microsoft Entra Domain Services managed domain. • Configure VM1 as the source image for the Azure Virtual Desktop deployment and upload the image to Azure. • The Azure Virtual Desktop deployment will provide access to a custom app named App1. Performance Requirements - Northwind Traders identifies the following performance requirements: • Each Azure Virtual Desktop session host must support 15 user sessions. • Each new user session must be assigned to a single session host until the maximum session limit is reached for that host. Application Requirements - Northwind Traders identifies the following application requirements: • Microsoft OneDrive must launch when users connect to a RemoteApp session in Azure Virtual Desktop. • App1 requires a desktop resolution of 1280 x 1024. • Administrative effort must be minimized. Disaster Recovery Requirements - Northwind Traders identifies the following disaster recovery requirements for the Azure Virtual Desktop deployment: • Minimize outages if an Azure region fails. • Minimize the recovery time objective (RTO). • Minimize administrative effort in the event of a failover. Security Requirements - Northwind Traders identifies the following security requirements: • When users sign in to the Azure Virtual Desktop deployment by using the Azure Virtual Desktop client, they must authenticate by using their Microsoft Entra username and password only. • When users sign in to the Azure Virtual Desktop deployment by using a web browser, they must authenticate by using the Microsoft Authenticator app. • All the Azure Virtual Desktop session hosts deployed by using the VM1 source image must be onboarded to Microsoft Defender for Endpoint. • The client version and operating system used to connect to the session hosts must be logged. • The solution must follow the principle of least privilege. Networking Requirements - The Azure Virtual Desktop session hosts must be able to access the resources on the on-premises network. User Profile Requirements - Northwind Traders identifies the following user profile requirements: • Users must be able to access share1 by using their Microsoft Entra account. • Azure Virtual Desktop user profiles must be managed by using FSLogix. • All user profiles must be stored in share1. You need to create a Conditional Access policy to meet the security requirements. How should you configure the policy? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 37 Illustration for AZ-140 question 37
Show Answer
Correct Answer: Target resources: Authentication context Conditions: Client apps Access control: Grant – Require authentication strength
Explanation:
An authentication context is used with Azure Virtual Desktop to apply different authentication requirements. Client apps distinguishes browser-based access from the AVD client. Requiring authentication strength enforces password-only sign-in for the client and MFA (Microsoft Authenticator) for browser access.

Question 38

You have an Azure subscription that contains an Azure Virtual Desktop deployment and a Microsoft Entra Domain Services domain. The deployment contains 10 session hosts that are joined to the domain. You plan to deploy FSLogix profile containers and store the containers in Azure. You need to configure storage for the containers. The solution must ensure that you can assign share permissions to Microsoft Entra accounts. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A. From the Data storage settings of the storage account, enable an identity source.
B. Attach a new virtual disk to each session host.
C. From the Configuration settings of the storage account, select Default to Microsoft Entra authorization in the Azure portal.
D. Create a premium file shares storage account.
E. Create a premium block blobs storage account.
Show Answer
Correct Answer: A, C
Explanation:
To assign Azure Files share permissions to Microsoft Entra accounts for FSLogix profile containers, the storage account must use Microsoft Entra–based authentication. • Enabling an identity source in the Data storage settings configures Microsoft Entra (Kerberos) authentication for Azure Files, which is required to grant share-level permissions to Entra users and groups. • Selecting **Default to Microsoft Entra authorization** ensures that Entra ID is the default authentication method when accessing the file share, aligning access control with Entra identities. Other options either do not address identity-based permissions (B, E) or are not required for Entra-based authorization (D).

Question 39

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
Show Answer
Correct Answer: B
Explanation:
FSLogix profile containers on Azure Files using Microsoft Entra Kerberos are supported only for hybrid identities (users synchronized from on‑premises AD DS to Microsoft Entra ID). Cloud‑only users aren’t supported, and users that exist only on‑premises can’t authenticate to Entra‑joined session hosts or Azure Files. Therefore, only the synced user (User2) can use an FSLogix profile container.

Question 40

You have a Microsoft 365 E5 subscription. You have an Azure subscription named Sub1. Sub1 contains an Azure Virtual Desktop deployment. The deployment contains the session hosts shown in the following table. Which session hosts can you protect by using Microsoft Defender for Endpoint?

A. Host1 only
B. Host1 and Host2 only
C. Host2 and Host3 only
D. Host1, Host2, and Host3
Show Answer
Correct Answer: A
Explanation:
Microsoft 365 E5 includes Microsoft Defender for Endpoint Plan 2 for client operating systems such as Windows 10/11 Enterprise, including Windows 10/11 Enterprise multi-session used by Azure Virtual Desktop. It does not include Defender for Endpoint licensing for Windows Server. Session hosts running Windows Server (for example, Windows Server 2019/2022) require an additional Defender for Servers/Defender for Endpoint for Servers license. Therefore, only Host1 can be protected.

Question 41

Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - Northwind Traders is a manufacturing company based in New York City. Existing Environment - Identity Environment - The on-premises network contains an Active Directory Domain Services (AD DS) domain named northwindtraders.com. Northwind Traders has a Microsoft Entra tenant and a Microsoft Entra Domain Services managed domain. The northwindtraders.com domain syncs with the Microsoft Entra tenant. Virtual Machines - The company has an on-premises Hyper-V virtual machine named VM1 that has the following configurations: • Generation: 1 • Disk size: 2 TB • Disk format: VHDX • Disk type: Dynamically expanding Cloud Services - Northwind Traders has a Microsoft 365 E5 subscription. The subscription contains 500 users that are assigned Microsoft 365 E5 licenses. The company has an Azure subscription that contains the resources shown in the following table. Both subscriptions are linked to the Microsoft Entra tenant. Requirements - Planned Changes - Northwind Traders identifies the following planned changes: • Deploy an Azure Virtual Desktop host pool that will contain 10 session hosts joined to the Microsoft Entra Domain Services managed domain. • Configure VM1 as the source image for the Azure Virtual Desktop deployment and upload the image to Azure. • The Azure Virtual Desktop deployment will provide access to a custom app named App1. Performance Requirements - Northwind Traders identifies the following performance requirements: • Each Azure Virtual Desktop session host must support 15 user sessions. • Each new user session must be assigned to a single session host until the maximum session limit is reached for that host. Application Requirements - Northwind Traders identifies the following application requirements: • Microsoft OneDrive must launch when users connect to a RemoteApp session in Azure Virtual Desktop. • App1 requires a desktop resolution of 1280 x 1024. • Administrative effort must be minimized. Disaster Recovery Requirements - Northwind Traders identifies the following disaster recovery requirements for the Azure Virtual Desktop deployment: • Minimize outages if an Azure region fails. • Minimize the recovery time objective (RTO). • Minimize administrative effort in the event of a failover. Security Requirements - Northwind Traders identifies the following security requirements: • When users sign in to the Azure Virtual Desktop deployment by using the Azure Virtual Desktop client, they must authenticate by using their Microsoft Entra username and password only. • When users sign in to the Azure Virtual Desktop deployment by using a web browser, they must authenticate by using the Microsoft Authenticator app. • All the Azure Virtual Desktop session hosts deployed by using the VM1 source image must be onboarded to Microsoft Defender for Endpoint. • The client version and operating system used to connect to the session hosts must be logged. • The solution must follow the principle of least privilege. Networking Requirements - The Azure Virtual Desktop session hosts must be able to access the resources on the on-premises network. User Profile Requirements - Northwind Traders identifies the following user profile requirements: • Users must be able to access share1 by using their Microsoft Entra account. • Azure Virtual Desktop user profiles must be managed by using FSLogix. • All user profiles must be stored in share1. Which two actions should you perform to meet the security requirements for Defender for Endpoint? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

A. Add a Defender for Endpoint onboarding script to VM1 and run the script at first startup.
B. Use a Group Policy Object (GPO) to run an on boarding script from a shared location.
C. Create an app attach image for the Azure Virtual Desktop deployment.
D. Run a Defender for Endpoint onboarding script on VM1 before generalizing the VM1 source image.
Show Answer
Correct Answer: A, B
Explanation:
All Azure Virtual Desktop session hosts created from the VM1 image must be onboarded automatically to Microsoft Defender for Endpoint with minimal administrative effort. Adding the Defender for Endpoint onboarding script to the golden image and running it at first startup ensures every deployed session host is onboarded. Alternatively, using a Group Policy Object to run the onboarding script from a shared location also automatically onboards all session hosts joined to the domain. Running the script manually before generalizing the image would not persist correctly, and app attach is unrelated to Defender onboarding.

Question 42

DRAG DROP - Case study - This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study - To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Overview - Northwind Traders is a manufacturing company based in New York City. Existing Environment - Identity Environment - The on-premises network contains an Active Directory Domain Services (AD DS) domain named northwindtraders.com. Northwind Traders has a Microsoft Entra tenant and a Microsoft Entra Domain Services managed domain. The northwindtraders.com domain syncs with the Microsoft Entra tenant. Virtual Machines - The company has an on-premises Hyper-V virtual machine named VM1 that has the following configurations: • Generation: 1 • Disk size: 2 TB • Disk format: VHDX • Disk type: Dynamically expanding Cloud Services - Northwind Traders has a Microsoft 365 E5 subscription. The subscription contains 500 users that are assigned Microsoft 365 E5 licenses. The company has an Azure subscription that contains the resources shown in the following table. Both subscriptions are linked to the Microsoft Entra tenant. Requirements - Planned Changes - Northwind Traders identifies the following planned changes: • Deploy an Azure Virtual Desktop host pool that will contain 10 session hosts joined to the Microsoft Entra Domain Services managed domain. • Configure VM1 as the source image for the Azure Virtual Desktop deployment and upload the image to Azure. • The Azure Virtual Desktop deployment will provide access to a custom app named App1. Performance Requirements - Northwind Traders identifies the following performance requirements: • Each Azure Virtual Desktop session host must support 15 user sessions. • Each new user session must be assigned to a single session host until the maximum session limit is reached for that host. Application Requirements - Northwind Traders identifies the following application requirements: • Microsoft OneDrive must launch when users connect to a RemoteApp session in Azure Virtual Desktop. • App1 requires a desktop resolution of 1280 x 1024. • Administrative effort must be minimized. Disaster Recovery Requirements - Northwind Traders identifies the following disaster recovery requirements for the Azure Virtual Desktop deployment: • Minimize outages if an Azure region fails. • Minimize the recovery time objective (RTO). • Minimize administrative effort in the event of a failover. Security Requirements - Northwind Traders identifies the following security requirements: • When users sign in to the Azure Virtual Desktop deployment by using the Azure Virtual Desktop client, they must authenticate by using their Microsoft Entra username and password only. • When users sign in to the Azure Virtual Desktop deployment by using a web browser, they must authenticate by using the Microsoft Authenticator app. • All the Azure Virtual Desktop session hosts deployed by using the VM1 source image must be onboarded to Microsoft Defender for Endpoint. • The client version and operating system used to connect to the session hosts must be logged. • The solution must follow the principle of least privilege. Networking Requirements - The Azure Virtual Desktop session hosts must be able to access the resources on the on-premises network. User Profile Requirements - Northwind Traders identifies the following user profile requirements: • Users must be able to access share1 by using their Microsoft Entra account. • Azure Virtual Desktop user profiles must be managed by using FSLogix. • All user profiles must be stored in share1. Which host pool design and which service should you configure to meet the disaster recovery requirements? To answer, drag the appropriate solution to the correct requirements. Each solution 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.

Illustration for AZ-140 question 42 Illustration for AZ-140 question 42
Show Answer
Correct Answer: Design: One host pool that contains session hosts in both the East US and West US Azure regions Service: FSLogix Cloud Cache
Explanation:
A single host pool with session hosts in multiple regions provides automatic user redirection during a regional failure, minimizing outages, RTO, and administrative effort. FSLogix Cloud Cache replicates user profile data across multiple storage locations, ensuring profile availability during regional failures and supporting rapid failover.

$19

Get all 321 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.