Microsoft AZ-140 Exam Practice Questions (P. 2)
- 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 #11
HOTSPOT -
You have an on-premises network.
All users have computers that run Windows 10 Pro.
You plan to deploy Azure Virtual Desktop to meet the department requirements shown in the following table.

You need to recommend licenses for the departments. The solution must minimize costs.
Which license should you recommend for each department? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

You have an on-premises network.
All users have computers that run Windows 10 Pro.
You plan to deploy Azure Virtual Desktop to meet the department requirements shown in the following table.

You need to recommend licenses for the departments. The solution must minimize costs.
Which license should you recommend for each department? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/windows-10-multisession-faq https://azure.microsoft.com/en-us/pricing/details/virtual-desktop/#pricing

Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/windows-10-multisession-faq https://azure.microsoft.com/en-us/pricing/details/virtual-desktop/#pricing
send
light_mode
delete
Question #12
Your company has 60,000 users.
You plan to deploy Azure Virtual Desktop.
You need to recommend a storage solution for the FSLogix profile containers. The solution must provide the highest possible IOPS and the lowest latency desktop experience.
What should you recommend?
You plan to deploy Azure Virtual Desktop.
You need to recommend a storage solution for the FSLogix profile containers. The solution must provide the highest possible IOPS and the lowest latency desktop experience.
What should you recommend?
- AAzure Data Lake Storage
- BAzure NetApp FilesMost Voted
- CAzure Blob Storage Premium
- DAzure Files Standard
Correct Answer:
B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/store-fslogix-profile
B
Reference:
https://docs.microsoft.com/en-us/azure/virtual-desktop/store-fslogix-profile
send
light_mode
delete
Question #13
Your company has a single office and has 40 employees.
You are planning an Azure Virtual Desktop deployment. The estimated user workloads are shown in the following table.

Half the users of each workload type work from home. All the users who work from home do NOT establish a VPN connection to the office.
Approximately how much bandwidth is needed between the office and Azure to support the planned workloads?
You are planning an Azure Virtual Desktop deployment. The estimated user workloads are shown in the following table.

Half the users of each workload type work from home. All the users who work from home do NOT establish a VPN connection to the office.
Approximately how much bandwidth is needed between the office and Azure to support the planned workloads?
send
light_mode
delete
Question #14
Your network contains an on-premises Active Directory domain that syncs to an Azure Active Directory (Azure AD) tenant. The domain contains the domain controllers shown in the following table.

The DNS servers are configured to forward requests to an external DNS service.
You create a new virtual network named VNET2 that is peered to VNET1 and has gateway transit enabled.
You plan to implement an Azure Virtual Desktop host pool in VNET2. The session hosts will be joined to the Active Directory domain.
You need to configure DNS to meet the following requirements:
✑ Ensure that Azure Virtual Desktop users can resolve on-premises servers and Azure resources.
✑ Ensure that azure Virtual Desktop remains operational if a DNS server fails.
✑ Minimize administrative effort.
What should you configure?

The DNS servers are configured to forward requests to an external DNS service.
You create a new virtual network named VNET2 that is peered to VNET1 and has gateway transit enabled.
You plan to implement an Azure Virtual Desktop host pool in VNET2. The session hosts will be joined to the Active Directory domain.
You need to configure DNS to meet the following requirements:
✑ Ensure that Azure Virtual Desktop users can resolve on-premises servers and Azure resources.
✑ Ensure that azure Virtual Desktop remains operational if a DNS server fails.
✑ Minimize administrative effort.
What should you configure?
- Athe DNS settings of VNET2 to use Server2 and Server1Most Voted
- Bthe DNS settings of VNET2 to use the Azure DNS service
- Cthe DNS settings of the virtual machines to use Server2 and Server1
- Dthe DNS settings of the virtual machines to use the Azure DNS service
Correct Answer:
A
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances#name-resolution-that-uses-your-own-dns- server
A
Reference:
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances#name-resolution-that-uses-your-own-dns- server
send
light_mode
delete
Question #15
HOTSPOT -
You have an Azure subscription that contains a hybrid Azure Active Directory (Azure AD) tenant and two domain-joined Azure virtual machines. The virtual machines run Windows Server 2019 and contain managed disks.
You plan to deploy an Azure Virtual Desktop host pool that will use a Storage Spaces Direct Scale-Out File Server to host user profiles.
You need to ensure that the virtual machines can host the Storage Spaces Direct deployment. The solution must meet the following requirements:
✑ Ensure that the user profiles are available if a single server fails.
✑ Minimize administrative effort.
What should you do? 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 that contains a hybrid Azure Active Directory (Azure AD) tenant and two domain-joined Azure virtual machines. The virtual machines run Windows Server 2019 and contain managed disks.
You plan to deploy an Azure Virtual Desktop host pool that will use a Storage Spaces Direct Scale-Out File Server to host user profiles.
You need to ensure that the virtual machines can host the Storage Spaces Direct deployment. The solution must meet the following requirements:
✑ Ensure that the user profiles are available if a single server fails.
✑ Minimize administrative effort.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Correct Answer:
References:
https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/deploy-storage-spaces-direct

