Microsoft AZ-140 Exam (page: 4)
Microsoft Configuring and Operating Azure Virtual Desktop
Updated on: 25-Dec-2025

Viewing Page 4 of 43

DRAG DROP (Drag and Drop is not supported)

You have an Azure Virtual Desktop deployment.

You plan to create the host pools shown in the following table.



You need to recommend the virtual machine size for each host pool to meet the session host requirements.

What should you recommend? To answer, drag the appropriate virtual machine sizes to the correct host pools. Each size 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.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: F-Series
F-Series as the best value in a price-performance position in Azure based on the list price of F-Series divided by the Azure Compute Unit (ACU) per core.

The F-Series VMs are an excellent choice for gaming servers, web servers and batch processing. Any workload which does not need as much memory or local SSD per CPU core will benefit from the value of the F- Series.

Box 2: E-Series
Microsoft Azure VMs: E Series
Optimized for in-memory hyper-threaded applications*

The E-series family of Azure virtual machines are optimized for heavy in-memory applications such as SAP HANA. These VMs are set up with high memory-to-core ratios, which makes them well-suited for relational database servers, with medium to large caches, and in-memory analytics.

Box 3: N-Series
Microsoft Azure VMs: N Series
GPU enabled virtual machines

The N-series is a family of Azure Virtual Machines with GPU capabilities. GPUs are ideal for compute and graphics-intensive workloads, helping customers to fuel innovation through scenarios like high-end remote visualization, deep learning, and predictive analytics.

Incorrect:
* A-Series
Microsoft Azure VMs: A Series
Entry-level economical VMs for dev/test

These are generally usedin small deployments where cost consciousness outweighs performance. You should only use these in rare instance implementations with non-customer facing VMs.

* B-Series

Microsoft Azure VMs: B Series
Economical burstable VMs

B-series are economical virtual machines that provide a low-cost option for workloads that typically run at a low-to-moderate baseline CPU utilization, but sometimes need to burst to significantly higher CPU utilization when the demand rises.


Reference:

https://azure.microsoft.com/en-us/blog/f-series-vm-size/
https://getnerdio.com/academy/breaking-down-azure-vm-series-a-b-d-e-n/



DRAG DROP (Drag and Drop is not supported)

You have an Azure Virtual Desktop deployment.

You plan to create a new host pool that meets the following requirements:

Supports up to 25 user connections

Contains 10 Windows 11 multi-session hosts

Evenly distributes user sessions across the session hosts

You need to recommend which type of host pool and load-balancing algorithm to use.

What should you recommend? To answer, drag the appropriate options in the correct targets. Each option 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.

Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Host Pool Mode: Since you need to support up to 25 user connections and evenly distribute users across session hosts, you should choose Pooled mode. In pooled host pools, multiple users share session hosts, making it a good fit for multi-session Windows 11 scenarios.

Load-Balancing Algorithm: To evenly distribute user sessions across the session hosts, the appropriate load- balancing algorithm is Breadth-first. This ensures that sessions are spread evenly across all session hosts before placing additional users on any host.




Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.

Overview
Northwind Traders is a manufacturing company based in New York City.
Existing Environment
Identity Environment
The on-premises network contains an Active Directory Domain Services (AD DS) domain named northwindtraders.com.
Northwind Traders has a Microsoft Entra tenant and a Microsoft Entra Domain Services managed domain. The northwindtraders.com domain syncs with the Microsoft Entra tenant.
Virtual Machines
The company has an on-premises Hyper-V virtual machine named VM1 that has the following configurations:
Generation: 1

Disk size: 2 TB

Disk format: VHDX

Disk type: Dynamically expanding

Cloud Services
Northwind Traders has a Microsoft 365 E5 subscription. The subscription contains 500 users that are assigned Microsoft 365 E5 licenses.
The company has an Azure subscription that contains the resources shown in the following table.



Both subscriptions are linked to the Microsoft Entra tenant.
Requirements
Planned Changes
Northwind Traders identifies the following planned changes:
Deploy an Azure Virtual Desktop host pool that will contain 10 session hosts joined to the Microsoft Entra

Domain Services managed domain.
Configure VM1 as the source image for the Azure Virtual Desktop deployment and upload the image to

Azure.
The Azure Virtual Desktop deployment will provide access to a custom app named App1.

