Redeem Your Black Friday Code: 80% Off All Exam Bundles! Use coupon code below! - Ends in 0d 00h 00m 00s - Coupon code: SECRET80

Microsoft AZ-140 Configuring and Operating Microsoft Azure Virtual Desktop Exam Practice Test

Page: 1 / 31
Total 313 questions

Configuring and Operating Microsoft Azure Virtual Desktop Questions and Answers

Question 1

You need to deploy the session hosts to meet the deployment requirements Which PowerShell cmdlel should you run first?

Options:

A.

New-AzwvdRegistratrationinfo

B.

Get-AzApiManagementSsoToken

C.

Set-AzWMADDomainExtension

D.

Update-AZwvdSessionHost

Question 2

You need to recommend a DNS infrastructure that meet the performance requirements. What should you recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Question # 2

Options:

Question 3

Which two roles should you assign to Admin2 to meet the security requirements? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Desktop Virtualization Host Pool Contributor

B.

Desktop Virtualization Application Group Contributor

C.

Desktop Virtualization Workspace Contributor

D.

Desktop Virtualization Application Group Reader

E.

User Access Administrator

Question 4

You need to recommend an authentication solution that meets the performance requirements.

Which two actions should you include in the recommendation? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Join all the session hosts to Azure AD.

B.

In each Azure region that will contain the Windows Virtual Desktop session hosts, create an Azure Active Directory Domain Service (Azure AD DS) managed domain.

C.

Deploy domain controllers for the on-premises Active Directory domain on Azure virtual machines.

D.

Deploy read-only domain controllers (RODCs) on Azure virtual machines.

E.

In each Azure region that will contain the Windows Virtual Desktop session hosts, create an Active Directory site.

Question 5

You need to modify the custom virtual machine images to meet the deployment requirements.

What should you install?

Options:

A.

the RSAT: Remote Desktop Services Tools optional feature

B.

the Azure Virtual Desktop Agent

C.

the Microsoft Monitoring Agent

D.

the FSLogix agent

Question 6

You need to implement network security to meet the security requirements and the performance requirements.

Which two actions should you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Deploy two Azure Firewall instances and Azure Firewall Manager.

B.

Filter traffic by using outbound rules.

C.

Filter traffic by using infrastructure rules.

D.

Filter traffic by using inbound rules.

E.

Deploy a network security group (NSG) and two application security groups.

F.

Deploy an Azure Firewall instance and Azure Firewall Manager.

Question 7

You need to ensure that you can implement user profile shares for the Boston office users. The solution must meet the user profile requirements.

Which four 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.

Question # 7

Options:

Question 8

You need to configure a conditional access policy to meet the authentication requirements.

What should you include in the policy configuration? To answer, select the appropriate options in the answer area.

NOTE Each correct selection is worth one point.

Question # 8

Options:

Question 9

You need to ensure the resiliency of the user profiles for the Boston office users. The solution must meet the user performance requirements.

What should you do?

Options:

A.

Modify the Account kind setting of storage1.

B.

Modify the replication settings of storage1.

C.

Implement Azure Site Recovery.

D.

Configure Cloud Cache.

Question 10

You need to configure the user settings of Admin1 to meet the user profile requirements.

What should you do?

Options:

A.

Modify the membership of the FSLogix ODFC Exclude List group.

B.

Modify the membership of the FSLogix Profile Exclude List group.

C.

Modify the HKLM\SOFTWARE\FSLogix\Profiles registry settings.

D.

Modify the HKLM\SOFTWARE\FSLogix\ODFC registry settings.

Question 11

Which setting should you modify for VNET4 before you can deploy Pool4?

Options:

A.

Service endpoints

B.

Address space

C.

DNS servers

D.

Access control (IAM)

E.

Peerings

Question 12

Which three PowerShell modules should you install on Server1 to meet the technical requirements? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Pester

B.

RemoteDesktop

C.

ServerManager

D.

ActiveDirectory

E.

Hyper-V

Question 13

You plan to implement the FSLogix profile containers for the Seattle office.

