Microsoft Certified: Azure Virtual Desktop Specialty (AZ-140)

Practice AZ-140 questions for Plan and implement user environments and apps (20–25%). These original questions are grounded in verified Microsoft Learn content. These questions follow the AZ-140 skills measured that took effect on July 20, 2026.

Q01 - Question

You are creating an Azure NetApp Files SMB volume to store FSLogix profile containers for Azure Virtual Desktop. Which volume access parameter is recommended for this scenario?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

A is correct.

Explanation: It is recommended that you enable Continuous Availability on the SMB volume for use with FSLogix profile containers.

B is incorrect: Active Directory connection is required for SMB.

C is incorrect: SMB is the required protocol type.

D is incorrect: The quota should be appropriate for the environment, not strictly 100 GiB.

Learn more in Microsoft Learn

Q02 - Question

You assign FSLogix Rule Sets to users who have cloud-only Microsoft Entra ID accounts. The assignments don't apply. What must be true for assignments to work?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

A is correct.

Explanation: Rule Set assignments don't support cloud-only accounts. Sync users and groups from Active Directory. The VMs need line-of-sight to a domain controller to resolve SIDs.

B is incorrect: Cloud-only accounts aren't supported.

C is incorrect: The Everyone assignment is unrelated to sync requirements.

D is incorrect: Copying files doesn't resolve SIDs.

Learn more in Microsoft Learn

Q03 - Question

Users on session hosts experience short, intermittent connectivity problems with the remote storage that holds their FSLogix profile containers. Which configuration should you use?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

C is correct.

Explanation: Cloud Cache is an optional configuration that mitigates short-term or intermittent connectivity problems with remote storage providers.

A is incorrect: ODFC isn't a connectivity mitigation.

B is incorrect: Hiding rules don't affect storage connectivity.

D is incorrect: Size limits don't address connectivity.

Learn more in Microsoft Learn

Q04 - Question

Start VM on Connect doesn't work after you assign Desktop Virtualization Power On Contributor to the Azure Virtual Desktop service principal at the resource group scope. What should you do?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

D is correct.

Explanation: The role must be assigned to the Azure Virtual Desktop service principal at the subscription scope. Assigning this role at any level lower than a subscription prevents Start VM on Connect from working properly.

A is incorrect: VM scope is below subscription.

B is incorrect: Host pool is below subscription.

C is incorrect: That role is for the configuring account, not the service principal.

Learn more in Microsoft Learn

Q05 - Question

You are preparing to install the Microsoft Teams desktop app on a session host and want to enable media optimization. Which registry key must you create on each session host?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

A is correct.

Explanation: To enable media optimization for Teams, set the IsWVDEnvironment DWORD value to 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Teams.

B is incorrect: UseHardwareEncoding is set on the client device, not the session host.

C is incorrect: ShareClientDesktop is for content sharing for Teams for RemoteApp.

D is incorrect: DisableRAILScreensharing disables desktop screen share.

Learn more in Microsoft Learn

Q06 - Question

You are configuring FSLogix Profile Containers on a session host. You want to ensure that any existing local profile is removed before the FSLogix profile applies. Which registry value should you configure?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

B is correct.

Explanation: DeleteLocalProfileWhenVHDShouldApply is recommended to avoid problems with existing local profiles before you sign in.

A is incorrect: FlipFlopProfileDirectoryName changes the folder naming format.

C is incorrect: ReAttachRetryCount configures retry attempts.

D is incorrect: VolumeType specifies VHD or VHDX.

Learn more in Microsoft Learn

Q07 - Question

A company keeps a third-party roaming profile solution and adds FSLogix ODFC containers for Microsoft 365 app data. What must you configure?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

B is correct.

Explanation: When pairing the ODFC container with a third-party roaming profile solution, the folders managed by the ODFC container should NOT be roamed by the third-party provider. Exclusions depend on enabled ODFC settings.

A is incorrect: Cloud Cache isn't a container type.

C is incorrect: VHDLocations sets the storage location.

D is incorrect: Third-party providers shouldn't roam ODFC folders.

Learn more in Microsoft Learn

Q08 - Question

You plan to use USB redirection for Azure Virtual Desktop. What must you enable on the session host before you can use USB redirection?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

B is correct.

Explanation: In order to use USB redirection, you'll need to enable Plug and Play device redirection on your session host first.

A is incorrect: WebAuthn redirection is for security devices like FIDO keys.

C is incorrect: Location redirection is for apps like Maps.

D is incorrect: Clipboard redirection is for copy/paste functionality.

Learn more in Microsoft Learn

Q09 - Question

You need one application package used across multiple host pools, per-user application permissions, and upgrades without a maintenance window. Which approach meets these requirements?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

A is correct.

Explanation: App attach supports using one package across multiple host pools, applies permissions per application per user, and allows upgrades to a new application version without a maintenance window.

B is incorrect: You can't use both versions with the same host pool.

C is incorrect: MSIX app attach applications might only run on one host pool.

D is incorrect: Local installs aren't dynamic and require image updates.

Learn more in Microsoft Learn

Q10 - Question

You want to enable location-based printer search using the Azure Virtual Desktop client location for Universal Print. What must you configure on all session host VMs?

Domain: Plan and implement user environments and apps (20–25%) Type: Single choice

A is correct.

Explanation: To enable location-based printer search using the AVD client location, location services must be configured on all VMs by enabling Location services and Allow location override.

B is incorrect: Disabling printer redirection prevents local printers from appearing.

C is incorrect: Universal Print installs printers as part of the user profile, not machine-wide.

D is incorrect: devicestoredirect is for plug and play devices, not location override.

Learn more in Microsoft Learn

Take the AZ-140 practice test · Read the AZ-140 study guide