Free AZ-140 Practice Questions with Detailed Explanations

Test your Azure Virtual Desktop Specialty readiness with 25 free practice questions covering host pool design, FSLogix, MSIX app attach, identity, scaling plans, and AVD monitoring.

22 min read
Updated July 2026
AZ-140 Specialty

AZ-140 is unusually top-heavy: the infrastructure domain alone — host pools, FSLogix, storage, networking, scaling plans — accounts for 40–45% of the exam, a much bigger share than any single domain on AZ-104 or AZ-305 gets. These 25 questions concentrate there for the same reason: it's where most candidates lose the most points.

Within that, AZ-140 expects configuration-level precision — specific FSLogix registry settings, MSIX app attach lifecycle stages, AVD-specific RBAC roles, scaling plan phase configuration, and which Log Analytics tables hold AVD diagnostic data. Many questions below have two similar-looking answers: one technically correct, one that misses a single AVD constraint.

Use this less as a full mock exam and more as a domain gauge: if you miss more than half of the infrastructure-domain questions, that's the 40–45% chunk of the real exam to prioritize before touching anything else.

AZ-140 Exam Domains These Questions Draw From:

  • ✓Plan and implement an Azure Virtual Desktop infrastructure (40–45%) — host pools, FSLogix, storage, networking, scaling plans
  • ✓Plan and implement identity and security (15–20%) — RBAC, Conditional Access, identity models
  • ✓Plan and implement user environments and apps (20–25%) — MSIX app attach, OneDrive, Teams, RemoteApp
  • ✓Monitor and maintain an Azure Virtual Desktop infrastructure (10–15%) — AVD Insights, scaling plans, drain mode, backup

What These Questions Cover

8
AVD Infrastructure
Host pools, FSLogix, storage, networking, scaling
6
Identity & Security
RBAC, Conditional Access, identity models, screen capture
6
User Environments
MSIX app attach, OneDrive, Teams, RemoteApp
5
Monitor & Maintain
AVD Insights, scaling plans, drain mode, backup

📝 Practice Test Instructions

  • • Each question has ONE best answer — choose the option that satisfies ALL stated requirements
  • • AZ-140 questions often hinge on a single configuration detail — read every option completely
  • • Note your answers before scrolling to the answer key below
  • • Aim to complete all 25 questions in 30 minutes (real exam: 180 minutes for 40–60 questions)
🖥️

AVD Infrastructure

Questions 1–8

1

Host Pool Type Selection

A financial services company needs to deploy Azure Virtual Desktop for 300 knowledge workers. All users need a full Windows 11 desktop experience. User workloads vary — some run light browser-based apps, others use resource-intensive financial modeling software. Cost optimization is important. Users should not share a desktop session with other users.

Which host pool type and configuration is MOST appropriate?

A)Personal host pool with Windows 11 Enterprise, Automatic assignment type — each user gets a dedicated session host VM they do not share with others
B)Pooled host pool with Windows 11 multi-session OS, breadth-first load balancing
C)Pooled host pool with Windows Server 2022 RDSH, depth-first load balancing
D)Personal host pool with Windows 11 multi-session, Direct assignment type
2

Host Pool Load Balancing

You have a pooled host pool with 10 session hosts and 200 users. During peak hours, all 200 users are active simultaneously. You want to minimize the number of running session host VMs during off-peak hours. You have configured autoscale with a scaling plan. The load balancing algorithm should prioritize filling each VM to capacity before starting the next VM, allowing unused VMs to shut down.

Which load balancing algorithm should be configured for the off-peak phase?

A)Breadth-first — distributes users across all available session hosts equally
B)Round-robin — alternates connections across session hosts in sequence
C)Depth-first — fills one session host to its max session limit before routing new connections to the next host, allowing empty hosts to remain deallocated
D)Least connections — routes to the session host with the fewest active sessions regardless of max limit
3

FSLogix Storage Selection

You are designing FSLogix profile storage for a pooled deployment with 3,000 concurrent power users. The users' applications generate heavy disk I/O for profile operations — estimated peak IOPS requirement is 150,000 IOPS across the profile storage. The organization uses an on-premises Active Directory domain synchronized with Microsoft Entra ID. SLA requirements demand 99.99% storage availability.

Which Azure storage option BEST meets all requirements?

A)Azure Files Standard tier (StorageV2) — supports up to 20,000 IOPS per share
B)Azure NetApp Files Ultra tier — supports up to roughly 450,000 IOPS per volume, AD DS authentication, and 99.99% SLA
C)Azure Blob Storage — supports unlimited IOPS at low cost
D)Azure Files Premium tier (SSD) — supports up to about 100,000 IOPS per share
4

FSLogix Cloud Cache

An organization runs Azure Virtual Desktop in both East US and West US regions for business continuity. FSLogix profiles must be available even if one region's storage becomes completely unavailable. Profile changes made in one region must be available when a user connects from the other region. You need to configure FSLogix to support this multi-region high-availability profile scenario.

Which FSLogix configuration supports multi-region profile HA?

A)Configure VHDLocations pointing to a geo-redundant Azure Files share (GRS) — GRS provides automatic failover
B)Use Azure Site Recovery to replicate FSLogix VHD files between regions automatically
C)Configure VHDLocations with two paths separated by a semicolon — FSLogix will use the second path if the first fails
D)Configure CCDLocations (Cloud Cache) with storage paths to Azure Files shares in both East US and West US — Cloud Cache writes to all locations simultaneously and reads from the first available, providing active-active HA
5

Custom Image and Azure Compute Gallery

Your organization maintains a golden image for AVD session hosts that must be updated monthly with Windows patches, software updates, and corporate tools. The image must be available in 3 Azure regions. Session host VMs should always run the latest approved image version. When a new image version is published, existing VMs should not be automatically reimaged — only new VMs should use the new version.

Which approach manages custom images most effectively for this scenario?

A)Use Azure Compute Gallery (formerly Shared Image Gallery) — create an image definition, publish image versions (replicated to 3 regions), and reference the image definition in the host pool. New VMs use the latest version; existing VMs are not affected.
B)Store the VHD in a standard Azure Storage account and reference it directly in the host pool image configuration
C)Use Azure Marketplace images with custom script extensions to install corporate tools at deployment time
D)Store the image as a managed disk snapshot and share across subscriptions using disk access policies
6

RDP Shortpath

Users in your organization's corporate headquarters connect to AVD session hosts via an ExpressRoute private peering connection. Users report high latency and occasional connection drops. You want to enable direct UDP-based connectivity between client devices and session hosts to reduce latency and improve connection reliability, using the existing ExpressRoute infrastructure.

Which RDP Shortpath type is designed for this scenario?

A)RDP Shortpath for public networks (STUN/TURN) — routes UDP traffic via Microsoft TURN servers for internet-based connections
B)RDP Shortpath is not compatible with ExpressRoute — only VPN Gateway connections are supported
C)RDP Shortpath for managed networks — uses direct UDP connectivity within a private network (ExpressRoute, VPN) with no relay servers required, giving lowest possible latency
D)Enable RemoteFX UDP transport in the host pool RDP properties to use UDP over ExpressRoute
7

Application Group Types

A hospital needs to deploy AVD for three groups of users: (1) Nurses — need access to a specific clinical application and a general-purpose browser, but NOT a full desktop. (2) Administrators — need a full Windows 11 desktop with access to all installed applications. (3) Radiologists — need access to a specialized imaging viewer application only.

Which application group configuration should be used for each user group?

A)All three groups: Desktop Application Group (DAG) with different application restrictions per group
B)Nurses: RemoteApp Application Group (RAG) with clinical app + browser published. Admins: Desktop Application Group (DAG). Radiologists: separate RemoteApp Application Group (RAG) with imaging viewer published
C)Nurses: Desktop Application Group (DAG) filtered to specific apps. Admins: RemoteApp Application Group (RAG) set to show all apps. Radiologists: Desktop Application Group (DAG)
D)All three groups: RemoteApp Application Group (RAG) — full desktop access is achieved by publishing Windows Explorer in a RAG
8

Scaling Plan Configuration