Which storage account should you use?

Options:

A.

storage2

B.

storage4

C.

storage3

D.

storage1

Question 14

Which role should you assign to Operator2 to meet the technical requirements?

Options:

A.

Desktop Virtualization Session Host Operator

B.

Desktop Virtualization Host Pool Contributor

C.

Desktop Virtualization User Session Operator

D.

Desktop Virtualization Contributor

Question 15

Which users can create Pool4, and which users can join session hosts to the domain? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 15

Options:

Question 16

You need to evaluate the RDS deployment in the Seattle office. The solution must meet the technical requirements.

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.

Question # 16

Options:

Question 17

You are planning the deployment of Pool4.

What will be the maximum number of users that can connect to Pool4, and how many session hosts are needed to support five concurrent user sessions? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 17

Options:

Question 18

You need to configure the virtual machines that have the Pool1 prefix. The solution must meet the technical requirements.

What should you use?

Options:

A.

a Windows Virtual Desktop automation task

B.

Virtual machine auto-shutdown

C.

Service Health in Azure Monitor

D.

Azure Automation

Question 19

You need to configure the device redirection settings. The solution must meet the technical requirements.

Where should you configure the settings?

Options:

A.

Workspace1

B.

MontrealUsers

C.

Group1

D.

Pool1

Question 20

What should you configure to meet the networking requirements?

Options:

A.

an on-premises data gateway

B.

the Networking settings for the host pool

C.

a Site-to-Site (S2S) VPN connection

D.

a Point-to-Site (P2S) VPN connection

Question 21

Which monitoring solution should you configure to meet the security requirements?

Options:

A.

VM insights

B.

Azure Virtual Desktop Insights

C.

Application Insights

D.

Azure Monitor activity log insights

Question 22

Which two actions should you perform to meet the security requirements for Defender for Endpoint? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create an app attach image for the Azure Virtual Desktop deployment.

B.

Use a Group Policy Object (GPO) to run an onboarding script from a shared location.

C.

Add a Defender for Endpoint onboarding script to VM1 and run the script at first startup.

D.

Run a Defender for Endpoint onboarding script on VM1 before generalizing the VM1 source image.

Question 23

Which host pool design and which service should you configure to meet the disaster recovery requirements? To answer, drag the appropriate solution to the correct requirements. Each solution 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.

Question # 23

Options:

Question 24

What should you do to meet the user profile requirements?

Options:

A.

Create a new Azure Blob Storage account.

B.

Join storage1 to the AD DS domain.

C.

Create a new Azure Files share.

D.

Join storage1 to the Microsoft Entra Domain Services managed domain.

Question 25

You have an Azure Virtual Desktop deployment that contains a host pool named Pooll.

Pool1 contains five session hosts joined to an Active Directory Domain Services {AD DS) domain.

You plan to use the Azure portal to add additional session hosts and specify a custom configuration.

Which type of custom configuration should you use. and where should you store the custom configuration? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 25

Options:

Question 26

You have a Azure Virtual Desktop deployment.

You plan to implement the Start/Stop VMs during off-hours feature.

You need to ensure that you can stop the session hosts automatically based on the CPU utilization.

What should you do on the session hosts?

Options:

A.

Enable change tracking.

B.

Configure the Power Management settings.

C.

Configure the Diagnostic settings.

D.

Install the Azure Virtual Desktop Agent

Question 27

You have an Azure subscription named Sub1 that contains an Azure Virtual Desktop deployment and the resources shown in the following table.

Question # 27

You need to enable Azure Virtual Desktop peruser access pricing for User1. At which level should you enable peruser access pricing?

Options:

A.

Sub1

B.

Pool1

C.

AppGrp1

D.

Host1

E.

User1

Question 28

You have a Azure Virtual Desktop deployment that contains multiple host pools.

You need to create a PowerShell script to sign users out of a specific session host before you perform a maintenance task.

Which PowerShell module should you load in the script?

Options:

A.

Az.Automation

B.

Az.COMputC

C.

