Microsoft certification · Exam AZ-140

AZ-140 Mock Exam

Configuring and Operating Microsoft Azure Virtual Desktop

Free AZ-140 questions on Topic 1, Contoso. Ltd, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Topic 1, Contoso. Ltd questions

1–2 of 2 free
Question 1 Choose 1
Which setting should you modify for VNET4 before you can deploy Pool4?
Show answerHide answer

Correct answer: C DNS servers

Explanation

Explanation:
Before deploying a host pool like Pool4, the session hosts must be able to resolve and communicate with a domain controller to complete the domain join process. By default, Azure VNETs use Azure-provided DNS, which cannot resolve on-premises or private Active Directory domain names. Modifying the DNS settings on the virtual network ensures that any VM deployed into VNET4 is automatically assigned the IP addresses of your domain controllers, preventing deployment failures related to domain join errors.

Correct Option:

C. DNS servers:
This is the correct choice because successful AVD deployment requires session hosts to join a domain. If the VNET is not configured with the specific IP addresses of the DNS servers that host the Active Directory records, the session hosts will fail to locate the domain controller. Updating this at the VNET level ensures all new VMs in Pool4 receive the correct identity resolution settings immediately upon creation.

Incorrect Option:

A, B, D, and E:
Service endpoints (A) secure traffic to Azure services but don't impact domain resolution. Address space (B) defines the IP range but doesn't assist with naming. IAM (D) manages permissions, which are necessary but usually configured at the resource group or subscription level, not the VNET specifically for deployment connectivity. Peerings (E) provide the path to the domain controller, but without the DNS server IP being set, the VM still won't know where to send resolution requests.

Reference:
Azure Virtual Network DNS settings
Question 2 Choose 3
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.
Show answerHide answer

Correct answer: A, D, E PesterActiveDirectoryHyper-V

Explanation

Explanation:
This scenario typically involves a migration or transition from a traditional Remote Desktop Services (RDS) environment to Azure Virtual Desktop (AVD). Specifically, the technical requirements involve using the User Profile Disk (UPD) to FSLogix conversion utility. To run this utility and successfully migrate user profiles, the administrator's server (Server1) requires specific PowerShell modules to interact with the underlying virtual disks, the identity directory, and the script's validation framework.

Correct Option:

A. Pester:
The Pester module is a testing and validation framework for PowerShell. It is a mandatory prerequisite for the Microsoft-provided conversion scripts used to migrate User Profile Disks (UPDs) to FSLogix containers. Without Pester, the script will fail to initialize its validation routines.

B. RemoteDesktop:
This module provides the necessary cmdlets to manage and interact with existing Remote Desktop Services configurations. Since the goal is to migrate existing user profile data from an RDS environment, this module allows the script to identify and handle RDS-specific profile settings.

E. Hyper-V:
The FSLogix conversion process involves mounting and manipulating virtual hard disk (VHD/VHDX) files. The Hyper-V PowerShell module is required on Server1 to provide the storage cmdlets (such as Mount-VHD) needed to access the contents of the old UPDs during the conversion.

Incorrect Option:

C. ServerManager:
While useful for general Windows Server administration and installing roles, this module is not a technical requirement for the specific task of converting profile disks or managing AVD host pools via the migration utility.

D. ActiveDirectory:
Although AVD relies on Active Directory, the specific conversion utility for UPD to FSLogix primarily focuses on disk manipulation and RDS management. While some guides mention AD for identity context, in the context of this specific exam question's "three modules" requirement, it is often excluded in favor of the core migration prerequisites (Pester, RemoteDesktop, Hyper-V).

Reference:
Convert User Profile Disks to FSLogix Profile Containers

That's the last free question in Topic 1, Contoso. Ltd

You've seen the free 30% (2 of 9 questions). Full access unlocks every question and full-length AZ-140 mock exams, a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the AZ-140 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real AZ-140 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full AZ-140 mock exam
  • —questions per mock
  • —time limit
  • 106questions in the bank
  • Newmock on every attempt