Microsoft

AZ-140 Free Practice Questions — Page 17

Question 111

You have an Azure Virtual Desktop deployment that contains a pooled host pool named Pool1. Pool1 contains five session hosts. You plan to deploy two apps named App1 and App2. The solution must meet the following requirements: • All the session hosts must contain both apps. • All users must connect to a full desktop session. • Only users in the sales department must be able to use App1. • Only users in the research department must be able to use App2. You need to ensure that the users in each department can see only their assigned app when they connect to Pool1. What should you use?

A. FSLogix application masking
B. MSIX app attach
C. RemoteApp application groups
D. RemoteApp streaming
Show Answer
Correct Answer: A
Explanation:
FSLogix application masking allows both applications to be installed on every session host while controlling application visibility and access based on user or group membership. Because users connect to a full desktop session (not RemoteApp), application masking is the appropriate way to ensure Sales users see only App1 and Research users see only App2. MSIX app attach is an app delivery mechanism, not a per-user visibility control solution, and RemoteApp application groups are for publishing individual remote apps rather than full desktop sessions.

Question 112

HOTSPOT - You have an Azure Virtual Desktop host pool named Pool1. You have an Azure Compute Gallery that contains an image. The image contains the resources shown in the following table. Pool1 contains a single session host named SH1. You need to deploy a new session host named SH2 that will be used to perform troubleshooting. The solution must meet the following requirements: • SH2 must use image version 0.0.1. • Administrative effort must be minimized. Which two actions should you perform in order? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 112 Illustration for AZ-140 question 112
Show Answer
Correct Answer: First action: For image version 0.0.2, set Exclude from latest to Yes. Second action: From Pool1, deploy a new session host.
Explanation:
Excluding version 0.0.2 from 'latest' makes version 0.0.1 the latest eligible image. Deploying a new session host from the host pool then automatically uses version 0.0.1, minimizing administrative effort.

Question 114

DRAG DROP - You have an Azure subscription that contains an Azure Virtual Desktop deployment and a storage account named storage1. Storage1 contains an Azure Files share named share1. The Azure Virtual Desktop deployment contains a host pool named Pool1. Pool1 contains two session hosts that are joined to a Microsoft Entra Domain Services domain. You need to configure FSLogix profile containers and store them on share1. Which actions should you perform in sequence? To answer, drag the appropriate actions to the correct order. 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 114
Show Answer
Correct Answer: Step 1: Enable the Microsoft Entra Domain Services identity source for share1. Step 2: Assign the Storage File Data SMB Share Contributor role to users and grant permissions. Step 3: Set registry keys on the session hosts to use Profile Containers.
Explanation:
The session hosts are joined to Microsoft Entra Domain Services, so Azure Files must use the Microsoft Entra Domain Services identity source. Then grant users SMB share access (Contributor is required for FSLogix profile containers), and finally configure the FSLogix registry settings on the session hosts.

Question 115

HOTSPOT - You have an Azure subscription named Sub1 that contains a resource group named RG1. RG1 contains an Azure Virtual Desktop deployment. The deployment has a host pool named Pool that contains four session hosts. You plan to enable the Start VM On Connect feature. Which role should you assign to the Azure Virtual Desktop service principal, and to which scope should you assign the role? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 115
Show Answer
Correct Answer: Role: Desktop Virtualization Power On Contributor Scope: Sub1
Explanation:
Start VM On Connect requires the Azure Virtual Desktop service principal to have permission to start virtual machines. Assign the Desktop Virtualization Power On Contributor role at the subscription scope so it applies to the session host VMs.

Question 117

You have an Azure Virtual Desktop host pool named Pool1. All the session hosts in Pool1 are assigned private IP addresses only. You need to ensure that administrators can connect remotely to the session hosts. The solution must ensure that the administrators can connect to the session hosts by using Azure Command-Line Interface (CLI) and the Remote Desktop client for Windows. What should you include in the solution?

A. Azure Application Gateway WAF_v2
B. Azure Front Door Standard
C. Azure Bastion Standard
D. Azure Application Gateway Standard_v2
Show Answer
Correct Answer: C
Explanation:
Azure Bastion Standard enables secure RDP connectivity to virtual machines that have only private IP addresses. The Standard SKU supports native client connectivity, including Azure CLI and the Remote Desktop client for Windows, allowing administrators to connect without exposing the VMs to the public internet.