Az.Maintenance

D.

Az.DektopVirtualization

Question 29

You have an Azure Virtual Desktop host pool named Pool1, an application named App1, and an Azure file share named Share1.

You need to ensure that you can publish App1 to Pool1 by using MSIX app attach.

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

Question # 29

Options:

Question 30

You have an Azure Virtual Desktop host pool that contains 20 Windows 11 session hosts.

You create a Windows Defender Application Control (WDAC) policy named Policy 1.xml.

You need to deploy PolicyLxm1 to the session hosts.

How should you prepare the policy, and to where should you copy the policy? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 30

Options:

Question 31

You have an Azure Virtual Desktop host pool named HostPool1 that contains 20 session hosts.

You create a new scaling plan that has the Ramp-up settings shown in the following exhibit.

Question # 31

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.

Question # 31

Options:

Question 32

You have an Azure subscription that contains an Azure Virtual Desktop deployment. All the session hosts in the deployment are joined to Active Directory.

You plan to implement Quality of Service (QoS) for the deployment by using Group Policy.

You need to configure a QoS policy that will tag Remote Desktop Services (RDS) traffic for Expedited Forwarding (EF)-

Which DSCP value should you specify, and which executable should you tag? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 32

Options:

Question 33

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?

Options:

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.

Question 34

You have a Azure Virtual Desktop host pool named Pool1 that is integrated with an Azure Active Directory Domain Services (Azure AD DS) managed domain.

You need to configure idle session timeout settings for users that connect to the session hosts in Pool 1.

Solution: From the Azure portal you modify the Advanced settings in the RDP Properties of Pool1.

Does This meet the goal?

Options:

A.

Yes

B.

No

Question 35

You have an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure virtual network named VNET1.

To VNET1, you deploy an Azure Active Directory Domain Services (Azure AD DS) managed domain named litwareinc.com.

To VNET1, you plan to deploy a Windows Virtual Desktop host pool named Pool1.

You need to ensure that you can deploy Windows 10 Enterprise host pools to Pool1.

What should you do first?

Options:

A.

Modify the settings of the litwareinc.com DNS zone.

B.

Modify the DNS settings of VNET1.

C.

Add a custom domain name to contoso.com.

D.

Implement Azure AD Connect cloud sync.

Question 36

Your company has a main office and two branch offices. Each office connects directly to the internet. The router in each branch office is configured as an endpoint for the following VPNs:

    A VPN connection to the main office

    A site-to-site VPN to Azure

The routers in each branch office have the Quality of Service (QoS) rules shown in the following table.

Question # 36

Users in the branch office report slow responses and connection errors when they attempt to connect to Windows Virtual Desktop resources.

You need to modify the QoS rules on the branch office routers to improve Windows Virtual Desktop performance.

For which rule should you increase the bandwidth allocation?

Options:

A.

Rule2

B.

Rule3

C.

Rule4

D.

Rule1

Question 37

You have an Azure Virtual Desktop host pool named Pool1. Pool1 contains session hosts that run Windows 11 Enterprise multi-session.

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

Which performance counter should you use?

Options:

A.

GPU Engine

B.

Terminal Services Session

C.

Terminal Services

D.

RemoteFX Graphics

Question 38

You have a Windows Virtual Desktop host pool named Pool1 and an Azure Storage account named Storage1.

Storage1 stores FSLogix profile containers in a share folder named share1.

You create a new group named Group1. You provide Group1 with permission to sign in to Pool1.

You need to ensure that the members of Group1 can store the FSLogix profile containers in share1. The solution must use the principle of least privilege.

Which two privileges should you assign to Group1? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

the Storage Blob Data Contributor role for storage1

B.

the List folder / read data NTFS permissions for share1

C.

the Modify NTFS permissions for share1

D.

the Storage File Data SMB Share Reader role for storage1

E.

the Storage File Data SMB Share Elevated Contributor role for storage1

F.

the Storage File Data SMB Share Contributor role for storage1

Question 39

