Microsoft

AZ-140 Free Practice Questions — Page 2

Question 6

HOTSPOT - You have an on-premises Hyper-V host named Server1. You have an Azure subscription. You plan to deploy Azure Virtual Desktop by using a custom image. On Server1, you create a virtual machine named CustomImage that has the following configurations: • Generation: 2 • Virtual disk name: ImageC.vhdx • Virtual disk type: Dynamically expanding You build the custom image and generalize the operating system. You need to prepare the virtual disk to ensure that you can deploy new hosts by using the custom image. What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 6
Show Answer
Correct Answer: Convert the virtual disk to: Fixed-size VHD Store the virtual disk by using: Azure Blob Storage
Explanation:
Azure custom images for Azure Virtual Desktop require a fixed-size VHD (not VHDX). The VHD must be uploaded as a page blob in an Azure Storage account, which is provided by Azure Blob Storage.

Question 6

You have an Azure subscription that contains an Azure Virtual Desktop session host named VM1. You plan to deploy an app named App1 that will process Personally Identifiable Information (PII) data. You need to ensure that App1 is deployed to a confidential virtual machine. The solution must minimize administrative effort. What should you do?

A. On VM1, enable Azure Disk Encryption for the operating system disk. Install App1 on the operating system disk.
B. Deploy a new virtual machine and install App1.
C. On VM1, enable File Integrity Monitoring (FIM) and install App1.
D. On VM1, attach a new data disk and enable BitLocker Drive Encryption (BitLocker). Install App1 on the new disk.
Show Answer
Correct Answer: B
Explanation:
A confidential virtual machine requires a confidential‑capable VM size (such as DCasv5 or ECasv5) that provides hardware‑based memory encryption and isolation. An existing Azure VM cannot be converted into a confidential VM by enabling disk encryption, BitLocker, or File Integrity Monitoring. Therefore, to ensure App1 runs on a confidential VM and to minimize administrative effort, you must deploy a new VM using a supported confidential VM SKU and install App1 on it.

Question 7

HOTSPOT - You have an Azure subscription that contains an Azure Virtual Desktop host pool named Pool1 and a Log Analytics workspace named Workspace1. Pool1 forwards diagnostic data to Workspaces1. You need to query Workspace1 to identify how many times a user named user1©contoso.com connected to the session hosts in Pool1 per day. How should you complete the query? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 7
Show Answer
Correct Answer: WVDConnections count
Explanation:
Connection events for Azure Virtual Desktop user sign-ins are recorded in the WVDConnections table. Each record represents a single connection, so using count() and grouping by a daily time bin returns how many times the specified user connected per day.

Question 7

HOTSPOT - You have an Azure subscription that contains an Azure Virtual Desktop deployment. The deployment contains two session hosts. You need to enable Azure Virtual Desktop Insights for the deployment. What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 7
Show Answer
Correct Answer: In the subscription: Deploy a Log Analytics workspace On the session hosts, deploy: The Azure Monitor Agent
Explanation:
Azure Virtual Desktop Insights is built on Azure Monitor and requires a Log Analytics workspace to store telemetry. Each session host must have the Azure Monitor Agent installed to send performance, diagnostics, and session data to the workspace.

Question 8

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem. After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen. You have an Azure subscription that contains a virtual network named VNet1, a storage account named storage1, and five Azure Virtual Desktop session hosts. VNet1 and storage1 are in the East US Azure region. The session hosts are connected to VNet1. In storage1, you create an Azure Files share named share1. You need to ensure that the session hosts connect to share1 by using the Microsoft backbone network. Solution: You add a service endpoint to VNet1. Does this meet the goal?

A. Yes
B. No
Show Answer
Correct Answer: A
Explanation:
Adding a service endpoint for Azure Storage to VNet1 ensures that traffic from the session hosts to the Azure Files share uses the Microsoft backbone network rather than the public internet. Service endpoints are sufficient to meet the stated goal, which is backbone routing, not full private IP–based access (which would require a private endpoint).

Question 8

DRAG DROP - You have an Azure subscription that contains an Azure Virtual Desktop host pool named Pool1. You plan to deploy session hosts to Pool1 by using a custom image that will be hosted in Azure Compute Gallery. You need to build the custom image for the session hosts. The session hosts must have time zone redirection enabled and Storage Sense disabled. The solution must minimize administrative effort. Which four 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.

Illustration for AZ-140 question 8
Show Answer
Correct Answer: Create an Azure Compute Gallery. Create a VM image definition. Create a custom image template. Build a custom image.
Explanation:
An Azure Compute Gallery must exist to store image definitions. A VM image definition is required to define OS and generation. Azure Image Builder uses a custom image template to apply required configurations (time zone redirection enabled, Storage Sense disabled) with minimal effort. Finally, building the image produces and publishes the image version to the gallery for use by Azure Virtual Desktop session hosts.

Question 9

HOTSPOT - You have an Azure Virtual Desktop deployment that contains the resources shown in the following table. You need to use Azure Backup to back up profiles1 and the Pool1 session hosts as often as possible. How often should you schedule the backups for each resource? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 9 Illustration for AZ-140 question 9
Show Answer
Correct Answer: profiles1: Every four hours Session hosts: Every 24 hours
Explanation:
Azure Backup for Azure Files supports backups as frequently as every 4 hours, which is the maximum for FSLogix profile shares. Azure Backup for Azure Virtual Machines (session hosts) supports a maximum backup frequency of once per day.

Question 9

HOTSPOT - You have an Azure Virtual Desktop deployment that contains a host pool named Pool1. Pool1 contains the Windows 11 session hosts shown in the following table. You have the users shown in the following table. All the users are allowed to connect to the session hosts that have watermarking enabled. Which users can connect to Host1 and Host2? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for AZ-140 question 9 Illustration for AZ-140 question 9 Illustration for AZ-140 question 9
Show Answer
Correct Answer: Host1: User1, User2, User3 and User4 Host2: User3 only
Explanation:
Watermarking is supported only with the Azure Virtual Desktop Windows Desktop client and the Web client. Direct RDP connections (mstsc.exe) bypass watermarking and are allowed only when the session host has a public IP. Host1 has a public IP, so all connection methods work. Host2 has no public IP, so only connections through Azure Virtual Desktop infrastructure are possible; among the users listed, only User3 uses the supported AVD Windows Desktop client.

Question 10

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 settings should you configure to meet the performance requirements?

A. Load balancing for each session host
B. Properties for each session host
C. Scaling plan for the host pool
D. Properties for the host pool
Show Answer
Correct Answer: D
Explanation:
The performance requirements specify that each session host must support up to 15 user sessions and that new sessions should be placed on a single host until its maximum is reached. In Azure Virtual Desktop, both the maximum session limit per host and the load-balancing algorithm (set to Depth-first) are configured at the host pool level. These settings ensure sessions are packed onto one host up to the limit before moving to the next, meeting the stated performance requirements.

Question 10

HOTSPOT - 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.

Illustration for AZ-140 question 10 Illustration for AZ-140 question 10
Show Answer
Correct Answer: Full desktop: User2 and User3 only App1: User2 only
Explanation:
With screen capture protection enabled, only supported desktop clients can connect. Web and Android clients aren’t supported, so User1 and User4 can’t connect. For full desktop sessions, Windows Desktop clients on Windows 10 and 11 are supported (User2 and User3). For RemoteApp sessions, screen capture protection requires Windows 11 with the Windows Desktop client, so only User2 can connect.

$19

Get all 321 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.