Performance Requirements
Northwind Traders identifies the following performance requirements:
Each Azure Virtual Desktop session host must support 15 user sessions.

Each new user session must be assigned to a single session host until the maximum session limit is reached for that host.
Application Requirements
Northwind Traders identifies the following application requirements:
Microsoft OneDrive must launch when users connect to a RemoteApp session in Azure Virtual Desktop.

App1 requires a desktop resolution of 1280 x 1024.

Administrative effort must be minimized.

Disaster Recovery Requirements
Northwind Traders identifies the following disaster recovery requirements for the Azure Virtual Desktop deployment:
Minimize outages if an Azure region fails.

Minimize the recovery time objective (RTO).

Minimize administrative effort in the event of a failover.

Security Requirements
Northwind Traders identifies the following security requirements:
When users sign in to the Azure Virtual Desktop deployment by using the Azure Virtual Desktop client, they must authenticate by using their Microsoft Entra username and password only.
When users sign in to the Azure Virtual Desktop deployment by using a web browser, they must authenticate by using the Microsoft Authenticator app.
All the Azure Virtual Desktop session hosts deployed by using the VM1 source image must be onboarded to

Microsoft Defender for Endpoint.

The client version and operating system used to connect to the session hosts must be logged.

The solution must follow the principle of least privilege.

Networking Requirements
The Azure Virtual Desktop session hosts must be able to access the resources on the on-premises network.
User Profile Requirements
Northwind Traders identifies the following user profile requirements:
Users must be able to access share1 by using their Microsoft Entra account.

Azure Virtual Desktop user profiles must be managed by using FSLogix.

All user profiles must be stored in share1.

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

  1. Azure Virtual Desktop Insights
  2. Application Insights
  3. VM insights
  4. Azure Monitor activity log insights

Answer(s): D

Explanation:

Scenario:
The client version and operating system used to connect to the session hosts must be logged.
To monitor and log platform and client versions used to connect to Azure Virtual Desktop session hosts, use Azure Monitor's Log Analytics and Insights. You can configure a Data Collection Rule (DCR) to collect session host data, including client versions, and send it to a Log Analytics workspace. Specifically, the "Clients" tab within Azure Virtual Desktop Insights provides a summary of client versions, including those with outdated versions, and allows you to view a list of users with outdated clients.


Reference:

https://learn.microsoft.com/en-us/azure/well-architected/azure-virtual-desktop/monitoring




Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.

Overview
Litware, Inc. is a pharmaceutical company that has a main office in Boston, United States, and a remote office in Chennai, India.
Existing Environment. Identity Environment
The network contains an on-premises Active Directory domain named litware.com that syncs to a Microsoft Entra tenant named litware.com.
The Microsoft Entra tenant contains the users shown in the following table.



All users are registered for Azure Multi-Factor Authentication (MFA).
Existing Environment. Cloud Services
Litware has a Microsoft 365 E5 subscription associated to the Microsoft Entra tenant. All users are assigned Microsoft 365 Enterprise E5 licenses.
Litware has an Azure subscription associated to the Microsoft Entra tenant. The subscription contains the resources shown in the following table.



Litware uses custom virtual machine images and custom scripts to automatically provision Azure virtual machines and join the virtual machines to the on-premises Active Directory domain.
Existing Environment. Network and DNS
The offices connect to each other by using a WAN link. Each office connects directly to the internet.
All DNS queries for internet hosts are resolved by using DNS servers in the Boston office, which point to root servers on the internet. The Chennai office has caching-only DNS servers that forward queries to the DNS servers in the Boston office.
Requirements. Planned Changes
Litware plans to implement the following changes:
Deploy Azure Virtual Desktop environments to the East US Azure region for the users in the Boston office and to the South India Azure region for the users in the Chennai office.
Implement FSLogix profile containers.

Optimize the custom virtual machine images for the Azure Virtual Desktop session hosts.

Use PowerShell to automate the addition of virtual machines to the Azure Virtual Desktop host pools.

Requirements. Performance Requirements
Litware identifies the following performance requirements:
Minimize network latency of the Windows Virtual Desktop connections from the Boston and Chennai offices.
Minimize latency of the Windows Virtual Desktop host authentication in each Azure region.

Minimize how long it takes to sign in to the Windows Virtual Desktop session hosts.