Your pooled host pool runs business-critical sessions from 8 AM to 6 PM weekdays. You want to: (1) Begin starting additional hosts at 7:30 AM to ensure capacity is ready at 8 AM. (2) During peak hours (8 AM–5 PM), use breadth-first load balancing. (3) From 5 PM to 6 PM, force users to sign out after a wait period and gradually shut down hosts as they empty. (4) After 6 PM, consolidate the remaining sessions onto as few hosts as possible using depth-first load balancing.

Which scaling plan phase configuration achieves this?

A)Configure a single phase that runs 24/7 with one load-balancing algorithm and autoscale based on session count
B)Scaling plans cannot stop hosts during ramp-down — a separate Azure Automation runbook is required
C)Configure two phases: Business hours (8 AM–6 PM, breadth-first, all hosts running) and After hours (6 PM–8 AM, all hosts stopped)
D)Configure four phases: Ramp-up (7:30 AM — start hosts ahead of peak, breadth-first). Peak (8 AM–5 PM — breadth-first). Ramp-down (5 PM — force sign-out of users after a wait time, shut down hosts as they empty). Off-peak (6 PM+ — depth-first to consolidate remaining sessions)
🔐

Identity & Security

Questions 9–14

9

AVD Identity Model Selection

A startup wants to deploy Azure Virtual Desktop with no on-premises infrastructure. They use only Microsoft Entra ID (cloud-only) and Microsoft Intune for device management. They want session hosts joined to Entra ID (not AD DS). They need FSLogix profile containers stored in Azure Files.

What is a critical limitation of this Entra ID-only AVD deployment for FSLogix?

A)FSLogix is not supported in Entra ID-only AVD deployments — a different profile solution must be used
B)FSLogix requires session hosts to be joined to an on-premises domain — Entra ID joined session hosts cannot use FSLogix
C)Azure Files requires AD DS Kerberos authentication for FSLogix SMB access. In an Entra ID-only deployment, FSLogix with Azure Files requires Entra ID-based SMB authentication (identity-based access), which is supported but requires the storage account to be configured for Entra ID authentication instead of AD DS
D)Entra ID-only deployments must use OneDrive for Business instead of FSLogix for profile management
10

AVD RBAC Roles

You need to assign permissions for three people: (1) Sarah — needs to manage all AVD resources (create/modify host pools, application groups, workspaces) but should not be able to manage Azure subscriptions or Entra ID. (2) Tom — is an end user who needs to connect to session hosts in a specific host pool. (3) Alex — manages only the existing session hosts within a host pool (view and remove session hosts, put them in drain mode) but must not be able to change the host pool settings itself.

Which AVD RBAC role should each person receive?

A)Sarah: Desktop Virtualization Contributor. Tom: Desktop Virtualization User. Alex: Desktop Virtualization Session Host Operator
B)Sarah: Owner. Tom: Contributor. Alex: Desktop Virtualization Host Pool Contributor
C)Sarah: Desktop Virtualization Contributor. Tom: Desktop Virtualization Reader. Alex: Desktop Virtualization Contributor
D)Sarah: Contributor (Azure built-in). Tom: Desktop Virtualization User. Alex: Desktop Virtualization Reader
11

Conditional Access for AVD

Your organization wants to enforce that users connecting to Azure Virtual Desktop must be using a device that is: (1) Entra ID joined or Hybrid Entra ID joined, AND (2) marked as compliant in Microsoft Intune. The policy should only apply to AVD connections, not to other cloud app sign-ins.

How should Conditional Access be configured for this requirement?

A)Create a Conditional Access policy targeting All cloud apps with a device filter for compliant and Entra ID joined devices
B)Create a Conditional Access policy targeting the "Azure Virtual Desktop" enterprise application specifically, with a device filter limiting access to Entra ID joined or Hybrid Entra ID joined devices and the grant control "Require device to be marked as compliant" (Intune compliant)
C)Create a Conditional Access policy targeting the "Windows Virtual Desktop" legacy app ID with an IP location condition for corporate IPs only
D)Configure device compliance requirements directly in the AVD host pool RDP properties without Conditional Access
12

Screen Capture Protection

A legal firm processes confidential client documents in Azure Virtual Desktop sessions. The compliance team requires that users cannot take screenshots, use screen recording software, or use remote screen-sharing tools (like Teams screen share) to capture the content visible in their AVD remote session window. This requirement applies only to this specific host pool.

Which AVD feature prevents screen capture of remote session content?

A)Configure a Conditional Access policy blocking screen sharing applications from being installed on client devices
B)Configure Clipboard redirection to disabled in the host pool RDP properties — this prevents data transfer including screenshots
C)Enable Screen capture protection on the session hosts (Intune or Group Policy) — this renders the remote session content as black to screen capture tools and screen sharing software on the client device, while the session remains visible to the local user
D)Enable watermarking on the session hosts — watermarks deter unauthorized sharing of session content
13

Private Endpoint for AVD

A financial institution requires that all network traffic from AVD session hosts to the AVD control plane (gateway, broker, diagnostics) must remain on Microsoft's private network backbone — no traffic should traverse the public internet. Client devices connect from the corporate network via ExpressRoute.

Which networking configuration achieves private AVD control plane traffic?

A)Configure NSG rules on the session host subnet to block outbound internet traffic — AVD will use private paths automatically
B)Use Azure ExpressRoute Microsoft peering to route AVD traffic — ExpressRoute Microsoft peering automatically provides private AVD control plane access
C)Configure Azure Firewall with FQDN application rules to allow only AVD-required URLs — other traffic is blocked
D)Set up Private Link for Azure Virtual Desktop — private endpoints create private IP addresses in your VNet for host pool connections and workspace feeds, allowing the AVD service traffic to stay on private routes
14

Intune for AVD Multi-Session

Your organization wants to manage AVD session host VMs (Windows 11 multi-session) using Microsoft Intune — applying configuration profiles, compliance policies, and security baselines to the session hosts themselves (not the user sessions). Session hosts are Entra ID joined (no AD DS).

What is required to enroll AVD multi-session session hosts in Microsoft Intune?

A)Join the session hosts to Microsoft Entra ID and enable the "Enroll the VM with Intune" option when creating the host pool or adding session hosts in the Azure portal — the hosts are enrolled using device credentials
B)Rely on Intune MDM automatic enrollment scoped to users — Entra ID joined multi-session hosts then enroll with the signed-in user's credentials, so no deployment-time enrollment option is needed
C)Intune cannot manage Windows multi-session OS — only Windows Server and Windows 10/11 single-session are supported
D)Deploy the Intune management extension (IME) manually to each session host VM using a PowerShell script
📦

User Environments & Apps

Questions 15–20

15

MSIX App Attach — Format Selection

You are deploying MSIX app attach for a pooled host pool with 50 session hosts. The MSIX packages are stored on an Azure Files share. You need to choose between storing packages as VHD, VHDX, or CIM (CimFS) format. All session hosts run Windows 11, and you want the fastest mount and unmount times with the lowest CPU and memory consumption when images are attached.

Which package format should you use?

A)VHD format — standard virtual disk format, widest compatibility
B)CIM (Composite Image File System, CimFS) format — faster mounting and unmounting than VHD/VHDX with lower CPU and memory use; recommended for session hosts running Windows 11
C)VHDX format — supports larger package sizes than VHD, but mounts and unmounts more slowly than CimFS and uses more CPU and memory
D)ZIP format — smallest file size, automatically expanded to memory on session host startup
16

MSIX App Attach Lifecycle

A user named Alex signs into a pooled AVD session. Alex has been assigned to an Application Group that includes an MSIX app attach package. Alex uses the application during their session. Alex then signs out of the AVD session. Describe what happens to the MSIX package at each stage during Alex's session lifecycle.

Which sequence of MSIX lifecycle states correctly describes what happens?

A)Staged (before session) → Registered (user sign-in) → Active (during use) → Unregistered (user sign-out) → Removed (session host restart)
B)Destaged (before session) → Staged (session host startup) → Registered (user sign-in) → Deregistered (user sign-out) → Destaged (session host shutdown or no active sessions)
C)Mounted (session host startup) → Available (user sign-in) → Unmounted (user sign-out) → Cached (idle)
D)Published (app group assignment) → Installed (user first sign-in) → Updated (package new version) → Uninstalled (user removed from app group)
17

