Free Microsoft AZ-140 Exam Questions (page: 11)

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 11 of 84



Post your Comments and Discuss Microsoft AZ-140 exam prep with other Community members:

AZ-140 Exam Discussions & Posts