References:
https://docs.microsoft.com/en-us/windows-server/storage/storage-spaces/deploy-storage-spaces-direct
send
light_mode
delete
Question #16
You have the Azure Virtual Desktop deployment shown in the following table.

You plan to deploy a new host pool as shown in the following table.

You need to ensure that you can deploy the host pool.
What should you do?

You plan to deploy a new host pool as shown in the following table.

You need to ensure that you can deploy the host pool.
What should you do?
- AAdd a lock to the existing host pool.
- BStop and deallocate one of the currently deployed virtual machines.
- CSubmit a support request for service and subscription limits.Most Voted
- DChange the proposed virtual machine size for the session hosts to D4s_v3.
Correct Answer:
C
Reference:
https://docs.microsoft.com/en-us/azure/azure-portal/supportability/per-vm-quota-requests
C
Reference:
https://docs.microsoft.com/en-us/azure/azure-portal/supportability/per-vm-quota-requests
send
light_mode
delete
Question #17
You have an Azure subscription that contains 500 users. The users are assigned Microsoft Office 365 E1 licenses.
You deploy an Azure Virtual Desktop solution that contains Windows 10 multi-session hosts and streams a custom remote app named App1.
You need to ensure that the users are licensed to stream App1. The solution must minimize costs.
Which license should you use?
You deploy an Azure Virtual Desktop solution that contains Windows 10 multi-session hosts and streams a custom remote app named App1.
You need to ensure that the users are licensed to stream App1. The solution must minimize costs.
Which license should you use?
- AMicrosoft 365 E5
- BOffice 365 E3
- Ca Remote Desktop Services (RDS) client access license (CAL)
- DWindows 10 Enterprise E3Most Voted
Correct Answer:
D
App-V client. The App-V client must be enabled on any client device on which apps will be run from the App-V server. These will be the Windows 10/11 Enterprise
E3 devices.
Reference:
https://docs.microsoft.com/sv-se/windows/deployment/windows-10-enterprise-e3-overview
D
App-V client. The App-V client must be enabled on any client device on which apps will be run from the App-V server. These will be the Windows 10/11 Enterprise
E3 devices.
Reference:
https://docs.microsoft.com/sv-se/windows/deployment/windows-10-enterprise-e3-overview
send
light_mode
delete
Question #18
DRAG DROP -
You have an Azure subscription that contains a virtual machine named VM1. VM1 runs a customized version of Windows 10 Enterprise.
You generalize the operating system on VM1 and shut down the virtual machine.
You need to deploy additional virtual machines based on an image of VM1 by using the Azure portal.
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:

You have an Azure subscription that contains a virtual machine named VM1. VM1 runs a customized version of Windows 10 Enterprise.
You generalize the operating system on VM1 and shut down the virtual machine.
You need to deploy additional virtual machines based on an image of VM1 by using the Azure portal.
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:

Correct Answer:
Create a managed image from a snapshot using PowerShell.
You can create a managed image from a snapshot of a generalized VM by following these steps:
1. Create an image of a VM in the portal, capture a VM in the portal
2. Go to the Azure portal, then search for and select Virtual machines.
3. Select your VM from the list.
4. On the page for the VM, on the upper menu, select Capture.
5. The Create an image page appears.
6. For Resource group, either select Create new and enter a name, or select a resource group to use from the drop-down list. If you want to use an existing gallery, select the resource group for the gallery you want to use.
7. To create the image in a gallery, select Yes, share it to a gallery as an image version.
8. To only create a managed image, select No, capture only a managed image. The VM must have been generalized to create a managed image. The only other required information is a name for the image.
9. If you want to delete the source VM after the image has been created, select Automatically delete this virtual machine after creating the image. This is not recommended.
10.For Gallery details, select the gallery or create a new gallery by selecting Create new. (Step 1)
11.In Operating system state select generalized or specialized. For more information, see Generalized and specialized images.
12.Select an image definition or select create new and provide a name and information for a new Image definition. (Step 2)
13.Enter an image version number. If this is the first version of this image, type 1.0.0. (Step 3)
14.If you want this version to be included when you specify latest for the image version, then leave Exclude from latest unchecked.
15.Select an End of life date. This date can be used to track when older images need to be retired.
16.Under Replication, select a default replica count and then select any additional regions where you would like your image replicated.
17.When you are done, select Review + create.
18.After validation passes, select Create to create the image.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/capture-image-portal