OneDrive in AVD Multi-Session

You are deploying OneDrive for Business on Windows 11 multi-session session hosts. You want users to be automatically signed into OneDrive with their Entra ID credentials when they start a session — no manual sign-in prompt. You also want users' Desktop, Documents, and Pictures folders to automatically sync to OneDrive (Known Folder Move). OneDrive should not prompt for sign-in or setup on each new session.

Which OneDrive configuration settings achieve silent sign-in and Known Folder Move in multi-session AVD?

A)Configure OneDrive in per-user mode using user profile registry keys; users sign in manually on first session
B)Configure OneDrive per-user installation and use a login script to sign in users via command line on each session start
C)OneDrive Known Folder Move is not supported in Windows 11 multi-session environments — use SharePoint mapped drives instead
D)Configure OneDrive per-machine installation (install with /allusers flag), enable SilentAccountConfig Group Policy (silent SSO via Entra ID token), and enable Known Folder Move Group Policy for Desktop/Documents/Pictures — per-machine install is required for multi-session
18

Teams Optimization for AVD

Users in a pooled AVD host pool use Microsoft Teams for video calls. They report that video calls consume significant CPU/GPU resources on the session host VMs, causing performance degradation for all users sharing the same session host during calls. You want to redirect audio and video processing to the client device instead of the session host.

Which feature enables client-side media processing for Teams in AVD?

A)Teams WebRTC media optimization for AVD — installs the WebRTC redirector service on session hosts and the AVD client supports media engine redirect, offloading audio/video processing to the client device's local hardware
B)Enable the "Audio/Video redirection" setting in the host pool RDP properties — this redirects all audio processing to the client
C)Use Teams Live Events instead of standard meetings — Live Events process media on Microsoft servers instead of session hosts
D)Configure GPU-optimized VM sizes (NV-series) for session hosts to handle video encoding locally without performance impact on other users
19

RemoteApp vs Full Desktop

A manufacturing company uses AVD to deliver two types of experiences: (1) Office workers need a full Windows 11 desktop with multiple applications, file access, and the ability to install approved software via Company Portal. (2) Shop floor workers need to use only a single specialized production scheduling application — they should not see or access anything outside of this application.

Which application group configuration is appropriate for each group?

A)Both groups: Desktop Application Group (DAG) with different Intune application assignment profiles per group
B)Office workers: pooled host pool with Desktop Application Group (DAG). Shop floor workers: separate pooled host pool with RemoteApp Application Group (RAG) publishing only the production scheduling app
C)Office workers: RemoteApp Application Group (RAG) with all apps published. Shop floor workers: Desktop Application Group (DAG) with app restrictions via AppLocker
D)Both groups: RemoteApp Application Group (RAG) — full desktop is not available in pooled host pools
20

FSLogix Application Masking

Your organization has licensed Microsoft Project and Microsoft Visio for 30 out of 200 AVD users. These applications are installed on all session host VMs in a shared host pool (because reinstalling for each user group is not practical). You need to ensure that only the 30 licensed users can see and launch Project and Visio — the other 170 users should not see these applications in their Start menu or taskbar.

Which FSLogix feature achieves this without creating separate host pools?

A)Use MSIX app attach to deliver Project and Visio only to the 30 licensed users' application group assignment
B)Use Intune application assignment to target Project and Visio only to the 30 licensed users — Intune removes the apps from unlicensed users' sessions
C)Use FSLogix Application Masking — create masking rules that hide Project and Visio for users NOT in the licensed group, while the applications remain installed and visible to the 30 licensed users. No separate host pool needed.
D)Create a separate host pool with Project and Visio installed, assign the 30 licensed users to this pool, and use breadth-first load balancing
📊

Monitor & Maintain

Questions 21–25

21

AVD Insights — Diagnostics Setup

You need to enable Azure Monitor for Azure Virtual Desktop (AVD Insights). Users are reporting connection failures, but you have no data to diagnose the issue. AVD Insights is showing empty charts. Your Log Analytics workspace exists but contains no AVD data.

What is the most likely reason AVD Insights shows no data, and how do you fix it?

A)AVD Insights requires a premium Log Analytics workspace — upgrade from the standard workspace and data will populate automatically
B)The Log Analytics workspace must be in the same region as the AVD host pool — create a new workspace in the same region as the session hosts
C)AVD Insights requires the Log Analytics agent to be installed on each session host VM — deploy the agent via Azure Policy
D)Diagnostics settings have not been configured for the host pool, workspace, and application groups. Enable diagnostic settings on each AVD resource (host pool, workspace, app groups) to send logs to the Log Analytics workspace — AVD does not send diagnostics automatically
22

AVD Log Analytics Tables

A user reports they cannot connect to their AVD session. You want to query Log Analytics to find the specific error code and error message recorded for this user's failed attempt.

Which Log Analytics table contains the AVD error codes and messages for a specific user?

A)WVDErrors — contains the error Code, CodeSymbolic, Message, Operation and UserName for failed AVD activities, plus a ServiceError flag showing whether the failure is a service or customer issue
B)AzureActivity — contains all Azure resource management operations including AVD connection events
C)WindowsEvent — contains Windows Event Log data from session host VMs including RDP connection events
D)Heartbeat — contains session host VM availability data used to determine if hosts are online
23

Start VM on Connect

You manage a personal host pool where each user is assigned a dedicated session host VM. To reduce costs during evenings and weekends, you want VMs to automatically shut down when users disconnect (after a 15-minute idle period). When a user connects in the morning, their VM should automatically start — the user should not need to wait for an administrator to start the VM manually.

Which feature enables automatic VM startup on user connection?

A)Configure Azure Auto-shutdown on each VM with a startup schedule for 7 AM each day
B)Enable Start VM on Connect on the personal host pool — when a user connects and their assigned VM is stopped/deallocated, AVD automatically starts it. Requires assigning the Desktop Virtualization Power On Contributor role to the AVD service principal at the subscription or resource group level.
C)Create an Azure Automation runbook triggered by AVD connection events via Azure Monitor Alerts to start the VM
D)Configure Azure Policy to automatically start deallocated VMs when a connection request is received
24

Session Host Drain Mode

You need to apply Windows security patches to 5 session hosts in a pooled host pool. You do not want to disrupt active user sessions. You want to prevent new connections from being routed to these hosts while allowing existing sessions to complete naturally. After all sessions have ended on each host, you will apply patches and then re-enable the hosts.

Which session host management feature enables this graceful maintenance approach?

A)Delete the session hosts from the host pool, patch the VMs, and re-register them with the host pool
B)Use Azure Update Manager to apply patches automatically during a configured maintenance window — existing sessions are not disconnected
C)Enable Drain Mode on the session hosts — new connections are blocked (existing sessions are unaffected), allowing you to wait for all users to sign out naturally before patching
D)Set the max session limit to 0 on the session hosts — this prevents new connections while existing sessions continue
25

FSLogix Profile Backup

Your organization uses FSLogix profile containers stored in an Azure Files Premium share. You need to configure backup for the FSLogix profile data to meet a recovery point objective (RPO) of 24 hours and a retention period of 30 days. The backup solution must support restoring individual profile container files (VHD/VHDX) rather than only the whole share.

Which Azure backup solution is most appropriate for FSLogix profiles on Azure Files?

A)Azure Backup for Azure Virtual Machines — backs up the session host VMs which contain the profile data
B)Azure Site Recovery for Azure Files — provides continuous replication and point-in-time recovery for file shares
C)Configure Azure Files geo-redundant storage (GRS) — GRS automatically backs up data with 24-hour replication lag
D)Azure Backup for Azure Files — takes daily snapshots of the Azure Files share containing FSLogix VHD/VHDX files. Supports retention up to 200 daily snapshots. Restore allows file-level recovery of the VHD container and can restore to an alternate location.

✋ Stop Here Before Scrolling!

Have you answered all 25 questions? Record your answers before checking below.

Pro tip: Many AZ-140 questions hinge on a single word — "pooled" vs "personal", "VHDLocations" vs "CCDLocations", "DAG" vs "RAG". Read every option fully.

