Hard AZ-140 practice questions
Challenge — multi-step scenarios, trade-offs, and subtle distinctions. 14 hard questions available — no sign-up, always free.
A financial services company is deploying a pooled AVD host pool that will support 900 concurrent knowledge workers. FSLogix profile containers must be stored on Azure NetApp Files (ANF). During pilot testing with the Standard service level, users report slow logon times and profile load latency during the 8:00 AM login storm, even though the volume has plenty of free capacity. You must improve profile performance during peak logon periods while keeping the ANF capacity pool at the minimum viable size. What should you do?
Your company runs an Azure Virtual Desktop pooled host pool on Windows 11 multi-session, using FSLogix profile containers stored on an Azure NetApp Files (ANF) volume. The infrastructure team wants to co-host a separate departmental data share on the SAME ANF capacity pool that must be simultaneously accessible from both the Windows session hosts (SMB) and a set of Linux analytics VMs (NFSv3), with a single identity source for permissions. Which ANF configuration meets the requirement while keeping FSLogix on a supported protocol?
Your organization runs a pooled Azure Virtual Desktop host pool in a spoke virtual network. Security policy requires that all outbound internet traffic from the session hosts be forced through an Azure Firewall in the hub virtual network. After you configure a User-Defined Route (UDR) pointing 0.0.0.0/0 to the firewall's private IP, users report they can no longer connect to their desktops and the session hosts show as unavailable in the host pool. You must allow the required AVD control-plane traffic while keeping all other outbound traffic filtered. What should you configure on the Azure Firewall?
A financial services company must deploy an Azure Virtual Desktop pooled host pool that processes highly sensitive data. Compliance requires that the memory of each session host be encrypted and isolated from the underlying hypervisor, with hardware-based attestation of the VM's integrity at boot. The team wants to use a purpose-built VM offering rather than manually layering security features onto a standard VM. Which session host VM configuration meets these requirements?
Your company runs a pooled Azure Virtual Desktop host pool with non-persistent session hosts deployed from a golden image in an Azure Compute Gallery. Security requires that every session host report to Microsoft Defender for Endpoint with correct device identity, and that newly recreated hosts appear automatically without producing duplicate or orphaned device entries in the Defender portal. What should you do to onboard the session hosts?
Your organization uses Azure Virtual Desktop with session hosts that are Microsoft Entra hybrid joined to an on-premises Active Directory Domain Services (AD DS) domain synchronized to Microsoft Entra ID. Users authenticate to session hosts and then need to access on-premises file shares and internal web apps that rely on Kerberos authentication. You want users to sign in to the session hosts with FIDO2 security keys (passwordless) while still being able to access the Kerberos-protected on-premises resources without a password prompt. Which feature must you enable to make this scenario work?
Contoso deploys a pooled AVD host pool with FSLogix profile containers. The business requires that if the primary Azure Files storage account in the East US region becomes unavailable, users can still sign in and access their profiles from a secondary storage account in West US, with FSLogix automatically writing to both locations. Which FSLogix configuration should you implement?
Your organization runs a pooled, breadth-first AVD host pool with FSLogix Profile Containers stored on Azure Files. A subset of power users report that when they connect to a second session (on a different session host) while their first session is still active, their profile fails to load and they receive a temporary profile. You must allow these specific users to have their profile load correctly across multiple simultaneous sessions without corrupting profile data. Which FSLogix setting should you configure?
You are deploying FSLogix profile containers on an Azure Files share (SMB) joined to Active Directory Domain Services. Session hosts run in a pooled host pool, and profiles must be created and accessed only by the standard AVD users, while helpdesk administrators need full access for troubleshooting. According to Microsoft's recommended least-privilege configuration, which combination of Azure RBAC and NTFS permissions should you apply to the file share?
Your company is standardizing session host images using Azure VM Image Builder (AIB). The build template must download configuration scripts from an existing Azure Storage account (blob container) during the customization phase and then distribute the finished image to an Azure Compute Gallery. The security team refuses to allow AIB to use a service principal with stored credentials. What is the correct approach to grant Image Builder the permissions it needs?
Your organization deploys a pooled AVD host pool. The service desk team must be able to start, restart, and shut down individual session host VMs in the resource group that contains them, but they must NOT be able to modify VM configuration, resize VMs, delete VMs, or change any AVD host pool objects. You want to follow the principle of least privilege using built-in Azure roles. Which role assignment should you grant the service desk team on the resource group containing the session host VMs?
Your organization has enabled RDP Shortpath for managed networks so that AVD session traffic flows over UDP. Users on a congested WAN link report choppy audio and laggy screen updates during peak hours. Network engineers want to prioritize the AVD real-time traffic across QoS-enabled routers. What must you configure so that AVD UDP traffic is correctly tagged for QoS prioritization end to end?
You use Azure VM Image Builder (AIB) to create a custom Windows 11 multi-session image for an AVD host pool. Your template runs a PowerShell customizer that installs applications and then you manually add a step that runs 'sysprep /generalize /oobe /shutdown' as part of the build. After the build completes and you deploy session hosts from the resulting image version, the VMs fail to boot correctly and appear stuck. What is the most likely cause and correct action?
You are planning a pooled (multi-session) host pool for 400 knowledge workers who run Microsoft 365 apps, Edge, and Teams. Microsoft guidance classifies these users as 'medium' workload. Your standard is to place no more than 4 users per vCPU and to use memory-optimized-balanced VMs. You select the Standard_D8s_v5 SKU (8 vCPU, 32 GB RAM). Assuming you want approximately 20% spare capacity for peaks and want to base capacity on the vCPU ratio, how many Standard_D8s_v5 session hosts should you deploy?