Microsoft AZ-140 Exam Practice Questions (P. 5)
- Full Access (330 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #41
You create the virtual machines shown in the following table.

You need a source virtual hard disk for new Azure Virtual Desktop session host deployments. The source operating system must have user-specific and machine- specific information removed.
Which virtual machines can you use as the source?

You need a source virtual hard disk for new Azure Virtual Desktop session host deployments. The source operating system must have user-specific and machine- specific information removed.
Which virtual machines can you use as the source?
- ASourceVM3 only
- BSourceVM1 only
- CSourceVM1, SourceVM2, and SourceVM3
- DSourceVM1 and SourceVM2 only
- ESourceVM2 onlyMost Voted
Correct Answer:
E
Generalizing removes machine specific information so the image can be used to create multiple VMs. Once the VM has been generalized, you need to let the platform know so that the boot sequence can be set correctly.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/generalize
E
Generalizing removes machine specific information so the image can be used to create multiple VMs. Once the VM has been generalized, you need to let the platform know so that the boot sequence can be set correctly.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/generalize
send
light_mode
delete
Question #42
You have an Azure Virtual Desktop deployment.
You plan to use FSLogix profile containers.
You need to recommend a solution that will be used to store the containers. The solution must meet the following requirements:
* The containers must be stored on solid-state drives (SSDs)
* Minimize administrative effort
* Minimize cost
What should you recommend?
You plan to use FSLogix profile containers.
You need to recommend a solution that will be used to store the containers. The solution must meet the following requirements:
* The containers must be stored on solid-state drives (SSDs)
* Minimize administrative effort
* Minimize cost
What should you recommend?
- AAzure NetApp Files
- BAzure Files Standard
- CAzure Blob Storage Premium
- DAzure Files PremiumMost Voted
Correct Answer:
D
Azure Files integration with Azure Active Directory Domain Service
FSLogix profile containers' performance and features take advantage of the cloud. On August 7th, 2019, Microsoft Azure Files announced the general availability of Azure Files authentication with Azure Active Directory Domain Service (Azure AD DS). By addressing both cost and administrative overhead, Azure Files with
Azure AD DS Authentication is a premium solution for user profiles in the Azure Virtual Desktop service.
Premium file shares enable highly I/O-intensive workloads, with high throughput and low latency. Premium file shares are offered on high-performance solid-state drive (SSD) based storage.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/fslogix-containers-azure-files https://azure.microsoft.com/en-us/pricing/details/storage/files/
D
Azure Files integration with Azure Active Directory Domain Service
FSLogix profile containers' performance and features take advantage of the cloud. On August 7th, 2019, Microsoft Azure Files announced the general availability of Azure Files authentication with Azure Active Directory Domain Service (Azure AD DS). By addressing both cost and administrative overhead, Azure Files with
Azure AD DS Authentication is a premium solution for user profiles in the Azure Virtual Desktop service.
Premium file shares enable highly I/O-intensive workloads, with high throughput and low latency. Premium file shares are offered on high-performance solid-state drive (SSD) based storage.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/fslogix-containers-azure-files https://azure.microsoft.com/en-us/pricing/details/storage/files/
send
light_mode
delete
Question #43
HOTSPOT -
You have an Azure Virtual Desktop deployment that contains two users named User1 and User2 and the storage accounts shown in the following table.

The File share settings for storage1 are configured as shown in the following exhibit.

The File share settings for storage2 are configured 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:

You have an Azure Virtual Desktop deployment that contains two users named User1 and User2 and the storage accounts shown in the following table.

The File share settings for storage1 are configured as shown in the following exhibit.

The File share settings for storage2 are configured 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:

Correct Answer:
Box 1: Yes -
Storage1: Storage File Data SMB Share Contributor is assigned to User1.
The Share1 on Storage1 is transaction optimized.
Storage File Data SMB Share Contributor, Allows for read, write, and delete access on files and directories in Azure file shares.
Box 2: Yes -
Storage2 has Share4. User2 is the owner of Storage2.
Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-assign-permissions

Box 1: Yes -
Storage1: Storage File Data SMB Share Contributor is assigned to User1.
The Share1 on Storage1 is transaction optimized.
Storage File Data SMB Share Contributor, Allows for read, write, and delete access on files and directories in Azure file shares.
Box 2: Yes -
Storage2 has Share4. User2 is the owner of Storage2.
Box 3: Yes -
Reference:
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-identity-ad-ds-assign-permissions
send
light_mode
delete
Question #44
You have an Azure Virtual Desktop host pool named HostPool1. HostPool1 contains Windows 10 session hosts and the application groups shown in the following table.

You need to assign an instance of a Windows 11 Desktop application group to users.
What should you do first?

You need to assign an instance of a Windows 11 Desktop application group to users.
What should you do first?
- ACreate a scaling plan.
- BCreate a new workspace.
- CAdd a session host to HostPool1.
- DCreate a new host pool.Most Voted
Correct Answer:
D
If you've already created a host pool and session host VMs using the Azure portal or PowerShell, you can add application groups from the Azure portal.
The default app group created for a new Azure Virtual Desktop host pool also publishes the full desktop. In addition, you can create one or more RemoteApp application groups for the host pool.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups
D
If you've already created a host pool and session host VMs using the Azure portal or PowerShell, you can add application groups from the Azure portal.
The default app group created for a new Azure Virtual Desktop host pool also publishes the full desktop. In addition, you can create one or more RemoteApp application groups for the host pool.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups
send
light_mode
delete
Question #45
HOTSPOT -
You have an Azure subscription named Subscription1 that contains the users shown in the following table.

Subscription1 contains the Azure Virtual Desktop host pools shown in the following table.

Subscription1 contains the Azure Virtual Desktop application groups shown in the following table.

You perform the role assignments 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.
Hot Area:

You have an Azure subscription named Subscription1 that contains the users shown in the following table.

Subscription1 contains the Azure Virtual Desktop host pools shown in the following table.

Subscription1 contains the Azure Virtual Desktop application groups shown in the following table.

You perform the role assignments 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.
Hot Area:

Correct Answer:
Box 1: Yes -
The P1-0.contoso.com session host is in Pool1.
Group1 has the Desktop Virtualization User Session Operator role for Pool1.
User1 is member of Group1.
Desktop Virtualization User Session Operator
The Desktop Virtualization User Session Operator role allows users to send messages, disconnect sessions, and use the "logoff" function to sign sessions out of the session host. However, this role doesn't let users perform session host management like removing session host, changing drain mode, and so on. This role can see assignments, but can't modify admins. We recommend you assign this role to specific host pools. If you give this permission at a resource group level, the admin will have read permission on all host pools under a resource group.
Box 2: No -
User2 is member of Group2 and Group3. Those do not give access to the P1-0.contoso.com session host in Pool1.
Box 3: Yes -
User2, as a member of Group3, is a Desktop Virtualization User for AppGroup2. Pool2 is in AppGroup2. The P2-0.contoso.com session host is in Pool2.
Desktop Virtualization User -
The Desktop Virtualization User role allows users to use the applications in an application group.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/rbac

Box 1: Yes -
The P1-0.contoso.com session host is in Pool1.
Group1 has the Desktop Virtualization User Session Operator role for Pool1.
User1 is member of Group1.
Desktop Virtualization User Session Operator
The Desktop Virtualization User Session Operator role allows users to send messages, disconnect sessions, and use the "logoff" function to sign sessions out of the session host. However, this role doesn't let users perform session host management like removing session host, changing drain mode, and so on. This role can see assignments, but can't modify admins. We recommend you assign this role to specific host pools. If you give this permission at a resource group level, the admin will have read permission on all host pools under a resource group.
Box 2: No -
User2 is member of Group2 and Group3. Those do not give access to the P1-0.contoso.com session host in Pool1.
Box 3: Yes -
User2, as a member of Group3, is a Desktop Virtualization User for AppGroup2. Pool2 is in AppGroup2. The P2-0.contoso.com session host is in Pool2.
Desktop Virtualization User -
The Desktop Virtualization User role allows users to use the applications in an application group.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/rbac
send
light_mode
delete
Question #46
You have an on-premises network and an Azure subscription. The subscription contains the following virtual network:
* Name:VNet1
* Address space: 10.10.0.0/16
* Subnet name: Subnet1
* Subnet1 address range: 10.10.0.0/16
You deploy an Azure Virtual Desktop host pool that contains 10 session hosts to Subnets.
You plan to deploy a VPN gateway to VNet1 and provide the session hosts with access to the on-premises network.
You need to ensure that you can deploy the VPN gateway.
What should you do first?
* Name:VNet1
* Address space: 10.10.0.0/16
* Subnet name: Subnet1
* Subnet1 address range: 10.10.0.0/16
You deploy an Azure Virtual Desktop host pool that contains 10 session hosts to Subnets.
You plan to deploy a VPN gateway to VNet1 and provide the session hosts with access to the on-premises network.
You need to ensure that you can deploy the VPN gateway.
What should you do first?
- AModify the address range of Subnet1.
- BAdd a subnet named GatewaySubnet to VNet1.
- CModify the address space of VNet1.Most Voted
- DAssociate a network security group (NSG) to Subnet1.
send
light_mode
delete
Question #47
You have an Azure Virtual Desktop deployment that contains a host pool. The pool has the following settings:
* Resource group: RG1
* Host pool name: Pool1
* Location: East US
* Host pool type: Pooled
The deployment contains the workspaces shown in the following table.

For Pool1, you plan to create a RemoteApp application group named AppGroup1.
In which workspaces can you register AppGroup1?
* Resource group: RG1
* Host pool name: Pool1
* Location: East US
* Host pool type: Pooled
The deployment contains the workspaces shown in the following table.

For Pool1, you plan to create a RemoteApp application group named AppGroup1.
In which workspaces can you register AppGroup1?
- AWorkspace1 and Workspace2 only
- BWorkspace1 and Workspace3 onlyMost Voted
- CWorkspace1 only
- DWorkspace1, Workspace2, Workspace3, and Workspace4
Correct Answer:
B
You can only register the app group to workspaces created in the same location as the host pool. Also. if you've previously registered another app group from the same host pool as your new app group to a workspace, it will be selected and you can't edit it. All app groups from a host pool must be registered to the same workspace.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups
B
You can only register the app group to workspaces created in the same location as the host pool. Also. if you've previously registered another app group from the same host pool as your new app group to a workspace, it will be selected and you can't edit it. All app groups from a host pool must be registered to the same workspace.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups
send
light_mode
delete
Question #48
HOTSPOT -
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.

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:

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.

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:

Correct Answer:
Box 1: 4 -
20%, minimum percentage of hosts, of 20 session hosts is 4 hosts.
Box 2: evenly across all available session hosts
The load balancing algorithm is breadth-first.
Breadth-first load balancing allows you to evenly distribute user sessions across the session hosts in a host pool.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/host-pool-load-balancing

Box 1: 4 -
20%, minimum percentage of hosts, of 20 session hosts is 4 hosts.
Box 2: evenly across all available session hosts
The load balancing algorithm is breadth-first.
Breadth-first load balancing allows you to evenly distribute user sessions across the session hosts in a host pool.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/host-pool-load-balancing
send
light_mode
delete
Question #49
HOTSPOT -
You have an Azure subscription.
You plan to deploy an Azure Virtual Desktop solution that will contain Windows 10 multi-session hosts in a single host pool. The solution has the requirements shown in the following table.

You need to configure the session host for the host pool. The solution must minimize costs.
How many session hosts should the host pool contain, and how many vCPUs should each session host have? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

You have an Azure subscription.
You plan to deploy an Azure Virtual Desktop solution that will contain Windows 10 multi-session hosts in a single host pool. The solution has the requirements shown in the following table.

You need to configure the session host for the host pool. The solution must minimize costs.
How many session hosts should the host pool contain, and how many vCPUs should each session host have? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:
Box 1: 25 -
400 users, 16 concurrent users per session host. Need 400/16=25 session hosts.
Box 2: 4 -
1 VCPU for 4 user, 16 concurrent users per session host. Need 16/4=4 vCPU per session host.
Note: The following table shows examples of standard or larger user workloads with 20 or more users:

Reference:
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/virtual-machine-recs

Box 1: 25 -
400 users, 16 concurrent users per session host. Need 400/16=25 session hosts.
Box 2: 4 -
1 VCPU for 4 user, 16 concurrent users per session host. Need 16/4=4 vCPU per session host.
Note: The following table shows examples of standard or larger user workloads with 20 or more users:

Reference:
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/virtual-machine-recs
send
light_mode
delete
Question #50
You have an Azure 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.
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.
- Athe Storage Blob Data Contributor role for storage1
- Bthe List folder / read data NTFS permissions for share1
- Cthe Modify NTFS permissions for share1Most Voted
- Dthe Storage File Data SMB Share Reader role for storage1
- Ethe Storage File Data SMB Share Elevated Contributor role for storage1
- Fthe Storage File Data SMB Share Contributor role for storage1Most Voted
Correct Answer:
CF
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-file-share
CF
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-file-share
send
light_mode
delete
All Pages