📝 Answer Key with Detailed Explanations

Review each explanation carefully — even for questions you got right

Quick Answer Reference

Q1
A
Q2
C
Q3
B
Q4
D
Q5
A
Q6
C
Q7
B
Q8
D
Q9
C
Q10
A
Q11
B
Q12
C
Q13
D
Q14
A
Q15
B
Q16
B
Q17
D
Q18
A
Q19
B
Q20
C
Q21
D
Q22
A
Q23
B
Q24
C
Q25
D
1

Question 1: Host Pool Type Selection

✓ Correct Answer: A) Personal host pool with Windows 11 Enterprise, Automatic assignment

Why this is correct:

Personal host pools assign each user a dedicated session host VM — users do not share the desktop with others. Windows 11 Enterprise (single-session) is the appropriate OS for dedicated personal desktops. Automatic assignment lets AVD assign an unassigned session host on first connection (no pre-mapping required). Variable resource requirements across users are handled by right-sizing VMs per user class.

Why other answers are incorrect:

B: Windows 11 multi-session in a pooled host pool means users share VMs — the requirement explicitly states users should not share a desktop session.
C: Windows Server 2022 RDSH uses Remote Desktop Services licensing and is appropriate for pooled scenarios — not the recommended choice for full Windows 11 desktop experience.
D: Windows 11 multi-session in a personal host pool is a contradiction — multi-session is designed for pooled (shared) scenarios. Personal host pools should use single-session OS.

💡 Key Concept:

Host pool selection: Pooled = multiple users share session hosts, Windows 10/11 multi-session or Windows Server, cost-effective for similar workloads. Personal = each user gets a dedicated VM, Windows 10/11 Enterprise single-session, required when users need persistent customizations or isolated resources. Assignment types: Automatic (assigned on first connect), Direct (pre-mapped to specific user).

2

Question 2: Host Pool Load Balancing

✓ Correct Answer: C) Depth-first — fills hosts before starting new ones

Why this is correct:

Depth-first load balancing routes new connections to the session host with the most existing connections (up to its max session limit). This concentrates users on fewer hosts, allowing other hosts to remain empty and potentially be shut down by autoscale. This is the correct algorithm for cost optimization in off-peak hours. Breadth-first distributes connections evenly — keeping all hosts active and preventing cost savings from host shutdown.

Why other answers are incorrect:

A: Breadth-first is optimal for peak hours (spreads load evenly for performance) but counterproductive for cost optimization — it keeps all hosts active with few sessions each, preventing host shutdown.
B: AVD does not offer a Round-robin algorithm — the two options are Breadth-first and Depth-first.
D: AVD does not offer a Least-connections algorithm — only Breadth-first and Depth-first are available.

💡 Key Concept:

Load balancing algorithms: Breadth-first = distribute evenly across all hosts (maximize performance, use during peak). Depth-first = fill one host before the next (minimize active hosts, use during off-peak for cost savings). Scaling plans can change the algorithm per phase — use breadth-first for ramp-up/peak, depth-first for off-peak to enable host shutdown.

3

Question 3: FSLogix Storage Selection

✓ Correct Answer: B) Azure NetApp Files Ultra tier

Why this is correct:

Azure NetApp Files (ANF) Ultra tier supports up to roughly 450,000 IOPS per volume at about 1 ms latency, compared with a maximum of about 100,000 IOPS per Azure Files share (even SSD/Premium). ANF supports SMB with AD DS integration (required here, since the organization uses on-premises AD DS) and offers a 99.99% SLA. Because the 150,000 IOPS requirement exceeds what a single Azure Files share can deliver, ANF is the only option that meets every requirement.

Why other answers are incorrect:

A: Azure Files Standard (HDD-backed) is limited to about 20,000 IOPS per share — far below the 150,000 IOPS requirement. Standard also has higher latency.
C: Azure Blob Storage does not support SMB protocol — FSLogix requires SMB (Server Message Block) to mount VHD/VHDX profile containers. Blob Storage can only be used by FSLogix as a Cloud Cache provider (page blobs), not as a profile share.
D: Azure Files Premium (SSD) offers a 99.99% SLA and is a good fit for many FSLogix deployments, but a single share tops out at about 100,000 IOPS — below the 150,000 IOPS requirement here. (For a workload under that limit, Azure Files Premium would be a perfectly valid choice.)

💡 Key Concept:

FSLogix storage selection: Azure Files Standard = light workloads, small user counts. Azure Files Premium (SSD) = most medium/heavy deployments, up to ~100K IOPS per share, 99.99% SLA. Azure NetApp Files Premium/Ultra = very large or power-user deployments needing more IOPS/throughput than a single Azure Files share (up to ~450K IOPS and 4.5 GiB/s per volume) and lowest latency. Both Azure Files and ANF support AD DS authentication for FSLogix SMB access; Azure Files can also use Entra Kerberos.

4

Question 4: FSLogix Cloud Cache

✓ Correct Answer: D) CCDLocations (Cloud Cache) with both region storage paths

Why this is correct:

FSLogix Cloud Cache (CCDLocations) maintains synchronized copies of profile containers in multiple storage locations simultaneously. It writes to ALL configured locations and reads from the first available. If East US storage fails, Cloud Cache automatically reads from West US storage within seconds — users experience minimal disruption. This is the purpose-built solution for multi-region FSLogix HA.

Why other answers are incorrect:

A: GRS (geo-redundant storage) replicates data asynchronously to a secondary region for disaster recovery, but the secondary endpoint is read-only and not automatically accessible during a primary region failure for normal SMB access. GRS failover is an account-level operation initiated by Microsoft or the storage account owner — it is not transparent to FSLogix.
B: Azure Site Recovery replicates Azure VMs, not Azure Files shares. ASR is designed for compute DR, not file share replication.
C: VHDLocations with multiple paths separated by semicolons is NOT Cloud Cache — FSLogix simply tries the listed paths in order and uses the first one that works. The locations are not kept in sync, so changes made in one region would not be present in the other, and this does not provide true HA.

💡 Key Concept:

VHDLocations vs CCDLocations: VHDLocations = one or more UNC paths to storage, FSLogix tries paths in order and uses the first successful mount. If the primary storage fails, the profile is unavailable. CCDLocations (Cloud Cache) = writes to ALL paths simultaneously, reads from first available. Provides true HA — storage failure in one location is transparent to the user. Use Cloud Cache for multi-region AVD deployments.

5

Question 5: Custom Image — Azure Compute Gallery

✓ Correct Answer: A) Azure Compute Gallery with image definition and versioned images replicated to 3 regions

Why this is correct:

Azure Compute Gallery (ACG, formerly Shared Image Gallery) provides: image versioning (e.g., 1.0.0, 1.1.0, 1.2.0), automatic replication to multiple regions (configured per image version), image definitions that specify OS type and Hyper-V generation, and the ability to reference the image definition (latest version) or a specific version in host pool configuration. New VMs use the latest published version; existing VMs are unaffected until replaced.

Why other answers are incorrect:

B: Storing VHDs in standard storage accounts does not provide versioning, multi-region replication, or the lifecycle management that ACG provides. VHDs in storage accounts cannot be shared across subscriptions or regions efficiently.
C: Custom script extensions at deployment time increase deployment time, add complexity (script failures break VM deployments), and don't provide a consistent, versioned golden image — each VM may end up slightly different if script runs fail partially.
D: Managed disk snapshots don't support multi-region replication (snapshots are regional), versioning, or cross-subscription sharing in the same organized way as ACG.

💡 Key Concept:

Azure Compute Gallery workflow: Create gallery → Create image definition (OS, VM generation, publisher/offer/SKU) → Create and publish image version (source: VM, managed image, or another image version; replicate to N regions) → Reference image definition (latest) or specific version in AVD host pool. Host pool automatically uses latest published version for new VMs.

6

Question 6: RDP Shortpath — Managed Networks

✓ Correct Answer: C) RDP Shortpath for managed networks

Why this is correct:

RDP Shortpath has two variants: Managed networks (for private connections via ExpressRoute or VPN) and Public networks (for internet connections via STUN/TURN). For ExpressRoute-connected corporate users, RDP Shortpath for managed networks establishes a direct UDP path between the client device and the session host within the private network — no relay servers needed, lowest possible latency (no trampoline through gateway). This significantly reduces latency compared to the TCP-based reverse connect transport.

