microsoft az-140 practice test

Configuring and Operating Windows Virtual Desktop on Microsoft Azure

Note: Test Case questions are at the end of the exam
Last exam update: May 13 ,2024
Page 1 out of 8. Viewing questions 1-15 out of 117

Question 1 Topic 7, Mixed Questions

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 remove Host1 from the session host list.
Does this meet the goal?

  • A. Yes
  • B. No
Answer:

B

User Votes:
A
50%
B
50%

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

Discussions
vote your answer:
A
B
0 / 1000

Question 2 Topic 7, Mixed Questions

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 properties of the virtual machine of Host1, you enable just-in-time (JIT) VM access.
Does this meet the goal?

  • A. Yes
  • B. No
Answer:

B

User Votes:
A
50%
B
50%

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

Discussions
vote your answer:
A
B
0 / 1000

Question 3 Topic 7, Mixed Questions

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?

  • A. Yes
  • B. No
Answer:

A

User Votes:
A
50%
B
50%

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

Discussions
vote your answer:
A
B
0 / 1000

Question 4 Topic 7, Mixed Questions

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?

  • A. Create a Recovery Services vault.
  • B. Create a virtual machine snapshot of each session host.
  • C. Create an Azure Storage account that uses geo-redundant storage (GRS).
  • D. Create a new host pool.
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%

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

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 5 Topic 7, Mixed Questions

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?

  • A. the Diagnostic settings of the host pool
  • B. the Start-Stop-VM task
  • C. an Azure Automation account variable
  • D. an action group
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%

Explanation:
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

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 6 Topic 7, Mixed Questions

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?

  • A. Invoke-RdsUserSessionLogoff
  • B. Remove-AzWvdUserSession
  • C. Invoke-RestMethod
  • D. Remove-Alias
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%

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

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 7 Topic 7, Mixed Questions

DRAG DROP
You have a Windows 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:

Answer:

Explanation:
Reference: https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-manage-snapshots Monitor and
Maintain a Windows Virtual Desktop Infrastructure

Discussions
0 / 1000

Question 8 Topic 7, Mixed Questions

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

Which resources can you back up by using Azure Backup?

  • A. WVDVM-0 and share1 only
  • B. WVDVM-0 only
  • C. WVDVM-0, Image1, and Image2 only
  • D. WVDVM-0, share1, and Image1 only
  • E. WVDVM-0, share1, Image1, and Image2
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%

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

Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 9 Topic 7, Mixed Questions

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 use session to
Pool1.
What should you run to retrieve the user session ID?

  • A. Get-ComputerInfo
  • B. qwinsta
  • C. whoami
  • D. Get-LocalUser
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%

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

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 10 Topic 7, Mixed Questions

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?

  • A. a managed identity in Azure Active Directory (Azure AD)
  • B. a group Managed Service Account (gMSA) in Azure AD DS
  • C. a Connections shared resource in Azure Automation
  • D. a Run As account in Azure Automation
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%

Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script

Discussions
vote your answer:
A
B
C
D
0 / 1000
ramonsanchez
6 months, 1 week ago

Correct answer is A, As of April 1, 2023, Run As accounts no longer work. We recommend you use managed identities instead.https://learn.microsoft.com/en-us/azure/virtual-desktop/set-up-scaling-script


Question 11 Topic 7, Mixed Questions

HOTSPOT
You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains two session hosts.
Pool1 is configured as shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in
the graphic.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:

Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/configure-host-pool-load-balancing

Discussions
0 / 1000

Question 12 Topic 7, Mixed Questions

You have an Azure Virtual Desktop host pool that runs Windows 10 Enterprise multi-session.
You need to configure automatic scaling of the host pool to meet the following requirements:
Distribute new user sessions across all running session hosts.

Automatically start a new session host when concurrent user sessions exceed 30 users per host.

What should you include in the solution?

  • A. an Azure Automation account and the depth-first load balancing algorithm
  • B. an Azure Automation account and the breadth-first load balancing algorithm
  • C. an Azure load balancer and the breadth-first load balancing algorithm
  • D. an Azure load balancer and the depth-first load balancing algorithm
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%

Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/host-pool-load-balancing https://docs.microsoft.com/en-
us/azure/virtual-desktop/configure-host-pool-load-balancing

Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 13 Topic 7, Mixed Questions

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 the following:
A Microsoft 365 E5 tenant

An on-premises Active Directory domain

A hybrid Azure Active Directory (Azure AD) tenant

An Azure Active Directory Domain Services (Azure AD DS) managed domain An Azure Virtual Desktop deployment


The Azure Virtual Desktop deployment contains personal desktops that are hybrid joined to the on-premises domain and
enrolled in Microsoft Intune.
You need to configure the security settings for the Microsoft Edge browsers on the personal desktops.
Solution: You configure a Group Policy Object (GPO) in the Azure AD DS managed domain.
Does this meet the goal?

  • A. Yes
  • B. No
Answer:

B

User Votes:
A
50%
B
50%

Explanation:
Reference: https://www.compete366.com/blog-posts/eight-tips-on-how-to-manage-azure-virtual-desktop-avd/

Discussions
vote your answer:
A
B
0 / 1000

Question 14 Topic 7, Mixed Questions

HOTSPOT
You have a hybrid Azure Active Directory (Azure AD) tenant named contoso.com that contains the users shown in the
following table.

You have an Azure Virtual Desktop host pool. All the session hosts have a folder named C:\Folder1.
You create an FSLogix Application Masking rule as shown in the following exhibit.

You create assignments for the Application Masking rule as shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Answer:

Explanation:
References: https://docs.microsoft.com/en-us/fslogix/application-masking-rules-ht https://docs.microsoft.com/en-
us/fslogix/application-masking-users-groups-ht

Discussions
0 / 1000

Question 15 Topic 7, Mixed Questions

You have an Azure Virtual Desktop deployment.
You implement FSLogix profile containers.
You need to ensure that the FSLogix profile containers are not used for specific users.
What should you do?

  • A. Modify the local groups on each session host
  • B. Apply an Application Masking rule to each session host
  • C. Apply an AppLocker policy to each session host
  • D. Modify the RDP Properties of the host pool
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%

Explanation:
Reference:
https://docs.microsoft.com/en-us/fslogix/configure-profile-container-tutorial

Discussions
vote your answer:
A
B
C
D
0 / 1000
To page 2