Microsoft AZ-140 Real Exam Questions
The questions for AZ-140 were last updated at Nov 20,2024.
- Exam Code: AZ-140
- Exam Name: Configuring and Operating Windows Virtual Desktop on Microsoft Azure
- Certification Provider: Microsoft
- Latest update: Nov 20,2024
Your network contains an on-premises Active Directory domain and a Windows Virtual Desktop deployment.
The computer accounts for all the session hosts are in an organizational unit (OU) named WVDHostsOU. All user accounts are in an OU named CorpUsers.
A domain administrator creates a Group Policy Object (GPO) named Policy1 that only contains user settings.
The administrator links Policy1 to WVDHostsOU.
You discover that when users sign in to the session hosts, none of the settings from Policy1 are applied.
What should you configure to apply GPO settings to the users when they sign in to the session hosts?
- A . loopback processing
- B . FSLogix profiles
- C . mandatory Roaming User Profiles
- D . restricted groups
A
Explanation:
Reference: https://www.linkedin.com/pulse/windows-virtual-desktop-remoteapps-jason-byway
You have a shared image gallery that contains the Windows 10 images shown in the following table.
You create a Windows Virtual Desktop deployment that has the following settings:
✑ Host pool name: Pool1
✑ Location: West US
✑ Host pool type: Personal
Which images can you use for the session hosts?
- A . Image1 only
- B . Image1, Image2, Image3, and Image4
- C . Image2 only
- D . Image1 and Image2 only
- E . Image1 and Image3 only
D
Explanation:
For a Windows Virtual Desktop (WVD) personal host pool, you can use either generalized or specialized images. The key factors to consider when choosing an image are:
The operating system state (generalized or specialized).
The location of the image relative to the location of the host pool to minimize latency and data transfer costs.
Given the host pool is of type "Personal" and located in "West US", you would ideally want to choose an image that is in the same region to optimize performance and possibly reduce costs. However, since it’s a personal host pool, it can use both generalized and specialized images. The difference is:
A generalized image is a clean image used to deploy a new virtual machine that doesn’t retain any previous personalization or system state. This is often done using Sysprep to generalize an image in Windows.
A specialized image is one that has been configured with a specific system state and applications, and retains its unique system identity.
Considering the above, the images you can use for the session hosts in the West US location are:
You need to configure the virtual machines that have the Pool1 prefix. The solution must meet the
technical requirements.
What should you use?
- A . a Windows Virtual Desktop automation task
- B . Virtual machine auto-shutdown
- C . Service Health in Azure Monitor
- D . Azure Automation
D
Explanation:
Azure Automation can be used to create a schedule that starts and stops the Pool1 virtual machines to ensure they are only running during business hours, thus meeting the technical requirement of operating within a specific time window and adhering to the principle of least privilege by not running resources when they are not needed.
You have a Windows Virtual Desktop host pool.
You need to install Microsoft Antimalware for Azure on the session hosts.
What should you do?
- A . Add an extension to each session host.
- B . From a Group Policy Object (GPO), enable Windows 10 security features.
- C . Configure the RDP Properties of the host pool.
- D . Sign in to each session host and install a Windows feature.
A
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/security/fundamentals/antimalware
Topic 1, Contoso. Ltd
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.
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 Windows Virtual Desktop host pool named Pool4.
– Migrate the RDS deployment in the Seattle office to Windows 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
– mages: 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 Windows Virtual Desktop deployment in the Montreal office, disable audio output in the device redirection settings.
– For the Windows Virtual Desktop deployment in the Seattle office, store the FSLogix profile containers in Azure Storage.
– Enable Operator2 to modify the RDP Properties of the Windows 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.
DRAG DROP
You need to evaluate the RDS deployment in the Seattle office. The solution must meet the technical requirements.
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.
Explanation:
Reference: https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/migrate/azure-best-practices/contoso-migration-rds-to-wvd
You have the devices shown in the following table.
You plan to deploy Windows Virtual Desktop for client access to remove virtualized apps.
Which devices support the Remote Desktop client?
- A . Device1 and Device2 only
- B . Device1 and Device3 only
- C . Device1, Device2, and Device3
- D . Device1 only
C
Explanation:
The Remote Desktop client for Windows Virtual Desktop (WVD), now known as Azure Virtual Desktop, is supported on various operating systems including different versions of Windows. The Remote Desktop client is available for Windows 10, and while Windows 8.1 may not have the latest client, it can still connect to WVD using the available Remote Desktop client. Windows 10 IoT Enterprise also supports the Remote Desktop client as it is a version of Windows 10 optimized for smaller devices and scenarios which still require enterprise-grade manageability and security.
Based on the operating systems listed:
Device1 with Windows 10 Home can use the Remote Desktop client.
Device2 with Windows 8.1 Professional can use the Remote Desktop client, although it may need to be a specific version of the client compatible with Windows 8.1.
Device3 with Windows 10 IoT Enterprise supports the Remote Desktop client as it is part of the Windows 10 family.
Therefore, the correct answer is:
C. Device1, Device2, and Device3.
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 a Windows 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 Windows Virtual Desktop sessions. The session hosts must be allowed to access all the required Microsoft services. Solution: You modify the IP configuration of each session host.
Does that meet the goal?
- A . Yes
- B . No
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 a Windows 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 Windows Virtual Desktop sessions. The session hosts must be allowed to access all the required Microsoft services. Solution: You modify the IP configuration of each session host.
Does that meet the goal?
- A . Yes
- B . No
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