Why other answers are incorrect:

A: RDP Shortpath for public networks uses STUN/TURN relay servers on the Microsoft network for internet-based clients — this is for users connecting from home or via the internet, not for ExpressRoute-connected corporate networks.
B: RDP Shortpath is specifically designed to work with ExpressRoute and VPN — it is not incompatible.
D: RemoteFX is deprecated and removed from modern Windows versions — it is not a current RDP Shortpath mechanism.

💡 Key Concept:

RDP Shortpath variants: Managed networks = direct UDP between client and session host over private network (ExpressRoute/VPN), UDP port 3390, lowest latency, no relay. Public networks = STUN/TURN-based UDP relay for internet clients, Microsoft-hosted relay servers, still faster than TCP but has relay hop. Both require UDP traffic allowed in NSGs and firewalls. Managed networks = configure NSG to allow UDP 3390 from client subnet to session host subnet.

7

Question 7: Application Group Types

✓ Correct Answer: B) Nurses: RAG with specific apps. Admins: DAG. Radiologists: separate RAG with imaging viewer

Why this is correct:

Desktop Application Group (DAG) publishes a full Windows desktop to users. RemoteApp Application Group (RAG) publishes specific applications — users only see and can launch those published apps. One host pool can have only ONE DAG (only one full desktop per host pool) but can have MULTIPLE RAGs. Each user group gets the right access: Nurses get their specific tools via RAG, Admins get a full desktop via DAG, Radiologists get only their imaging app via a separate RAG.

Why other answers are incorrect:

A: DAG does not support per-group application restrictions in the standard configuration — all users assigned to the DAG see the full desktop with all installed apps. Application control (AppLocker/WDAC) can restrict apps but is more complex than using RAGs.
C: Setting a DAG to "all apps" in a RAG is not how AVD works — RAGs publish specific RemoteApp programs, not a desktop view of all apps.
D: Full desktop access IS available in pooled host pools via a Desktop Application Group (DAG). Saying "full desktop is not available in pooled host pools" is incorrect.

💡 Key Concept:

Application group rules: One DAG per host pool maximum. Multiple RAGs per host pool allowed. A user can be assigned to multiple application groups across different host pools. DAG = full Windows desktop. RAG = specific published applications (RemoteApp). Published apps in a RAG appear in the AVD web client or client app as individual app icons, not as a desktop session.

8

Question 8: Scaling Plan Configuration

✓ Correct Answer: D) Four phases: Ramp-up, Peak, Ramp-down, Off-peak

Why this is correct:

Scaling plans support four distinct phases per schedule: Ramp-up (start ahead of peak demand — spin up hosts, use breadth-first to prepare capacity), Peak (maintain full capacity with configured load balancing), Ramp-down (reduce capacity as demand drops — optionally force users to sign out after a wait time, then shut down hosts as they empty), Off-peak (use depth-first to consolidate remaining sessions onto fewer hosts). This matches all four stated requirements precisely.

Why other answers are incorrect:

A: A single 24/7 phase cannot implement the time-based behavioral differences (ramp-up preparation, peak load management, forced sign-out during ramp-down) — a scaling plan schedule is built from the four distinct phases.
B: Scaling plans CAN stop hosts during ramp-down — this is a core feature. Force-logoff of idle users in ramp-down phase enables hosts to become empty and automatically stop. No separate runbook is required.
C: Two phases miss the ramp-up (start hosts before peak demand) and ramp-down (graceful reduction with forced sign-out). A binary on/off approach is less cost-efficient and doesn't prepare for peak proactively.

💡 Key Concept:

Scaling plan phases (pooled host pools): Ramp-up = start time before peak, load-balancing algorithm, minimum percentage of hosts, capacity threshold. Peak = load-balancing algorithm (capacity threshold carries over from ramp-up). Ramp-down = load-balancing algorithm, minimum percentage of hosts, capacity threshold, optional force sign-out of users after a wait time, then deallocates emptied hosts. Off-peak = load-balancing algorithm (depth-first recommended to consolidate; capacity threshold carries over from ramp-down). Assign a scaling plan to one or more host pools.

9

Question 9: AVD Identity Model — Entra ID-only FSLogix limitation

✓ Correct Answer: C) Azure Files requires Entra ID-based SMB authentication in Entra ID-only deployments

Why this is correct:

In a hybrid (Entra ID + AD DS) deployment, Azure Files uses Kerberos authentication backed by AD DS — session hosts authenticate using their AD computer account. In an Entra ID-only deployment (no AD DS), Azure Files must be configured for Entra ID Kerberos authentication (a newer feature that uses Entra ID tickets). This IS supported but requires specific configuration: enabling identity-based access on the storage account using Entra ID, configuring RBAC for the storage account, and ensuring the AVD client and session host OS version support Entra Kerberos. It works, but requires careful setup distinct from the traditional AD DS path.

Why other answers are incorrect:

A: FSLogix IS supported in Entra ID-only deployments — it requires Entra ID Kerberos authentication for Azure Files instead of AD DS Kerberos. The profile container concept remains the same.
B: This was true historically but is no longer accurate — Entra ID joined session hosts can use FSLogix with Entra ID Kerberos authentication for Azure Files since the feature was introduced.
D: OneDrive for Business and FSLogix are complementary — OneDrive handles documents/desktop folder redirection, FSLogix handles the full Windows profile container. They are not mutually exclusive.

💡 Key Concept:

Identity model feature support: Hybrid (Entra ID + AD DS sync) = most features, traditional Kerberos auth, broadest compatibility. Entra ID-only = supported with Entra Kerberos for Azure Files, requires specific OS and client versions, growing feature parity. Entra Domain Services = managed AD DS, Kerberos support, no DC management overhead. Choose identity model early — it affects many downstream configuration decisions.

10

Question 10: AVD RBAC Roles

✓ Correct Answer: A) Sarah: Desktop Virtualization Contributor. Tom: Desktop Virtualization User. Alex: Desktop Virtualization Session Host Operator

Why this is correct:

Desktop Virtualization Contributor grants full management of all AVD resources (host pools, app groups, workspaces, session hosts) without Azure subscription-level permissions. Desktop Virtualization User grants the right to connect to AVD session hosts — required for end users. Desktop Virtualization Session Host Operator allows viewing and removing session hosts and changing drain mode, but not changing host pool objects — exactly Alex's requirement.

Why other answers are incorrect:

B: Owner at the subscription level grants all Azure resource management including RBAC — far more than Sarah needs. Tom needs Desktop Virtualization User, not Contributor. Desktop Virtualization Host Pool Contributor for Alex would also allow managing all aspects of the host pool, not just its session hosts.
C: Tom needs Desktop Virtualization User (connection access), not Desktop Virtualization Reader (view metadata only — cannot connect to session hosts). Desktop Virtualization Reader is for auditors, not end users.
D: Azure built-in Contributor for Sarah grants all Azure resource management permissions — too broad. She should have AVD-specific Contributor scoped to AVD resources.

💡 Key Concept:

AVD-specific RBAC roles: Desktop Virtualization Contributor = full AVD management (create/modify/delete host pools, app groups, workspaces). Desktop Virtualization User = connect to AVD sessions (end user role). Desktop Virtualization Host Pool Contributor = manage all aspects of a host pool. Desktop Virtualization Session Host Operator = view/remove session hosts and change drain mode, without host pool write access (operations team). Desktop Virtualization User Session Operator = send messages, disconnect and log off user sessions. Desktop Virtualization Reader = view AVD resources (auditors). Assign at the appropriate scope (subscription, resource group, or individual resource).

11

Question 11: Conditional Access for AVD

✓ Correct Answer: B) CA policy targeting Azure Virtual Desktop with device state conditions

Why this is correct:

To apply Conditional Access specifically to AVD connections, target the "Azure Virtual Desktop" enterprise application (and also "Windows Cloud Login" if single sign-on to the session host is enabled). A device filter on the join type combined with the "Require device to be marked as compliant" grant control enforces both Entra ID joined/Hybrid joined AND Intune compliance. By targeting the specific AVD application, the policy only applies to AVD connections — other apps are unaffected.