You have an Azure subscription that contains an Azure Virtual Desktop deployment. The subscription contains the virtual networks shown in the following table.

Question # 39

have virtual network peering configured as shown in the following table.

Question # 39

The deployment contains the session hosts shown in the following table.

Windows Defender Firewall is configured on each session host to allow all network traffic between the session hosts For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Question # 39

Options:

Question 40

You have a Windows 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?

Options:

A.

Get-ComputerInfo

B.

qwinsta

C.

whoami

D.

Get-LocalUser

Question 41

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

Question # 41

You have a custom generalized Windows 10 image.

You plan to deploy an Azure Virtual Desktop host pool that will use the custom image and FSLogix profile containers.

You need to recommend which storage accounts to use for the custom image and the profile containers. The solution must meet the following requirements:

    Minimize costs to store the image.

    Maximize performance of the profile containers.

Which account should you recommend for each type of content? To answer, drag the appropriate accounts to the correct content type. Each account may be used once, more than once, or not at all. You many need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Question # 41

Options:

Question 42

You network contains an on-premises Active Directory domain that syncs to an Azure Active Directory (Azure AD) tenant. The domain contains the users shown in the following table.

Question # 42

You have a Windows Virtual Desktop deployment that contains the application groups shown in the following table.

Question # 42

You have the workspaces shown in the following table.

Question # 42

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Question # 42

Options:

Question 43

You have a Windows Virtual Desktop deployment.

You need to provide external users with access to the deployment. The external users have computers that run Windows 10 Pro and Windows 10 Enterprise. The users do not have the ability to install applications.

What should you recommend that the users use to connect to the deployment?

Options:

A.

Microsoft Edge

B.

RemoteApp and Desktop Connection

C.

Remote Desktop Manager

D.

Remote Desktop Connection

Question 44

You have an Azure Virtual Desktop host pool named Pool1.

You need to ensure that you can create an Azure NetApp Files volume that will host user profiles for Pool1.

Which four 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.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Question # 44

Options:

Question 45

You have an on-premises Windows device named Device1.

You have an Azure Virtual Desktop host pool named Pool1 that contains Windows 11 session hosts.

You create an application group named AppGrp1. You have an app named App1. App1 is added to AppGrp1 and published as a RemoteApp.

You need to ensure that when a user on Device1 connects to Appl. Microsoft OneDrive launches.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

For Pool1, configure the Advanced settings in RDP Properties.

B.

For Device1. configure the Enable enhanced shell experience for RemoteApp Group Policy setting.

C.

For Device1, configure the HKLH\Software\Microsoft\Windows\CurrentVersion\Run\OneOrive registry key.

D.

Add an assignment to AppGrp1.

E.

For the session hosts, configure the HKLM\Software\Microsoft\windows\CurrentVersion\Run\OneDrive registry key.

Question 46

You have an on-premises network and an Azure subscription. The subscription contains the following:

• A virtual network

• An Azure Firewall instance

• A Azure Virtual Desktop host pool

The virtual network connects to the on-premises network by using a site-to-site VPN.

You need to ensure that only users from the on-premises network can connect to the Azure Virtual Desktop managed resources in the host pool. The solution must minimize administrator effort.

What should you configure?

Options:

A.

an Azure Firewall rule

B.

a conditional access policy

C.

a network security group (NSG) rule

D.

a user-defined route

Question 47

You have an Azure Virtual Desktop deployment that contains a host pool named Pool1.

You have an MSI installer package named App1.

You need to create an MSIX image of App1 and make the image available to Pool1 by using app attach.

Which four 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.

Question # 47

Options:

Question 48

You have an Azure Virtual Desktop deployment.

You plan to use just-in-time (JIT) VM access to manage session host virtual machines.

You need to recommend license requirements for JIT VM access. Your solution must minimize costs.

Which license should you recommend?

Options:

A.

Microsoft Defender for Servers Plan 2

B.

Microsoft 365 E5

C.

Enterprise Mobility + Security E5

D.

Microsoft Defender for Servers Plan 1

Page: 1 / 31
Total 313 questions