Free Microsoft AZ-140 Practice Test & Real Exam Questions
You have an Azure Virtual Desktop deployment.
You need to ensure that users connect to a specific session host each time they sign in. The solution must minimize administrative effort.
What should you configure?
You need to ensure that users connect to a specific session host each time they sign in. The solution must minimize administrative effort.
What should you configure?
Correct Answer: A
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Hotspot Question
You have an Azure Virtual Desktop deployment that contains 10 session hosts and a RemoteApp named App1.
You have users that connect to the deployment by using the clients shown in the following table.

You enable screen capture protection on all the session hosts.
Which users can connect to a session host by using the full desktop, and which users can connect to App1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You have an Azure Virtual Desktop deployment that contains 10 session hosts and a RemoteApp named App1.
You have users that connect to the deployment by using the clients shown in the following table.

You enable screen capture protection on all the session hosts.
Which users can connect to a session host by using the full desktop, and which users can connect to App1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

You decide to add a new image to the Shared Image Gallery definition. This image is utilized for a large-scale Azure Virtual Desktop deployment with 60 Session Hosts. While deploying, you notice that the new session host process is somewhat slow and it gets time out.
Which of the following steps would you take to resolve this issue?
Which of the following steps would you take to resolve this issue?
Correct Answer: D
Vote an answer
Case Study 1 - Contoso, Ltd
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.
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 a 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.
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.
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.
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 a 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.
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.
Correct Answer: B,D,E
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Your network contains an Active Directory Domain Services (AD DS) domain named corp.contoso.com.
You have a Microsoft Entra tenant that syncs with corp.contoso.com.
You plan to deploy Azure Virtual Desktop.
You need to recommend a user profile management solution. The solution must meet the following requirements:
- Support server operating system SKUs.
- Enable the roaming of user settings and data.
- Support cloud-based storage for user profiles.
- Support Microsoft OneDrive for Business in pooled host pools.
What should you include in the recommendation?
You have a Microsoft Entra tenant that syncs with corp.contoso.com.
You plan to deploy Azure Virtual Desktop.
You need to recommend a user profile management solution. The solution must meet the following requirements:
- Support server operating system SKUs.
- Enable the roaming of user settings and data.
- Support cloud-based storage for user profiles.
- Support Microsoft OneDrive for Business in pooled host pools.
What should you include in the recommendation?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Your network contains an on-premises Active Directory domain named contoso.com that syncs to an Azure Active Directory (Azure AD) tenant.
You have an Azure Virtual Desktop host pool named Pool1 that has the following settings:
Host pool name: Pool1

Host pool type: Personal

Load balancing algorithm: Breadth-first

Number of VMs: 3

The session hosts have the following configurations:
Image used to create the virtual machines: Windows 10 Enterprise

Virtual machines domain-joined to: On-premises contoso.com domain

You need to ensure that you can use Microsoft EndPoint Manager to manage security update on the session hosts.
What should you do?
You have an Azure Virtual Desktop host pool named Pool1 that has the following settings:
Host pool name: Pool1

Host pool type: Personal

Load balancing algorithm: Breadth-first

Number of VMs: 3

The session hosts have the following configurations:
Image used to create the virtual machines: Windows 10 Enterprise

Virtual machines domain-joined to: On-premises contoso.com domain

You need to ensure that you can use Microsoft EndPoint Manager to manage security update on the session hosts.
What should you do?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have an Azure Virtual Desktop deployment that contains five session hosts.
You have users that work from offices in Seattle and Vancouver. The users connect to the session hosts over the internet.
You need to ensure that the users can connect to the session hosts from only the Seattle and Vancouver offices.
What should you use?
You have users that work from offices in Seattle and Vancouver. The users connect to the session hosts over the internet.
You need to ensure that the users can connect to the session hosts from only the Seattle and Vancouver offices.
What should you use?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
Drag and Drop Question
You have an Azure Virtual Desktop deployment and the Azure Storage accounts shown in the following table.

You plan to create FSLogix profile containers and store the containers in the storage accounts.
You need to identify which storage accounts support the FSLogix profile containers, and then order the accounts from highest to lowest redundancy.
Which three storage accounts should you identify in sequence? To answer, move the appropriate accounts from the list of accounts to the answer area and arrange them in the correct order.

You have an Azure Virtual Desktop deployment and the Azure Storage accounts shown in the following table.

You plan to create FSLogix profile containers and store the containers in the storage accounts.
You need to identify which storage accounts support the FSLogix profile containers, and then order the accounts from highest to lowest redundancy.
Which three storage accounts should you identify in sequence? To answer, move the appropriate accounts from the list of accounts to the answer area and arrange them in the correct order.

Correct Answer:

Case Study 2 - Litware, Inc
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 an Azure Active Directory (Azure AD) tenant named litware.com.
The Azure AD 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 Azure AD tenant. All users are assigned Microsoft 365 Enterprise E5 licenses.
Litware has an Azure subscription associated to the Azure AD 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.
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 Azure Virtual Desktop connections from the Boston and

Chennai offices.
Minimize latency of the Azure Virtual Desktop host authentication in each Azure region.

Minimize how long it takes to sign in to the Azure 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 a

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 modify the custom virtual machine images to meet the deployment requirements.
What should you install?
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 an Azure Active Directory (Azure AD) tenant named litware.com.
The Azure AD 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 Azure AD tenant. All users are assigned Microsoft 365 Enterprise E5 licenses.
Litware has an Azure subscription associated to the Azure AD 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.
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 Azure Virtual Desktop connections from the Boston and

Chennai offices.
Minimize latency of the Azure Virtual Desktop host authentication in each Azure region.

Minimize how long it takes to sign in to the Azure 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 a

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 modify the custom virtual machine images to meet the deployment requirements.
What should you install?
Correct Answer: D
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
You have a 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?
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?
Correct Answer: C
Vote an answer
Explanation: Only visible for Pass4Leader members. You can sign-up / login (it's free).