Why other answers are incorrect:

A: Targeting All cloud apps applies the device compliance requirement to all Azure and Microsoft 365 services — not just AVD. Users would need a compliant device to access email, SharePoint, etc.
C: "Windows Virtual Desktop" is the older display name of the same Azure Virtual Desktop app (it may still appear under that name in some tenants), and the policy as written only checks IP location, not device join type or compliance — it does not meet the requirement.
D: RDP properties control what is enabled within a session (clipboard, drive redirection) — they cannot enforce Entra ID device compliance. Conditional Access enforces these requirements before the session is established.

💡 Key Concept:

Conditional Access for AVD: Target the "Azure Virtual Desktop" enterprise application (app ID 9cdead84-a844-4324-93f2-b2e6bb768d07) and, when single sign-on is enabled, "Windows Cloud Login". Do not target the "Azure Virtual Desktop Azure Resource Manager Provider" app. Common conditions: device compliance, device join type, sign-in risk, MFA. Common grant controls: Require MFA, Require compliant device, Require Hybrid Entra ID joined. Session controls: sign-in frequency, persistent browser session. CA is enforced at the initial connection authentication — not per individual RDP operation.

12

Question 12: Screen Capture Protection

✓ Correct Answer: C) Screen capture protection — renders session black to capture tools

Why this is correct:

Screen capture protection is configured on the session hosts (an Intune settings catalog policy or Group Policy, "Enable screen capture protection") and enforced by the Windows App / Remote Desktop client. Remote content is blocked in screenshots and screen sharing: the content is still displayed on the screen for the legitimate user, but capture tools see it as blocked/black. Choosing "Block screen capture on client and server" also stops capture tools running inside the VM. It requires session hosts running Windows 11 or Windows 10, version 22H2 or later.

Why other answers are incorrect:

A: Conditional Access controls session establishment conditions — it cannot block specific applications (like OBS or Snipping Tool) on the client device after authentication.
B: Clipboard redirection disabled prevents copy-paste of text/files between the session and the local device — it does not prevent screenshots. Screen capture protection is a separate, specific feature for this use case.
D: Watermarking (also configured on the session hosts) adds visible QR-code watermarks to deter unauthorized sharing by making screenshots traceable — it does NOT prevent screenshots. The user can still capture the screen; the watermark just makes it attributable. Screen capture protection actually prevents the capture.

💡 Key Concept:

Screen capture protection vs Watermarking: Screen capture protection = blocks screen capture tools from capturing session content (session appears black to capture APIs). Prevents screenshots. Watermarking = adds a QR code watermark visible in the session (contains the connection ID or device ID). Deters sharing by making it traceable — does NOT prevent screenshots. For compliance requirements that prohibit screenshots: Screen capture protection. For data governance/traceability: Watermarking. Can use both simultaneously.

13

Question 13: Private Endpoint for AVD

✓ Correct Answer: D) Private Link (private endpoints) for Azure Virtual Desktop

Why this is correct:

Private Link with Azure Virtual Desktop uses private endpoints that create private IP addresses in your VNet: the "connection" sub-resource on each host pool (remote session connections for both clients and session hosts), the "feed" sub-resource on each workspace (feed download), and one "global" sub-resource (initial feed discovery). Traffic then uses private routes instead of the public internet. Client devices connecting from the corporate network via ExpressRoute also reach AVD through these private endpoints.

Why other answers are incorrect:

A: NSG rules can block outbound internet traffic, but this breaks AVD connectivity because the control plane traffic would have no path to the AVD services. Without private endpoints, AVD requires internet outbound access to public Azure endpoints.
B: ExpressRoute Microsoft peering connects to Microsoft's public services via the Microsoft backbone, but the AVD control plane endpoints are still accessed via their public IP addresses unless Private Endpoints are configured — Microsoft peering improves routing but doesn't make public endpoints private.
C: Azure Firewall with FQDN rules controls WHAT traffic is allowed/denied but doesn't change the routing path — traffic to public AVD endpoints still traverses the internet (or Azure backbone, but via public IPs). Private Endpoints change where the service is accessible (private IP vs. public IP).

💡 Key Concept:

AVD Private Link configuration: Enable Private Link on the subscription, then create private endpoints for the host pool (connection sub-resource, one per host pool), each workspace (feed sub-resource, one per workspace), and one workspace global sub-resource for initial feed discovery. Configure private DNS zones (privatelink.wvd.microsoft.com for feed/connection and privatelink-global.wvd.microsoft.com for global). Set the public access setting on the host pool and workspace to private only to close public routes.

14

Question 14: Intune for AVD Multi-Session

✓ Correct Answer: A) Entra ID join plus the "Enroll the VM with Intune" option in the Azure portal

Why this is correct:

Windows Enterprise multi-session session hosts that are Microsoft Entra joined are enrolled in Intune by enabling "Enroll the VM with Intune" when you deploy them from the Azure portal (selecting Microsoft Entra ID as the join type exposes this option). Intune requires multi-session hosts to be enrolled with device credentials, in pooled host pools deployed through Azure Resource Manager and running a recent AVD agent. Configuration profiles (via the settings catalog), compliance policies, and security baselines can then be applied to the session host devices.

Why other answers are incorrect:

B: Enrollment with user credentials isn't supported for Windows Enterprise multi-session — session hosts must be enrolled with device credentials, which is what the portal "Enroll the VM with Intune" option sets up for Entra joined hosts.
C: Intune CAN manage Windows 11 multi-session OS — this capability was introduced specifically to support AVD management scenarios. Session host VMs appear in Intune as computer objects.
D: The Intune Management Extension (IME) is for deploying PowerShell scripts and Win32 apps — it is not the enrollment mechanism. Enrollment happens via the Entra ID join and MDM policy, not by installing a specific extension manually.

💡 Key Concept:

Intune for AVD multi-session: Supported for Windows Enterprise multi-session in pooled host pools deployed through Azure Resource Manager. Requirements: session hosts are either Microsoft Entra joined and enrolled via the portal "Enroll the VM with Intune" option, or Microsoft Entra hybrid joined and enrolled via device-credential auto-enrollment (Group Policy or co-management). Use the settings catalog for policies. Intune manages machine-level settings (security baselines, OS configuration) — user-level policies via GPO or Intune user profiles work alongside machine policies.

15

Question 15: MSIX App Attach — Format Selection

✓ Correct Answer: B) CIM (Composite Image File System, CimFS) format

Why this is correct:

For MSIX and Appx disk images you can use CimFS, VHDX, or VHD. Microsoft states that mounting and unmounting CimFS images is faster than VHD and VHDX and consumes less CPU and memory (in Microsoft's test: average unmount 36 ms vs 1,615 ms, memory 2% vs 6%, no CPU effect vs maxed out), and recommends CimFS only when session hosts run Windows 11 — which matches this scenario.

Why other answers are incorrect:

A: Microsoft does not recommend VHD for app attach images; it mounts and unmounts more slowly and consumes more CPU and memory than CimFS.
C: VHDX is supported and is the better choice when session hosts are not on Windows 11, but it mounts and unmounts more slowly and uses more CPU and memory than CimFS.
D: ZIP format is not a supported disk image format. MSIX packages themselves are ZIP-based archives, but the disk image used for app attach must be CimFS, VHDX, or VHD.

💡 Key Concept:

App attach image formats: CimFS = fastest mount/unmount, lowest CPU/memory, recommended only for Windows 11 session hosts (a CimFS image is a .cim file plus objectid_ and region_ files). VHDX = supported, works on all supported hosts. VHD = supported but not recommended. Disk images are read-only, so Microsoft recommends excluding them from antivirus scans. Keep the app attach images in the same Azure region as the session hosts and avoid sharing the file share with FSLogix profile containers.

16

Question 16: MSIX App Attach Lifecycle

✓ Correct Answer: B) Destaged → Staged → Registered → Deregistered → Destaged

Why this is correct:

The MSIX app attach lifecycle follows four stages: Before the user connects, the image is Destaged (disk not attached to the session host). When the session host starts (or MSIX is configured), the image is Staged (disk attached to session host, package files accessible but not visible to users). When the user signs in, the package is Registered (application appears in Start menu and is launchable by the user). When the user signs out, the package is Deregistered (application disappears from Start). When the session host shuts down or the package is removed, it is Destaged (disk detached).

Why other answers are incorrect:

A: There is no "Active" or "Unregistered" state in the official MSIX lifecycle. The correct states are Staged, Registered, Deregistered, and Destaged.
C: "Mounted", "Available", and "Cached" are not official MSIX app attach lifecycle state names.
D: "Published", "Installed", "Updated", and "Uninstalled" describe traditional application deployment terminology, not MSIX app attach lifecycle stages.

💡 Key Concept:

MSIX lifecycle memory aid: Think of it as disk mount → user registration → user deregistration → disk unmount. Staged = disk in (host-level, no user visibility). Registered = user can see and use the app. Deregistered = user signs out, app hidden. Destaged = disk out (cleanup). The staging/destaging happens at the session host level; registration/deregistration happens at the user session level.

17

Question 17: OneDrive in AVD Multi-Session

✓ Correct Answer: D) Per-machine installation + SilentAccountConfig + Known Folder Move via Group Policy

Why this is correct:

OneDrive per-machine installation (/allusers flag) installs OneDrive once for all users on the session host instead of per-user profile — essential for multi-session environments to avoid profile size bloat and per-user installation overhead. SilentAccountConfig Group Policy uses the user's Entra ID token to automatically sign into OneDrive without a manual sign-in prompt. Known Folder Move (KFM) Group Policy redirects Desktop, Documents, and Pictures to OneDrive automatically.

Why other answers are incorrect:

A: Per-user installation in multi-session environments means each user's profile contains a separate OneDrive installation binary — this increases profile size significantly and causes issues with FSLogix profile containers.
B: OneDrive Known Folder Move IS supported in Windows 11 multi-session — this has been a supported configuration for several years. SharePoint mapped drives are an alternative but not required.
C: Command-line sign-in scripts are fragile and don't support the full silent SSO flow — SilentAccountConfig Group Policy provides the proper Entra ID token-based silent sign-in.

💡 Key Concept:

OneDrive for AVD best practices: Install per-machine (not per-user) using /allusers switch. Enable SilentAccountConfig for automatic Entra ID sign-in. Configure KFM for Desktop/Documents/Pictures. Enable Files On-Demand to avoid downloading all files to profile. Exclude OneDrive cache folders from FSLogix profile container if using separate Office Container. Do NOT sync the entire FSLogix profile VHD file to OneDrive.

18

Question 18: Teams Optimization for AVD

✓ Correct Answer: A) Teams WebRTC media optimization

Why this is correct:

Teams WebRTC media optimization redirects the audio/video media processing from the session host to the client device. The AVD client on the local machine runs the Teams WebRTC engine locally, processing the camera, microphone, and speaker directly. Only the Teams UI and call control signaling runs on the session host — media streams go peer-to-peer between client devices (or via Microsoft relay) without touching the session host CPU/GPU. This dramatically reduces session host resource consumption during video calls.

Why other answers are incorrect:

B: "Audio/Video redirection" in RDP properties is a simple RDP audio redirection feature (plays sound locally), not the same as Teams WebRTC media optimization. Basic audio redirection still processes the audio on the session host before redirecting.
C: Teams Live Events are broadcast-style, one-to-many webcast meetings — not a solution for standard meeting performance optimization.
D: GPU-optimized VMs (NV-series) improve graphics rendering performance (useful for CAD/3D workloads) but do not eliminate the problem — all 50 users on shared session hosts using video calls would still consume NV-series GPU resources proportionally.

💡 Key Concept:

Teams media optimization requirements: Teams desktop app installed per-machine on the session host (Windows 10/11 Enterprise or multi-session). Windows App or the Remote Desktop client on a supported local platform (web browsers don't support media optimization). Install the Remote Desktop WebRTC Redirector Service on each session host and set the HKLM\SOFTWARE\Microsoft\Teams IsWVDEnvironment = 1 registry value. Verify optimization is active: Teams → More options (...) → Settings → About Teams should show "AVD Media Optimized" (or "AVD SlimCore Media Optimized" with new Teams SlimCore).

19

Question 19: RemoteApp vs Full Desktop

✓ Correct Answer: B) Office workers: DAG in pooled host pool. Shop floor: separate pooled host pool with RAG

Why this is correct:

Office workers need a full Windows desktop with flexibility — Desktop Application Group (DAG) in a pooled host pool provides this. Shop floor workers need application isolation — RemoteApp Application Group (RAG) publishing only the production scheduling app provides a focused, locked-down experience. Using separate host pools for the two groups allows different VM sizing, session limits, and application installations without cross-contamination.

Why other answers are incorrect:

A: Applying Intune application assignment profiles doesn't prevent users from seeing other installed applications in a full desktop — AppLocker or WDAC would be required for true application restriction, and this is more complex than using a RAG.
C: A RAG cannot deliver a full desktop experience — RemoteApp runs individual apps in their own windows, not within a Windows shell. AppLocker in a DAG is a valid security control but not simpler than the DAG/RAG separation.
D: Full desktop (DAG) IS available in pooled host pools — this is a very common deployment pattern. The statement that full desktop is not available in pooled host pools is false.

💡 Key Concept:

When to use RemoteApp (RAG): Task workers who need only specific apps, call center agents, shop floor workers, kiosk scenarios, users who need to share data from RemoteApp with local apps (file associations). When to use full desktop (DAG): Knowledge workers, power users, users who need the full Windows experience, developers, users who run many applications. Both can run in the same pooled host pool using different application groups.

20

Question 20: FSLogix Application Masking

✓ Correct Answer: C) FSLogix Application Masking — hides apps for non-licensed users

Why this is correct:

FSLogix Application Masking uses a rule-based system to hide applications, files, registry keys, and shortcuts from specified users or groups. Create masking rules that make Project and Visio invisible (Start menu, taskbar, file associations, registry) for users NOT in the licensed Entra ID/AD group. Licensed users in the group see and access the applications normally. The applications remain installed on all session hosts — masking only controls visibility per user group. No separate host pool needed.

Why other answers are incorrect:

A: MSIX app attach is for packaging applications in MSIX format and delivering them dynamically — it requires converting Project and Visio to MSIX packages. Microsoft 365 apps like Project and Visio can be delivered via M365 click-to-run, and MSIX app attach adding a separate packaged version would be redundant and complex.
B: Intune application assignment can install/uninstall apps, but uninstalling from session hosts would remove them for ALL users (not per-session selective hiding). Reinstalling per session is not practical in a shared host pool.
D: Creating a separate host pool adds infrastructure overhead, session host VM costs, and requires managing two host pool image versions — Application Masking achieves the same result more elegantly without additional infrastructure.

💡 Key Concept:

FSLogix Application Masking use cases: License-based application control (hide Project/Visio from unlicensed users), role-based application visibility (admins see admin tools, users don't), OS feature hiding. Masking rules define: what to hide (file paths, registry keys, Start menu shortcuts, application shortcuts), and who to hide it from (user/group exclusions or inclusions). Rule files (.fxr) and assignment files (.fxa) are created with the FSLogix Apps Rule Editor tool.

21

Question 21: AVD Insights — Diagnostics Setup

✓ Correct Answer: D) Diagnostics settings not configured on AVD resources

Why this is correct:

AVD Insights is a workbook in Azure Monitor that queries data from a Log Analytics workspace. However, AVD resources (host pools, workspaces, application groups) do not send diagnostic data to Log Analytics automatically. You must manually configure diagnostic settings on each resource: Host pool → Diagnostics settings → Send to Log Analytics workspace → select log categories (WVDConnections, WVDErrors, WVDHostRegistrations, etc.). Once configured, data flows within minutes and AVD Insights populates.

Why other answers are incorrect:

A: There is no "premium" Log Analytics workspace tier — all workspaces are the same type (per-GB billing). No upgrade is needed.
B: AVD Insights uses diagnostic settings (resource-level logging) sent to Log Analytics — not the Log Analytics agent installed on VMs. Session host performance data (CPU, memory) does use the Azure Monitor agent on VMs, but AVD connection/error diagnostics come from the diagnostic settings, not the agent.
C: Log Analytics workspaces can receive AVD data from resources in any region — the workspace and host pool do not need to be in the same region.

