AZ-140: Configuring and Operating Microsoft Azure Virtual Desktop Exam-style mock test
AZ-140 Azure Virtual Desktop Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Plan and Implement an Azure Virtual Desktop Infrastructure
A multinational bank is deploying Azure Virtual Desktop for its trading floor. Traders run resource-intensive, single-user applications and must never be interrupted by other users' sessions. Which host pool type should the architect choose?
・Pooled, so that each trader is load balanced across all available session hosts in the pool
Incorrect. Pooled host pools share session hosts among many users, which is the opposite of the isolation the traders require.
✓Personal, assigning each trader a dedicated session host
Correct. Personal host pools assign a dedicated session host to each user, giving the isolation that resource-intensive single-user workloads need.
・Pooled with the breadth-first load balancing algorithm enabled
Incorrect. Breadth-first spreads users across hosts but still shares each host among multiple sessions.
・Pooled with the depth-first load balancing algorithm and a max session limit of one
Incorrect. Forcing a max session limit of one on a pooled host pool is an awkward workaround and does not persist user-to-host assignment the way personal does.
Explanation
Personal host pools provide a one-to-one, persistent mapping between users and session hosts, which suits dedicated resource-intensive workloads.
Example2 · Manage Access and Security
At a multinational bank, a helpdesk team must be able to start, restart, and shut down session host VMs in an Azure Virtual Desktop host pool, but they must not be able to delete the host pool or modify its network settings. You want to grant the least privilege using a built-in role. Which role should you assign to the helpdesk team?
✓Desktop Virtualization Power On Off Contributor
Correct. This built-in role lets the team manage the power state of session host VMs without granting delete or network configuration rights.
・Owner on the resource group that contains the host pool and all of its session hosts
Incorrect. Owner grants full control, which far exceeds the power-management requirement and violates least privilege.
・Desktop Virtualization Contributor
Incorrect. This role can create and manage host pool resources, which is broader than the power-only requirement.
・Virtual Machine Administrator Login
Incorrect. This role governs interactive sign-in to VMs, not the ability to start or stop them.
Explanation
The Desktop Virtualization Power On Off Contributor role is scoped specifically to power operations, matching the least-privilege need.
Example3 · Manage User Environments and Apps
A multinational bank deploys a pooled host pool for its teller workforce. Users report that their personalization and settings are lost whenever they reconnect to a different session host. You must ensure each user keeps a consistent, roaming profile across all hosts in the pool. Which solution should you implement?
✓Enable FSLogix profile containers pointing to an Azure Files share
Correct. FSLogix profile containers stored on a shared Azure Files location give each user a roaming profile that follows them to any host in the pool.
・Switch the host pool from pooled to personal assignment mode
Incorrect. Personal assignment pins a user to one host, which is costly for a large teller workforce and does not solve roaming across pooled hosts.
・Configure a local profile with roaming user profiles on each host
Incorrect. Classic roaming user profiles are slow and prone to corruption; Microsoft recommends FSLogix for AVD instead.
・Rely on the default Windows local profile stored on every session host so that each session host independently keeps the teller's settings available on that machine
Incorrect. Local profiles are tied to a single host, which is exactly what causes the lost settings described.
Explanation
FSLogix profile containers are the recommended way to deliver roaming profiles in pooled AVD environments.
Example4 · Monitor and Maintain an Azure Virtual Desktop Infrastructure
A hospital's IT team wants to surface host pool performance data, connection diagnostics, and session trends in the built-in Azure Virtual Desktop Insights workbook. Before the workbook can display data, what must the administrator configure first?
✓A Log Analytics workspace that receives the diagnostic settings and counters
Correct. Azure Virtual Desktop Insights reads from a Log Analytics workspace, so diagnostic settings and performance counters must flow there first.
・An Azure Storage account configured as the dedicated archive target for host pool activity logs only
Incorrect. A storage account can archive logs but Insights workbooks query Log Analytics, not blob storage.
・A Network Watcher instance deployed in the hospital's hub virtual network and paired with NSG flow logs
Incorrect. Network Watcher and NSG flow logs cover network traffic analysis, not AVD Insights data.
・A dedicated Azure Automation account linked to every session host to export performance counters out to CSV
Incorrect. An Automation account exporting CSV files is not how Insights ingests or displays monitoring data.
Explanation
AVD Insights is powered by a Log Analytics workspace that collects diagnostics and counters from host pools and session hosts.
Example5 · Plan and Implement an Azure Virtual Desktop Infrastructure
A hospital IT team deploys a host pool for its radiology clinicians. Each clinician must receive a dedicated session host that keeps their locally cached imaging profiles between sign-ins. Which host pool type should the team configure?
・Pooled, so that any available session host is assigned on sign-in
Incorrect. Pooled assignment load balances users across hosts and does not keep a user tied to one host or its cached data.
✓Personal, so each user is persistently assigned to one session host
Correct. Personal host pools assign each user to a specific session host persistently, preserving locally cached profiles across sign-ins.
・A RemoteApp application group attached to a pooled host pool
Incorrect. A RemoteApp group publishes individual apps and does not provide persistent machine assignment for cached imaging profiles.
・A validation environment host pool reserved for pre-release testing
Incorrect. A validation environment only controls the service update ring and is not a mechanism for persistent user-to-host assignment.
Explanation
Persistent, user-specific session hosts that retain local state are the defining use case for personal host pools.
Example6 · Plan and Implement an Azure Virtual Desktop Infrastructure
A hospital's session hosts must authenticate users against the on-premises Active Directory domain used by the electronic health record system. Which requirement must the host pool's virtual network meet?
✓It must resolve the AD domain via DNS reachable from the virtual network
Correct. Session hosts must be able to resolve and reach the domain controllers through DNS configured on the virtual network.
・It must disable all outbound internet access from the session hosts
Incorrect. Session hosts still require specific outbound access to the Azure Virtual Desktop service endpoints to function.
・It must use a public IP address on every session host in the pool
Incorrect. Session hosts do not require public IP addresses; they connect to the service through outbound connectivity.
・It must place each session host in its own dedicated subnet only
Incorrect. Multiple hosts can share a subnet, and dedicated subnets are not a domain-join requirement.
Explanation
Domain join and authentication depend on DNS resolution and network reachability to the domain controllers from the host pool virtual network.
Example7 · Plan and Implement an Azure Virtual Desktop Infrastructure
A global retailer is deploying Azure Virtual Desktop for its merchandising teams, who run graphics-heavy planogram software that keeps the CPU near full load. Each analyst needs a dedicated, consistently performing desktop, and the retailer wants to keep per-user resource contention to a minimum. Which host pool type should the architect choose?
・Pooled host pool using breadth-first load balancing
Incorrect. Breadth-first spreads sessions across session hosts, but a pooled host pool still shares each host among multiple users, causing contention for CPU-bound apps.
・Pooled host pool using depth-first load balancing
Incorrect. Depth-first packs users onto a host before moving on, which worsens contention for a CPU-intensive single-session workload.
✓Personal host pool with automatic assignment
Correct. A personal host pool assigns one dedicated VM per user, eliminating contention and giving consistent performance for the CPU-bound planogram app.
・A multi-session pooled host pool shared by the whole merchandising department
Incorrect. Sharing a single multi-session host across the whole department maximizes contention and is the opposite of what a heavy CPU-bound workload needs.
Explanation
Personal (single-session) host pools dedicate one VM per user, which is the right choice for performance-sensitive, CPU-intensive workloads that cannot tolerate contention.
Example8 · Plan and Implement an Azure Virtual Desktop Infrastructure
The retailer's call center uses a pooled host pool for light line-of-business apps. Management wants to shut down idle session hosts at night to save cost, so sessions should concentrate onto as few hosts as possible before a new host is used. Which load-balancing algorithm meets this goal?
・Breadth-first load balancing
Incorrect. Breadth-first spreads sessions evenly across all hosts, keeping more hosts active and preventing the consolidation needed to power them down.
✓Depth-first load balancing
Correct. Depth-first fills one session host up to its session limit before using the next, concentrating users so idle hosts can be deallocated.
・Round-robin DNS distribution across hosts
Incorrect. Round-robin DNS is not an Azure Virtual Desktop host pool load-balancing option.
・Random assignment of each new session to any available host
Incorrect. Random assignment is not an available AVD load-balancing method and would not reliably consolidate sessions.
Explanation
Depth-first load balancing packs sessions onto hosts up to the max session limit, enabling idle hosts to be shut down for cost savings.
Example9 · Plan and Implement an Azure Virtual Desktop Infrastructure
During planning for the retailer's AVD deployment, a network engineer asks which component actually brokers connections and manages the session hosts. Which statement about the Azure Virtual Desktop control plane is correct?
・The customer must deploy and patch the gateway and broker roles on their own VMs.
Incorrect. The broker and gateway are part of the Microsoft-managed control plane, not customer-deployed VMs.
✓Microsoft manages the broker, gateway, and web access services as a platform service.
Correct. Microsoft manages the connection broker, gateway, and web access as a PaaS control plane, so customers only manage session hosts.
・The session hosts need a public IP address so clients can connect to them directly.
Incorrect. Session hosts connect outbound to the managed gateway; they do not require public IPs for client connectivity.
・The control plane requires an ExpressRoute circuit before any user can sign in.
Incorrect. ExpressRoute is optional for private connectivity and is not a prerequisite for the managed control plane.
Explanation
In AVD, Microsoft manages the control plane (broker, gateway, web access, diagnostics), and customers manage only the session host VMs and their networking.
Example10 · Plan and Implement an Azure Virtual Desktop Infrastructure
A manufacturing firm's CAD engineers each need a dedicated, persistent desktop that keeps installed plugins and files between sessions. Which host pool type should you deploy?
・A pooled host pool with breadth-first load balancing
Incorrect. Pooled host pools share session hosts among many users, so no single engineer gets a persistent machine.
✓A personal host pool
Correct. Personal host pools assign each user a dedicated VM that retains state across sessions.
・A pooled host pool with depth-first load balancing
Incorrect. Depth-first is a load-balancing method for shared pooled hosts and does not provide persistence.
・A RemoteApp application group attached to a pooled host pool with automatic assignment
Incorrect. RemoteApp publishes individual applications rather than a persistent full desktop per engineer.
Explanation
Persistent per-user desktops that preserve installed software require a personal host pool, where each user maps to a dedicated session host.
Example11 · Plan and Implement an Azure Virtual Desktop Infrastructure
On the plant floor, shift workers sign in to a pooled host pool. The operations team wants to pack users onto as few session hosts as possible to minimize running VMs during slow shifts. Which load-balancing algorithm fits?
・Breadth-first
Incorrect. Breadth-first spreads sessions across hosts, keeping more VMs active rather than consolidating.
✓Depth-first
Correct. Depth-first fills one host up to its max session limit before using the next, minimizing active VMs.
・Round-robin
Incorrect. Round-robin is not an Azure Virtual Desktop load-balancing option for host pools.
・Persistent assignment
Incorrect. Persistent assignment applies to personal host pools, not pooled load balancing.
Explanation
Depth-first load balancing concentrates sessions on fewer hosts, which supports packing users to reduce the number of powered-on VMs.
Example12 · Plan and Implement an Azure Virtual Desktop Infrastructure
A SaaS firm's platform team wants developers in three regions to each connect to the host pool nearest them for the lowest latency, while the environment is still managed as one logical deployment. Which design choice meets this requirement?
✓Create one workspace with multiple host pools placed per region
Correct. A workspace can group multiple host pools, and placing each pool's session hosts in the user's nearest region minimizes latency under one logical deployment.
・Create a single host pool whose session hosts span all three regions at once
Incorrect. A host pool's session hosts should reside in one region; AVD does not route users to the closest VM within a single multi-region pool.
・Deploy one host pool per region but assign all developers to one shared application group
Incorrect. An application group is bound to one host pool, so it cannot span three regional pools.
・Build three separate Azure tenants, one per region, each managed independently by its developer team
Incorrect. Splitting into three tenants fragments management and is unnecessary to achieve regional proximity.
Explanation
Multiple regional host pools under a single workspace deliver local proximity while retaining unified management.
Example13 · Plan and Implement an Azure Virtual Desktop Infrastructure
The SaaS firm's support engineers all run an identical set of tools and have no need for a persistent, assigned desktop. Which host pool type best fits them?
✓Pooled
Correct. A pooled host pool shares session hosts among many users, ideal for interchangeable, identically configured workers.
・Personal
Incorrect. Personal pools assign a dedicated VM to each user, which these interchangeable engineers do not require.
・Dedicated
Incorrect. Dedicated is not a valid AVD host pool type.
・A personal host pool with automatic unassignment configured so each VM is wiped and reassigned on every sign-out event
Incorrect. This describes personal assignment with extra churn and is not the efficient fit for interchangeable users.
Explanation
Pooled host pools suit stateless, identically configured users; personal pools are for users needing a persistent VM.
Example14 · Plan and Implement an Azure Virtual Desktop Infrastructure
A government licensing agency wants most staff to share a common set of session hosts to reduce cost, but each caseworker must keep the exact same virtual machine every day because specialized software stores local licensing state on the device. Which host pool design should you choose for the caseworkers?
・A pooled host pool with breadth-first load balancing
Incorrect. Pooled breadth-first spreads users across hosts and does not give each caseworker the same dedicated VM.
・A pooled host pool with depth-first load balancing
Incorrect. Depth-first changes load balancing order but still shares hosts, so local state is not preserved per user.
✓A personal host pool with assignment
Correct. A personal host pool assigns one dedicated VM per user, preserving locally stored licensing state between sessions.
・A single shared session host accessed by all caseworkers at once
Incorrect. One shared host for everyone defeats both cost sharing and per-user state and is not a supported assignment model.
Explanation
Personal host pools assign a dedicated VM to each user, which is required when applications persist state on the local machine.
Example15 · Plan and Implement an Azure Virtual Desktop Infrastructure
The agency runs a pooled host pool and wants new user sessions to fill up one session host before the next host receives any sessions, so idle hosts can be deallocated overnight to cut spending. Which load-balancing method meets this goal?
・Breadth-first
Incorrect. Breadth-first distributes sessions evenly across all hosts, keeping more hosts active.
✓Depth-first
Correct. Depth-first saturates one host before using the next, so unused hosts can be shut down to save cost.
・Round-robin
Incorrect. Round-robin is not an Azure Virtual Desktop load-balancing option for host pools.
・Persistent assignment
Incorrect. Persistent assignment applies to personal host pools, not to pooled load balancing.
Explanation
Depth-first load balancing concentrates sessions on fewer hosts, enabling idle hosts to be stopped for cost savings.
▶ Try 10 free questions (graded)