Practice Free AZ-140 Exam Online Questions
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 Azure portal, add lock on Host1.
Does this meet the goal?
- A . Yes
- B . No
You have an Azure Virtual Desktop deployment.
You need to recommend a solution to run containerized applications without installing the applications on the session hosts.
What should you include in the recommendation?
- A . EXE applications
- B . MSI packages
- C . APPX app packages
- D . MSIX app packages
D
Explanation:
Reference: https://docs.microsoft.com/en-us/windows/msix/msix-container
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?
- A . At a command prompt, run the set computername command.
- B . At a command prompt, run the sysprep command.
- C . From PowerShell, run the rename-computer cmdlet.
- D . From the lock screen of the Windows device, perform a Windows Autopilot Reset.
B
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image#determinewhen-to-use-sysprep
You have an Azure Virtual Desktop deployment and the users shown in the following table.
All the users plan to use a web browser to access Azure Virtual Desktop resources.
Which users can connect to Azure Virtual Desktop by using their preferred browser?
- A . User2 only
- B . User1 only
- C . User1, User2, and User3
- D . User2 and User3 only
- E . User1 and User2 only
C
Explanation:
https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-web
You have an Azure subscription named Sub1 that contains a virtual network named VNet1.
Sub1 has an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool! contains 10 session hosts that are connected to VNet1.
You need to add a private endpoint connection to Pool1.
What should you do first?
- A . Add a service endpoint to VNet1.
- B . Reregister the Microsoft DesktopVirtualization resource provider on Sub1.
- C . Disable public access on Pool1.
- D . Enable RDP Shortpath for each session host.
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?
- A . Generate a shared access signature (SAS) key for storage1.
- B . Install the FSLogix agent on the session hosts of Pool1.
- C . From storage1, set Allow shared key access to Disabled.
- D . Configure the Profiles setting for the session hosts of Pool1.
B,D
Explanation:
To configure FSLogix profile containers for an Azure Virtual Desktop host pool, you need to:
B. Install the FSLogix agent on the session hosts of Pool1: The FSLogix agent is responsible for managing the FSLogix profile containers. It needs to be installed on each session host within the host pool.
D. Configure the Profiles setting for the session hosts of Pool1: After installing the FSLogix agent, you need to configure the Profile Container settings, typically through group policy or by directly editing the registry on the session hosts. This configuration includes setting the path to the profile containers, which would be the file share (share1) on the storage account (storage1).
The other options are not the next steps in setting up FSLogix profile containers:
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 configure the Auto-shutdown settings.
Does this meet the goal?
- A . Yes
- B . No
B
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/drain-mode
You have an Azure Virtual Desktop deployment.
You plan to deploy Update Management to manage automated updates for server-based session hosts.
You need to configure the prerequisites for Update Management.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Create a Log Analytics workspace.
- B . Create an Azure Automation account.
- C . Create an Azure Service Health alert rule.
- D . Enable the Application Insights Agent.
- E . Configure Azure Network Watcher.
AB
Explanation:
https://learn.microsoft.com/en-us/azure/architecture/hybrid/azure-update-mgmt
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 named Pool! that is integrated with a Microsoft Entra Domain Services managed domain. You need to configure idle session timeout settings for users that connect to the session hosts in Pool1.
Solution: From a Microsoft Entra joined computer, you modify the AADDC Users GPO settings.
Does this meet the goal?
- A . Yes
- B . No
You need to deploy the session hosts to meet the deployment requirements.
Which PowerShell cmdlel should you run first?
- A . New-AzwvdRegistratrationinfo
- B . Get-AzApiManagementSsoToken
- C . Set-AzWMADDomainExtension
- D . Update-AZwvdSessionHost
A
Explanation:
This cmdlet generates a registration token that you use when deploying new session hosts to ensure they register with the correct host pool in AVD.