Microsoft AZ-140 Exam (page: 5)
Microsoft Configuring and Operating Azure Virtual Desktop
Updated on: 25-Dec-2025

Viewing Page 5 of 43

You have an Azure Virtual Desktop host pool named Pool1 and an Azure Automation account named Account1. Pool1 is integrated with an Azure Active Directory Domain Services (Azure AD DS) managed domain named contoso.com.

You plan to configure scaling for Pool1 by using Azure Automation runbooks.

You need to authorize the runbooks to manage the scaling of Pool1. The solution must minimize administrative effort.

What should you configure?

  1. a managed identity in Azure Active Directory (Azure AD)
  2. a group Managed Service Account (gMSA) in Azure AD DS
  3. a Connections shared resource in Azure Automation
  4. a Run As account in Azure Automation

Answer(s): A



You have an Azure Virtual Desktop host pool named Pool1 that runs Windows 10 Enterprise multi-session hosts.

You need to use Performance Monitor to troubleshoot a low frame quality issue that is affecting a current user session to Pool1.

What should you run to retrieve the user session ID?

  1. Get-ComputerInfo
  2. qwinsta
  3. whoami
  4. Get-LocalUser

Answer(s): B


Reference:

https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-vm-configuration



You have an Azure subscription that contains the resources shown in the following table.



Which resources can you back up by using Azure Backup?

  1. WVDVM-0 and share1 only
  2. WVDVM-0 only
  3. WVDVM-0, Image1, and Image2 only
  4. WVDVM-0, share1, and Image1 only
  5. WVDVM-0, share1, Image1, and Image2

Answer(s): A


Reference:

https://docs.microsoft.com/en-us/azure/backup/backup-afs https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction



DRAG DROP (Drag and Drop is not supported)

You have an Azure Virtual Desktop host pool named Pool1. Pool1 contains session hosts that use FSLogix profile containers hosted in Azure NetApp Files volumes.

You need to back up profile files by using snapshots.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Reference:

https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-manage-snapshots



You have an Azure Virtual Desktop deployment.

You deploy and configure Azure Virtual Desktop in a secondary location.

You plan to perform a test failover to the secondary location, but discover existing user sessions to the primary location.

You need to sign out users from the session hosts in the primary location.

Which PowerShell cmdlet should you run?

  1. Invoke-RdsUserSessionLogoff
  2. Remove-AzWvdUserSession
  3. Invoke-RestMethod
  4. Remove-Alias

Answer(s): B


Reference:

https://docs.microsoft.com/en-us/azure/virtual-desktop/disaster-recovery



You have an Azure Virtual Desktop deployment.

You use the Start/Stop VMs during off-hours feature in Azure.

You need to configure which virtual machines must never be stopped by the solution.

What should you configure?

  1. the Diagnostic settings of the host pool
  2. the Start-Stop-VM task
  3. an Azure Automation account variable
  4. an action group

Answer(s): C


Reference:

https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management-enable



You have an Azure Virtual Desktop host pool in the US East Azure region.

You need to ensure that the host pool can fail over to the US West Azure region.

What should you do first?

  1. Create a Recovery Services vault.
  2. Create a virtual machine snapshot of each session host.
  3. Create an Azure Storage account that uses geo-redundant storage (GRS).
  4. Create a new host pool.

Answer(s): A


Reference:

https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-tutorial-enable-replication



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 host pool, you change the Drain mode of Host1.

Does this meet the goal?

  1. Yes
  2. No

Answer(s): A


Reference:

https://docs.microsoft.com/en-us/azure/virtual-desktop/drain-mode



Viewing Page 5 of 43



Share your comments for Microsoft AZ-140 exam with other users:

Wang 6/9/2022 10:05:00 PM

pay attention to questions. they are very tricky. i waould say about 80 to 85% of the questions are in this exam dump.
UNITED STATES


gr 7/2/2023 7:03:00 AM

ques 4 answer should be c ie automatically recover from failure
Anonymous