Practice Free AZ-140 Exam Online Questions
HOTSPOT
You have a Microsoft Entra tenant that is linked to an Azure subscription.
The tenant contains the identities shown in the following table.
You have an Azure Virtual Desktop deployment that contains a host pool named Pool1.
Pool1 contains a session host named Host1.
You create the application group shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

HOTSPOT
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.

HOTSPOT
You have an Azure Virtual Desktop Deployment that contains a workspace named Workspace1 and a user named User1. Workspace1 contains a Desktop application group named Pool1Desktop.
At 09:00, you create a conditional access policy that has the following settings:
✑ Assignments:
– Users and groups: User1
– Cloud apps or actions: Azure Virtual Desktop
– Conditions: 0 conditions selected
✑ Access controls
– Grant: Grant access, Require multi-factor authentication
– Sessions: Sign-in frequency 1 hour
User1 performs the actions shown in the following table.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-mfa
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.
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?
- A . Rule2
- B . Rule3
- C . Rule4
- D . Rule1
B
Explanation:
https://docs.microsoft.com/en-us/azure/virtual-desktop/safe-url-list
Any Remote Desktop clients you use must have access to the following URLs:
Remote Desktop clients
Address Outbound TCP port
*.wvd.microsoft.com 443
*.servicebus.windows.net 443
go.microsoft.com 443
aka.ms 443
docs.microsoft.com 443
privacy.microsoft.com 443
query.prod.cms.rt.microsoft.com 443
You have an Azure Virtual Desktop deployment that contains a host pool named Pooll Pool1 contains two session hosts.
You create a new virtual machine named Host3 that runs Windows 11.
You need to add Host3 as a third session host to Pool1.
What should you do first?
- A . Generate a registration key.
- B . Assign a scaling plan to Pool1.
- C . Deallocate the existing session hosts.
- D . Generate a certificate for Host3.
You have an Azure Virtual Desktop deployment that contains a host pool named Pooll Pool1 contains two session hosts.
You create a new virtual machine named Host3 that runs Windows 11.
You need to add Host3 as a third session host to Pool1.
What should you do first?
- A . Generate a registration key.
- B . Assign a scaling plan to Pool1.
- C . Deallocate the existing session hosts.
- D . Generate a certificate for Host3.
You plan to deploy Windows Virtual Desktop. The deployment will use existing virtual machines.
You create a Windows Virtual Desktop host pool.
You need to ensure that you can add the virtual machines to the host pool.
What should you do first?
- A . Register the Microsoft.DesktopVirtualization provider.
- B . Generate a registration key.
- C . Run the Invoke-AzVMRunCommand cmdlet.
- D . Create a role assignment.
B
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketplace
HOTSPOT
You have an Azure Virtual Desktop deployment.
You are configuring the outbound firewall settings for the host pool.
Which outbound URL and outbound port should you configure to ensure that the host machines maintain Windows activation? To answer, select the appropriate options In the answer area. NOTE: Each correct selection is worth one point.

Explanation:
To ensure that the host machines maintain Windows activation, you need to allow outbound traffic to the Microsoft Key Management Services (KMS) server. The KMS service is used for activating Windows operating systems and is contacted periodically to renew the activation status.
The outbound URL for the KMS service typically includes "kms" in the hostname. Based on the provided URLs, the correct one would be:
kms.core.windows.net
For the outbound port, KMS uses the following port:
1688
So the correct options are:
Outbound URL: kms.core.windows.net
Outbound port: 1688
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
C
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
You have an Azure Virtual Desktop host pool. The pool contains session hosts that run Windows 10 Enterprise multi-session.
You connect to a Remote Desktop session on Pool1 and discover an issue with the frequency of screen updates.
You need to identify whether the issue relates to insufficient server, network, or client resources. The solution must minimize how long it takes to identify the resource type.
What should you do?
- A . From within the current session, use the Azure Virtual Desktop Experience Estimator.
- B . From Azure Cloud Shell, run the Get-AzOperationalInsightsWorkspaceUsage cmdlet and specify the DefaultProfile parameter.
- C . From Azure Cloud Shell, run the Get-AzWvdUserSession cmdlet and specify the UserSessionId parameter.
- D . From within the current session, use Performance Monitor to display the values of all the RemoteFX Graphics(*)Frames Skipped/Second counters.
D
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/virtual-desktop/remotefx-graphics-performance-counters