Requirements. Authentication Requirements
Litware identifies the following authentication requirements:
Enforce Azure MFA when accessing Azure Virtual Desktop apps.

Force users to reauthenticate if their Azure Virtual Desktop session lasts more than eight hours.

Requirements. Security Requirements
Litware identifies the following security requirements:
Explicitly allow traffic between the Azure Virtual Desktop session hosts and Microsoft 365.

Explicitly allow traffic between the Azure Virtual Desktop session hosts and the Azure Virtual Desktop infrastructure.
Use built-in groups for delegation.

Delegate the management of app groups to Admin2, including the ability to publish app groups to users and user groups.
Grant Admin1 permissions to manage workspaces, including listing which apps are assigned to the app groups.
Minimize administrative effort to manage network security.

Use the principle of least privilege.

Requirements. Deployment Requirements
Litware identifies the following deployment requirements:
Use PowerShell to generate the token used to add the virtual machines as session hosts to an Azure Virtual

Desktop host pool.
Minimize how long it takes to provision the Azure Virtual Desktop session hosts based on the custom virtual machine images.
Whenever possible, preinstall agents and apps in the custom virtual machine images.

User Profile Requirements
Litware identifies the following user profile requirements:
In storage1, store user profiles for the Boston office users.

Ensure that the user profiles for the Boston office users replicate synchronously between two Azure regions.
Ensure that Admin1 uses a local profile only when signing in to the Azure Virtual Desktop session hosts.

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.

  1. Configure identity for all the session hosts.
  2. In each Azure region that will contain the Azure Virtual Desktop session hosts, create an Azure Active Directory Domain Service (Azure AD DS) managed domain.
  3. Deploy domain controllers for the on-premises Active Directory domain on Azure virtual machines to the new sites.
  4. Deploy read-only domain controllers (RODCs) on Azure virtual machines to the new sites.
  5. In each Azure region that will contain the Azure Virtual Desktop session hosts, create an Active Directory site.

Answer(s): C,E




Case study

This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.


Overview

Contoso, Ltd. is a law firm that has a main office in Montreal and branch offices in Paris and Seattle. The Seattle branch office opened recently.

Contoso has an Azure subscription and uses Microsoft 365.

Existing Infrastructure. Active Directory

The network contains an on-premises Active Directory domain named contoso.com and an Azure Active Directory (Azure AD) tenant. One of the domain controllers runs as an Azure virtual machine and connects to a virtual network named VNET1. All internal name resolution is provided by DNS server that run on the domain controllers.

The on-premises Active Directory domain contains the organizational units (OUs) shown in the following table.



The on-premises Active Directory domain contains the users shown in the following table.



The Azure AD tenant contains the cloud-only users shown in the following table.



Existing Infrastructure. Network Infrastructure

All the Azure virtual networks are peered. The on-premises network connects to the virtual networks.

A virtual network named VNET4 was recently created are peered to the other virtual networks. VNET4 does NOT contain any AVD virtual machines.

All servers run Windows Server 2019. All laptops and desktop computers run Windows 10 Enterprise.

Since users often work on confidential documents, all the users use their computer as a client for connecting to Remote Desktop Services (RDS).

In the West US Azure region, you have the storage accounts shown in the following table.



Existing Infrastructure. Remote Desktop Infrastructure

Contoso has a Remote Desktop infrastructure shown in the following table.



Requirements. Planned Changes

Contoso plans to implement the following changes:

Implement FSLogix profile containers for the Paris offices.

Deploy an Azure Virtual Desktop host pool named Pool4.

Migrate the RDS deployment in the Seattle office to Azure Virtual Desktop in the West US Azure region.

Requirements. Pool4 Configuration

Pool4 will have the following settings:

Host pool type: Pooled

Max session limit: 7

Load balancing algorithm: Depth-first

Images: Windows 10 Enterprise multi-session

Virtual machine size: Standard D2s v3

Name prefix: Pool4

Number of VMs: 5

Virtual network: VNET4

Requirements. Technical Requirements

Contoso identifies the following technical requirements:

Before migrating the RDS deployment in the Seattle office, obtain the recommended deployment configuration based on the current RDS utilization.
For the Azure Virtual Desktop deployment in the Montreal office, disable audio output in the device redirection settings.
For the Azure Virtual Desktop deployment in the Seattle office, store the FSLogix profile containers in Azure