💡 Key Concept:

AVD Insights setup checklist: 1) Create Log Analytics workspace. 2) Enable diagnostic settings on: host pool(s) — all log categories, workspace — all categories, application groups — all categories. 3) Enable Azure Monitor agent on session host VMs for performance counters. 4) Open AVD Insights workbook → configure it to point to your Log Analytics workspace. Data latency: 5–15 minutes after first configuration. Use the AVD Insights workbook Configuration tab to verify all required data sources are configured.

22

Question 22: AVD Log Analytics Tables

✓ Correct Answer: A) WVDErrors — error codes and messages

Why this is correct:

WVDErrors is the Log Analytics table that records AVD errors. Its columns include UserName, Code, CodeSymbolic, Message, Operation, ActivityType, Source, CorrelationId and ServiceError. ServiceError = false indicates an issue an admin can resolve, while true means it must be escalated to Microsoft. A query such as WVDErrors | where UserName == "user@contoso.com" returns the failure details for that user. By contrast, WVDConnections records connection activity (UserName, State such as Connected/Completed, SessionHostName, client details, TransportType) but has no error code or message columns.

Why other answers are incorrect:

B: AzureActivity logs Azure Resource Manager (ARM) operations — resource creation, deletion, RBAC changes. It does not contain AVD session-level connection attempt details or user sign-in information.
C: WindowsEvent (from the Windows Event Log data collector) captures OS-level events from session host VMs — these can include RDP service events but are not the structured AVD connection telemetry table.
D: Heartbeat contains agent heartbeat data (VM online/offline status) from the Log Analytics agent — not connection attempt or user session details.

💡 Key Concept:

Key AVD Log Analytics tables: WVDConnections = user connection activity (State, session host, client info) correlated by CorrelationId. WVDErrors = error codes and messages. WVDHostRegistrations = session host registration with the host pool. WVDCheckpoints = checkpoint events that show where in the connection pipeline an activity got to. WVDManagement = management activity. WVDSessionHostManagement = session host management data (such as session host updates). WVDAgentHealthStatus = session host agent health reporting. For connection troubleshooting: start with WVDConnections (find the CorrelationId) → WVDErrors (error code/message) → WVDCheckpoints (stage detail).

23

Question 23: Start VM on Connect

✓ Correct Answer: B) Start VM on Connect on the personal host pool with Power On Contributor role

Why this is correct:

Start VM on Connect is a feature that enables AVD to automatically start a stopped or deallocated session host VM when a user attempts to connect to it. For personal host pools, this is configured directly on the host pool settings. The AVD service principal (the Azure Virtual Desktop app) must be granted the "Desktop Virtualization Power On Contributor" built-in role at the subscription or resource group containing the session host VMs — this role grants the service permission to start VMs on behalf of users.

Why other answers are incorrect:

A: Azure Auto-shutdown schedules are one-directional — they stop VMs on a schedule but have no mechanism to start VMs when a user connects. A manual or scheduled startup would be needed, not user-triggered.
C: Creating automation runbooks triggered by AVD connection events requires complex event-driven architecture (AVD → Event Hub → Logic App → Runbook or similar). Start VM on Connect is the built-in, simpler solution for this exact scenario.
D: Azure Policy cannot react to real-time connection requests — Policy evaluates resource compliance on a scheduled basis, not in response to user connection events.

💡 Key Concept:

Start VM on Connect setup: Enable on host pool (personal or pooled). Assign "Desktop Virtualization Power On Contributor" role to the AVD service principal ("Windows Virtual Desktop" or "Azure Virtual Desktop" enterprise application) at subscription or resource group scope. For personal host pools: user's assigned VM starts on connection. For pooled host pools: works with scaling plans. User experiences a ~30–60 second wait for VM to start if it was deallocated.

24

Question 24: Session Host Drain Mode

✓ Correct Answer: C) Enable Drain Mode on the session hosts

Why this is correct:

Drain Mode is an AVD session host property that, when enabled, prevents the AVD gateway from routing NEW connections to that session host. Existing active sessions are completely unaffected — users continue working normally. When all users on the session host have signed out naturally (or been asked to save and sign out), the session host becomes empty and can be patched safely. After patching, drain mode is disabled and the host resumes accepting connections.

Why other answers are incorrect:

A: Deleting and re-registering session hosts from the host pool is a disruptive and time-consuming process — existing user sessions would be immediately terminated when the host is deleted.
B: Azure Update Manager can apply patches with minimal disruption for OS patches but depends on the maintenance window configuration — it does not provide the graceful "wait for users to sign out" behavior that Drain Mode enables. Some patches require restart which would disconnect active sessions.
D: Setting max session limit to 0 might prevent new connections (depending on implementation) but is not the official drain mechanism — Drain Mode is the supported feature for this purpose. Max session limit of 0 may cause unexpected behavior.

💡 Key Concept:

Session host maintenance workflow: 1) Enable Drain Mode on session hosts to be patched (prevents new connections). 2) Notify existing users via session message (use the Send-AzWvdUserSessionMessage cmdlet or the portal). 3) Wait for users to sign out naturally (or set a deadline). 4) Verify 0 active sessions (check portal or WVDConnections table). 5) Apply patches/updates. 6) Verify session host health. 7) Disable Drain Mode to restore to service. Use Azure Update Manager with maintenance windows for automated scheduled patching.

25

Question 25: FSLogix Profile Backup

✓ Correct Answer: D) Azure Backup for Azure Files

Why this is correct:

Azure Backup for Azure Files provides: daily snapshot-based backups of Azure Files shares (including the FSLogix VHD/VHDX container files), configurable retention (up to 200 daily recovery points, weekly/monthly/yearly), file-level restore (restore individual files or the complete share to the original or alternate location), and integration with Recovery Services Vault for centralized management. This directly meets the 24-hour RPO and 30-day retention requirements.

Why other answers are incorrect:

A: Azure Backup for Azure Virtual Machines backs up the session host VM disks (OS and data disks) — not the FSLogix profile data on Azure Files. Even if a session host is backed up, the FSLogix profiles are on a separate Azure Files share, not on the VM disks.
B: Azure Site Recovery is designed for VM replication and disaster recovery — it does not support Azure Files share replication for backup purposes.
C: GRS (geo-redundant storage) replicates data to a secondary region for disaster recovery but is NOT a backup solution. GRS does not provide point-in-time recovery, retention policies, or file-level restore. If a file is accidentally deleted, GRS replicates the deletion to the secondary region as well — GRS protects against regional failure, not data loss.

💡 Key Concept:

FSLogix backup strategy: Azure Backup for Azure Files = primary backup tool for FSLogix shares. Configure in Recovery Services Vault → Backup → Azure Files → select storage account and file share → configure daily backup policy with 30-day retention. Restore options: Full share restore, individual file/folder restore, restore to original or alternate storage account. Test restores periodically — verify that restored VHD files can be mounted and profiles are intact.

📊 How Did You Score?

23–25
Exam Ready
Excellent! Schedule your AZ-140 exam.
19–22
Almost There
Review FSLogix Cloud Cache and MSIX lifecycle.
14–18
Keep Studying
Focus on host pool types, storage selection, and monitoring.
0–13
More Study Needed
Build AZ-104 foundations and deploy an AVD lab environment.

Ready for More AZ-140 Practice?

These 25 questions are just a sample. The actual AZ-140 has 40–60 questions in 180 minutes.

MSCertQuiz AZ-140 includes 500 questions covering:

  • ✓ Host pool design — pooled vs personal, load balancing, scaling plans in depth
  • ✓ FSLogix deep-dive — all configuration options, Cloud Cache, storage sizing
  • ✓ MSIX app attach — all lifecycle stages, format comparison, troubleshooting
  • ✓ Identity scenarios — all three identity models, Conditional Access, AVD RBAC
  • ✓ Monitoring — WVD* tables, AVD Insights, scaling plan diagnostics

$19.99 One-Time Payment

Lifetime access • No subscription • 500 questions