Question 118

You have an Azure subscription that contains an Azure Virtual Desktop deployment. The deployment contains a host pool named Pool. Users access the deployment by using the Windows client for Azure Virtual Desktop. You need to ensure that the users must reauthenticate every eight hours. The solution must minimize administrative effort. What should you do?

A. From the Microsoft Entra admin center, create a Conditional Access policy.
B. From the Microsoft Entra admin center, configure the User settings.
C. Define Pool1 as a validation environment.
D. For each session host, configure just-in-time (JIT) VM access.
Show Answer
Correct Answer: A
Explanation:
Use a Microsoft Entra Conditional Access policy with a sign-in frequency control set to eight hours. This forces users of the Azure Virtual Desktop Windows client to reauthenticate at the configured interval while minimizing administrative effort. User settings do not provide this control, a validation host pool is for testing updates, and JIT VM access is unrelated to user authentication.

Question 120

DRAG DROP - Your network contains an Active Directory Domain Services (AD DS) domain named Domain1. You have an Azure subscription named Sub1. Sub1 contains a storage account named storage1 that has a file share named share1. Sub1 has an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains session hosts that are joined to Domain1. You plan to use share1 to store FSLogix user profiles. You need to enable support for FSLogix. What should you do for storage1 and share1? To answer, drag the appropriate configurations to the correct resources. Each configuration 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 120
Show Answer
Correct Answer: storage1: Join to Domain1 share1: Assign a role-based access control (RBAC) role.
Explanation:
For Azure Files with AD DS authentication, the storage account must be joined to the AD DS domain. Access to the Azure file share is granted using the Storage File Data SMB Share RBAC role (typically SMB Share Contributor).

Question 121

You have an Azure Virtual Desktop deployment that contains two host pools named Pooll and Pool2. Pool1 contains 10 session hosts and supports 100 concurrent users. Pool2 contains two session hosts and supports 20 concurrent users. You need to recommend an Azure Virtual Desktop update solution that meets the following requirements: • All service updates must be tested before reaching general availability. • Testing must have a minimal impact on the organization. • No new host pools can be created. What should you include in the recommendation?

A. From the properties of Pool1, enable the validation environment.
B. From the properties of Pool2, enable the validation environment.
C. From the properties of Pool1, assign a scaling plan.
D. From the properties of Pool2, assign a scaling plan.
Show Answer
Correct Answer: B
Explanation:
Enable the Azure Virtual Desktop validation environment to receive service updates before general availability. To minimize organizational impact, enable it on the smaller host pool (Pool2), which supports only 20 concurrent users. Scaling plans are for session host capacity management, not pre-GA service update validation.

Question 123

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. You plan to create a Windows 10 image named Image1 to deploy new session hosts to Pool1. You need to ensure that all the new session hosts deployed by using Image1 are onboarded to Microsoft Defender for Endpoint. What should you do?

A. Run a Defender for Endpoint onboarding script on Image1, and then run sysprep.
B. Add a Defender for Endpoint onboarding script to image1, and then run the script at first start.
C. Create an MSIX package for Pool1.
D. Create an automation task for Pool1.
Show Answer
Correct Answer: B
Explanation:
For Azure Virtual Desktop multi-session images, Microsoft recommends not onboarding the golden image itself. Instead, include the Microsoft Defender for Endpoint onboarding script in the image and configure it to run at first boot so each deployed session host onboards using its own unique machine identity after Sysprep. Running the onboarding script before Sysprep is not the recommended approach because Sysprep generalizes the image and resets machine-specific identity.

Question 124

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 deployment. You need to ensure that users are signed out automatically when they disconnect from a session. Solution: From the Local Group Policy Editor, you configure the Session Time Limits settings. Does this meet the goal?

A. Yes
B. No
Show Answer
Correct Answer: A
Explanation:
Configuring the Remote Desktop Session Host 'Session Time Limits' Group Policy settings allows you to define a time limit for disconnected sessions and to end (log off) the session when the limit is reached. In Azure Virtual Desktop, these policies can be applied to session hosts to automatically sign users out after they disconnect.

$19

Get all 324 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.