Create a managed image from a snapshot using PowerShell.
You can create a managed image from a snapshot of a generalized VM by following these steps:
1. Create an image of a VM in the portal, capture a VM in the portal
2. Go to the Azure portal, then search for and select Virtual machines.
3. Select your VM from the list.
4. On the page for the VM, on the upper menu, select Capture.
5. The Create an image page appears.
6. For Resource group, either select Create new and enter a name, or select a resource group to use from the drop-down list. If you want to use an existing gallery, select the resource group for the gallery you want to use.
7. To create the image in a gallery, select Yes, share it to a gallery as an image version.
8. To only create a managed image, select No, capture only a managed image. The VM must have been generalized to create a managed image. The only other required information is a name for the image.
9. If you want to delete the source VM after the image has been created, select Automatically delete this virtual machine after creating the image. This is not recommended.
10.For Gallery details, select the gallery or create a new gallery by selecting Create new. (Step 1)
11.In Operating system state select generalized or specialized. For more information, see Generalized and specialized images.
12.Select an image definition or select create new and provide a name and information for a new Image definition. (Step 2)
13.Enter an image version number. If this is the first version of this image, type 1.0.0. (Step 3)
14.If you want this version to be included when you specify latest for the image version, then leave Exclude from latest unchecked.
15.Select an End of life date. This date can be used to track when older images need to be retired.
16.Under Replication, select a default replica count and then select any additional regions where you would like your image replicated.
17.When you are done, select Review + create.
18.After validation passes, select Create to create the image.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/capture-image-portal
send
light_mode
delete
Question #19
You have an Azure Virtual Desktop deployment that contains an Azure compute gallery. The Azure compute gallery contains an image definition named
Definitions Definitionl contains the following image versions:
* 1.0.0
* 1.1.0
* 1.2.0
You need to ensure that when a virtual machine is created from the Azure compute gallery, the 1.1.0 image version is used by default.
What should you do?
Definitions Definitionl contains the following image versions:
* 1.0.0
* 1.1.0
* 1.2.0
You need to ensure that when a virtual machine is created from the Azure compute gallery, the 1.1.0 image version is used by default.
What should you do?
- ASelect Exclude from latest for image version 1.0.0.
- BSelect Exclude from latest for image version 1.2.0.Most Voted
- CApply a lock to image version 1.1.0.
- DApply a tag named default to image version 1.1.0.
Correct Answer:
B
Updating resources.
Once created, you can make some changes to the gallery resources. These are limited to:
* Azure Compute Gallery:
* Image definition:
* Image version:
Regional replica count -
Target regions -
Exclude from latest -
End of life date -
Note: When you specify to use latest when creating a VM, the latest image is chosen based on the highest MajorVersion, then MinorVersion, then Patch.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries
B
Updating resources.
Once created, you can make some changes to the gallery resources. These are limited to:
* Azure Compute Gallery:
* Image definition:
* Image version:
Regional replica count -
Target regions -
Exclude from latest -
End of life date -
Note: When you specify to use latest when creating a VM, the latest image is chosen based on the highest MajorVersion, then MinorVersion, then Patch.
Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries
send
light_mode
delete
Question #20
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 contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required
Microsoft services.
Solution: You configure the RDP Properties of the host pool.
Does this meet the goal?
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 contains five session hosts. The session hosts run Windows 10 Enterprise multi-session.
You need to prevent users from accessing the internet from Azure Virtual Desktop sessions. The session hosts must be allowed to access all the required
Microsoft services.
Solution: You configure the RDP Properties of the host pool.
Does this meet the goal?
- AYes
- BNoMost Voted
Correct Answer:
B
B

Adjusting the RDP properties won't restrict internet access from session hosts. A more effective approach is to modify the Network Security Group (NSG) settings associated with the session hosts. This allows for specific traffic rules to be enforced, effectively blocking internet access while still permitting connections to essential Microsoft services as required. Setting up Azure Firewall or similar configurations could also help, where policies can explicitly control and monitor the flow of traffic.
send
light_mode
delete
All Pages