Storage.
Enable Operator2 to modify the RDP Properties of the Azure Virtual Desktop deployment in the Montreal office.
From a server named Server1, convert the user profile clicks to the FSLogix profile containers.

Ensure that the Pool1 virtual machines only run during business hours.

Use the principle of least privilege.

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

What should you use?

  1. an Azure Virtual Desktop automation task
  2. Virtual machine auto-shutdown
  3. Service Health in Azure Monitor
  4. Azure Automation

Answer(s): D




Case study

This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs.
When you are ready to answer a question, click the Question button to return to the question.


Overview

Contoso, Ltd. is a law firm that has a main office in Montreal and branch offices in Paris and Seattle. The Seattle branch office opened recently.

Contoso has an Azure subscription and uses Microsoft 365.

Existing Infrastructure. Active Directory

The network contains an on-premises Active Directory domain named contoso.com and an Azure Active Directory (Azure AD) tenant. One of the domain controllers runs as an Azure virtual machine and connects to a virtual network named VNET1. All internal name resolution is provided by DNS server that run on the domain controllers.

The on-premises Active Directory domain contains the organizational units (OUs) shown in the following table.



The on-premises Active Directory domain contains the users shown in the following table.



The Azure AD tenant contains the cloud-only users shown in the following table.



Existing Infrastructure. Network Infrastructure

All the Azure virtual networks are peered. The on-premises network connects to the virtual networks.

A virtual network named VNET4 was recently created are peered to the other virtual networks. VNET4 does NOT contain any AVD virtual machines.

All servers run Windows Server 2019. All laptops and desktop computers run Windows 10 Enterprise.

Since users often work on confidential documents, all the users use their computer as a client for connecting to Remote Desktop Services (RDS).

In the West US Azure region, you have the storage accounts shown in the following table.



Existing Infrastructure. Remote Desktop Infrastructure

Contoso has a Remote Desktop infrastructure shown in the following table.



Requirements. Planned Changes

Contoso plans to implement the following changes:

Implement FSLogix profile containers for the Paris offices.

Deploy an Azure Virtual Desktop host pool named Pool4.

Migrate the RDS deployment in the Seattle office to Azure Virtual Desktop in the West US Azure region.

Requirements. Pool4 Configuration

Pool4 will have the following settings:

Host pool type: Pooled

Max session limit: 7

Load balancing algorithm: Depth-first

Images: Windows 10 Enterprise multi-session

Virtual machine size: Standard D2s v3

Name prefix: Pool4

Number of VMs: 5

Virtual network: VNET4

Requirements. Technical Requirements

Contoso identifies the following technical requirements:

Before migrating the RDS deployment in the Seattle office, obtain the recommended deployment configuration based on the current RDS utilization.
For the Azure Virtual Desktop deployment in the Montreal office, disable audio output in the device redirection settings.
For the Azure Virtual Desktop deployment in the Seattle office, store the FSLogix profile containers in Azure

Storage.
Enable Operator2 to modify the RDP Properties of the Azure Virtual Desktop deployment in the Montreal office.
From a server named Server1, convert the user profile clicks to the FSLogix profile containers.

Ensure that the Pool1 virtual machines only run during business hours.

Use the principle of least privilege.

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

What should you use?

  1. an Azure Virtual Desktop automation task
  2. Access control (IAM)
  3. Service Health in Azure Monitor
  4. Azure Automation

Answer(s): D



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?

  1. an Azure Automation account and the depth-first load balancing algorithm
  2. an Azure Automation account and the breadth-first load balancing algorithm
  3. an Azure load balancer and the breadth-first load balancing algorithm
  4. an Azure load balancer and the depth-first load balancing algorithm

Answer(s): B


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



HOTSPOT (Drag and Drop is not supported)

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:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Reference:

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



Viewing Page 4 of 43



Share your comments for Microsoft AZ-140 exam with other users:

Wang 6/9/2022 10:05:00 PM

pay attention to questions. they are very tricky. i waould say about 80 to 85% of the questions are in this exam dump.
UNITED STATES


gr 7/2/2023 7:03:00 AM

ques 4 answer should be c ie automatically recover from failure
Anonymous