Microsoft AZ-140 Practice Test 2
Question 10
During an Azure Virtual Desktop identity and security assessment, the following condition occurs: A company forces all AVD host traffic through Azure Firewall but the session agent cannot contact broker endpoints because required outbound URLs are not in the policy. The team must enforce least privilege while maintaining authorized user sign-in. Which Azure Virtual Desktop configuration change best corrects the identified problem?
- Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling.
- Use a supported Microsoft Entra Domain Services managed domain for the dependent Windows session hosts and compatible storage.
- Restore approved real-time protection and narrow only validated performance or application exclusions through policy.
- Update the WDAC/App Control trust rule for the approved signed application and test in audit mode before enforcement.
Explanation
Correct Answer
A:Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling. This is the targeted remediation for azure firewall forced-tunnel avd egress policy. Azure Virtual Desktop service control traffic still requires supported egress paths under a centralized firewall topology. Verify the cause with: Inspect firewall application rules, DNS proxy, session host effective routes, diagnostic logs and current AVD service endpoint guidance. Validate the repair with: The AVD agent registers and healthy sessions connect while arbitrary outbound destinations remain denied.
Incorrect Answers
B:Use a supported Microsoft Entra Domain Services managed domain for the dependent Windows session hosts and compatible storage. This might address microsoft entra domain services managed domain integration, but it does not resolve the stated azure firewall forced-tunnel avd egress policy issue. The targeted correction is: Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling.
C:Restore approved real-time protection and narrow only validated performance or application exclusions through policy. This might address microsoft defender antivirus real-time protection disabled, but it does not resolve the stated azure firewall forced-tunnel avd egress policy issue. The targeted correction is: Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling.
D:Update the WDAC/App Control trust rule for the approved signed application and test in audit mode before enforcement. This might address app control for business trust policy blocks required app, but it does not resolve the stated azure firewall forced-tunnel avd egress policy issue. The targeted correction is: Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling.
Question 11
During an AVD host-pool and network architecture review, the following condition occurs: A GPU-intensive engineer requires one persistently assigned desktop, but a non-persistent pooled host pool routes them to a different shared machine each day. The design must preserve expected user connectivity and avoid unrelated infrastructure changes. Which evidence should be examined before changing this AVD configuration?
- Inspect subscription boundaries, resource group ownership, Azure Policy assignments, tags and Azure RBAC inheritance.
- Inspect image template build logs, customizer exit codes, distributer settings and test VM installed applications.
- Review session host OS, Remote Desktop Services Client Access License entitlement and licensing server configuration.
- Review user persistence requirements, pooled/personal host pool type, desktop assignment mode and host-level session settings.
Explanation
Correct Answer
D:Review user persistence requirements, pooled/personal host pool type, desktop assignment mode and host-level session settings. This is the decisive diagnostic evidence for pooled versus personal host pool assignment. Personal AVD host pools support consistent user-to-VM assignment while pooled pools broker shared session capacity. The corresponding controlled correction is: Provision a suitable personal AVD host pool and assign the intended dedicated session host to the eligible user.
Incorrect Answers
A:Inspect subscription boundaries, resource group ownership, Azure Policy assignments, tags and Azure RBAC inheritance. This would investigate avd management group and subscription segregation but not the stated pooled versus personal host pool assignment root cause. The relevant evidence is: Review user persistence requirements, pooled/personal host pool type, desktop assignment mode and host-level session settings.
B:Inspect image template build logs, customizer exit codes, distributer settings and test VM installed applications. This would investigate azure vm image builder customization script failure but not the stated pooled versus personal host pool assignment root cause. The relevant evidence is: Review user persistence requirements, pooled/personal host pool type, desktop assignment mode and host-level session settings.
C:Review session host OS, Remote Desktop Services Client Access License entitlement and licensing server configuration. This would investigate windows server session host requires rds cal but not the stated pooled versus personal host pool assignment root cause. The relevant evidence is: Review user persistence requirements, pooled/personal host pool type, desktop assignment mode and host-level session settings.
Question 12
During a Microsoft Azure Virtual Desktop operational health review, the following condition occurs: A disaster recovery runbook can rebuild AVD host pools in another region but user desktops start with empty profiles because the FSLogix storage recovery path is not part of the plan. The remediation must preserve active user sessions and provide diagnostic evidence. Which acceptance test most directly confirms the Azure Virtual Desktop problem is resolved?
- A test user reconnects with restored files and preferences on a clean host while the golden image remains unchanged.
- The workbook shows current connect durations and host health trends corresponding to sampled sessions.
- A regional failover rehearsal gives eligible users their correct profile and apps within documented recovery time objectives.
- A canary update completes before broad rollout and ordinary user sessions remain served by healthy hosts during maintenance.
Explanation
Correct Answer
C:A regional failover rehearsal gives eligible users their correct profile and apps within documented recovery time objectives. This is acceptance evidence for regional avd recovery plan ignores profile storage dependency. AVD disaster recovery must restore the complete user environment; recreating session hosts without profile storage is insufficient. It tests the correction: Design a DR workflow that restores compatible profile data and identity connectivity before assigning recovered session hosts.
Incorrect Answers
A:A test user reconnects with restored files and preferences on a clean host while the golden image remains unchanged. This could validate fslogix profile restore and image recovery are conflated, but it cannot establish that regional avd recovery plan ignores profile storage dependency was fixed. Instead confirm: A regional failover rehearsal gives eligible users their correct profile and apps within documented recovery time objectives.
B:The workbook shows current connect durations and host health trends corresponding to sampled sessions. This could validate avd insights workbook lacks required diagnostic data, but it cannot establish that regional avd recovery plan ignores profile storage dependency was fixed. Instead confirm: A regional failover rehearsal gives eligible users their correct profile and apps within documented recovery time objectives.
D:A canary update completes before broad rollout and ordinary user sessions remain served by healthy hosts during maintenance. This could validate session host patch rollout without drain or rings, but it cannot establish that regional avd recovery plan ignores profile storage dependency was fixed. Instead confirm: A regional failover rehearsal gives eligible users their correct profile and apps within documented recovery time objectives.
Question 13
During a pooled Azure Virtual Desktop user-experience incident, the following condition occurs: A user receives a temporary Windows profile on a pooled AVD host because the FSLogix Profile Container VHDX share denies create or mount access to the user's identity. The affected users must retain appropriate profiles, client capabilities and app access. Which TWO complementary choices identify the root cause and correct it? Select TWO.
- Inspect Cloud Cache provider list, local cache status, storage endpoint connectivity and write-coordination/recovery settings.
- Correct the application masking rule assignments so approved finance users see the installed app while unauthorized groups are masked.
- Use a supported Intune multi-session configuration profile or suitable Group Policy with correct device targeting.
- Correct the least-privilege FSLogix share and per-user profile-folder permissions and verify disk attachment.
- Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs.
Explanation
Correct Answers
D:Correct the least-privilege FSLogix share and per-user profile-folder permissions and verify disk attachment. This is the targeted remediation for fslogix profile container temporary profile from acl failure. Profile Containers redirect user data into an attachable virtual disk and depend on suitable SMB access and locking semantics. Verify the cause with: Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs. Validate the repair with: The user's expected persistent profile mounts on different pooled hosts without allowing access to another user's VHDX.
E:Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs. This is the decisive diagnostic evidence for fslogix profile container temporary profile from acl failure. Profile Containers redirect user data into an attachable virtual disk and depend on suitable SMB access and locking semantics. The corresponding controlled correction is: Correct the least-privilege FSLogix share and per-user profile-folder permissions and verify disk attachment.
Incorrect Answers
A:Inspect Cloud Cache provider list, local cache status, storage endpoint connectivity and write-coordination/recovery settings. This relates to fslogix cloud cache provider order and availability, not the required paired diagnosis and remediation for fslogix profile container temporary profile from acl failure. First check: Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs. Then change: Correct the least-privilege FSLogix share and per-user profile-folder permissions and verify disk attachment.
B:Correct the application masking rule assignments so approved finance users see the installed app while unauthorized groups are masked. This relates to fslogix application masking assignment rules, not the required paired diagnosis and remediation for fslogix profile container temporary profile from acl failure. First check: Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs. Then change: Correct the least-privilege FSLogix share and per-user profile-folder permissions and verify disk attachment.
C:Use a supported Intune multi-session configuration profile or suitable Group Policy with correct device targeting. This relates to intune multisession policy exclusion, not the required paired diagnosis and remediation for fslogix profile container temporary profile from acl failure. First check: Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs. Then change: Correct the least-privilege FSLogix share and per-user profile-folder permissions and verify disk attachment.
Question 14
During a controlled Azure Virtual Desktop rollout in a production subscription, the following condition occurs: Azure Virtual Desktop users cannot mount a profile Azure Files SMB share because the team created a storage account but never configured the appropriate identity-based Kerberos authentication. The engineer must keep identity, profile access and desktop availability within approved constraints. Which diagnostic check most directly distinguishes the described AVD issue from unrelated failures?
- Inspect VNet custom DNS servers, domain SRV record resolution, AD DS ports, site-to-site routes and join extension diagnostics.
- Inspect storage account SMB identity source, session-host join identity, Kerberos tickets, share RBAC and NTFS access.
- Measure profile VHD sizes, active profile mount rate, storage IOPS, share throttling and observed logon latency.
- Check both share-level SMB roles and directory NTFS ACLs under the user's effective group membership.
Explanation
Correct Answer
B:Inspect storage account SMB identity source, session-host join identity, Kerberos tickets, share RBAC and NTFS access. This is the decisive diagnostic evidence for azure files identity-based smb authentication. Azure Files storage-account existence is separate from SMB identity integration and file-share authorization. The corresponding controlled correction is: Enable a supported Azure Files identity-based SMB authentication method that matches the host identity model and test permissions.
Incorrect Answers
A:Inspect VNet custom DNS servers, domain SRV record resolution, AD DS ports, site-to-site routes and join extension diagnostics. This would investigate session host vnet dns and directory reachability but not the stated azure files identity-based smb authentication root cause. The relevant evidence is: Inspect storage account SMB identity source, session-host join identity, Kerberos tickets, share RBAC and NTFS access.
C:Measure profile VHD sizes, active profile mount rate, storage IOPS, share throttling and observed logon latency. This would investigate fslogix profile share sizing for logon spikes but not the stated azure files identity-based smb authentication root cause. The relevant evidence is: Inspect storage account SMB identity source, session-host join identity, Kerberos tickets, share RBAC and NTFS access.
D:Check both share-level SMB roles and directory NTFS ACLs under the user's effective group membership. This would investigate azure files share-level versus ntfs permissions but not the stated azure files identity-based smb authentication root cause. The relevant evidence is: Inspect storage account SMB identity source, session-host join identity, Kerberos tickets, share RBAC and NTFS access.
Question 15
During an AVD host-pool and network architecture review, the following condition occurs: Desktop connections drop when an office Wi-Fi link degrades because its old Windows App client cannot use the current RDP Multipath redundant paths. The design must preserve expected user connectivity and avoid unrelated infrastructure changes. Which diagnostic check most directly distinguishes the described AVD issue from unrelated failures?
- Check Windows App version, session connection status, Shortpath prerequisite and supported standby UDP/TCP transport routes.
- Inspect subscription boundaries, resource group ownership, Azure Policy assignments, tags and Azure RBAC inheritance.
- Compare concurrent session count, measured per-session network demand, WAN utilization, packet loss and the Azure Virtual Desktop connection performance counters.
- Inspect the applicable AVD Private Link subresource, private endpoint connection status, zone links, DNS responses and service-specific connectivity dependencies.
Explanation
Correct Answer
A:Check Windows App version, session connection status, Shortpath prerequisite and supported standby UDP/TCP transport routes. This is the decisive diagnostic evidence for rdp multipath fails due to obsolete windows app. RDP Multipath can maintain and switch between available paths but requires supported client versions and network routes. The corresponding controlled correction is: Upgrade Windows App to a supported RDP Multipath release and validate firewall paths and Shortpath availability.
Incorrect Answers
B:Inspect subscription boundaries, resource group ownership, Azure Policy assignments, tags and Azure RBAC inheritance. This would investigate avd management group and subscription segregation but not the stated rdp multipath fails due to obsolete windows app root cause. The relevant evidence is: Check Windows App version, session connection status, Shortpath prerequisite and supported standby UDP/TCP transport routes.
C:Compare concurrent session count, measured per-session network demand, WAN utilization, packet loss and the Azure Virtual Desktop connection performance counters. This would investigate avd connection latency under insufficient user site bandwidth but not the stated rdp multipath fails due to obsolete windows app root cause. The relevant evidence is: Check Windows App version, session connection status, Shortpath prerequisite and supported standby UDP/TCP transport routes.
D:Inspect the applicable AVD Private Link subresource, private endpoint connection status, zone links, DNS responses and service-specific connectivity dependencies. This would investigate azure virtual desktop private link endpoint design but not the stated rdp multipath fails due to obsolete windows app root cause. The relevant evidence is: Check Windows App version, session connection status, Shortpath prerequisite and supported standby UDP/TCP transport routes.
Question 16
During a Microsoft Azure Virtual Desktop operational health review, the following condition occurs: An Azure VM health dashboard is green but AVD clients fail to connect because its session host registration status is unavailable and the AVD agent heartbeat has stopped. The remediation must preserve active user sessions and provide diagnostic evidence. Which measured outcome validates the proposed configuration change?
- The session host reports available in AVD and assigned users can complete a new desktop connection.
- Guest memory and processor measurements appear alongside AVD service telemetry during representative user load.
- An authorized regional-failure rehearsal allows selected users to connect to the alternate pool within recovery targets.
- A peak-load rehearsal meets user logon latency and session responsiveness targets without exhausting host or profile resources.
Explanation
Correct Answer
A:The session host reports available in AVD and assigned users can complete a new desktop connection. This is acceptance evidence for session host connection availability differs from vm health. A running VM may still be unavailable to the AVD broker; successful desktop service depends on agent and control-plane health. It tests the correction: Repair the specific AVD agent or outbound control plane issue and confirm host pool assignment rather than resizing the healthy VM.
Incorrect Answers
B:Guest memory and processor measurements appear alongside AVD service telemetry during representative user load. This could validate azure monitor metrics lack vm guest counters, but it cannot establish that session host connection availability differs from vm health was fixed. Instead confirm: The session host reports available in AVD and assigned users can complete a new desktop connection.
C:An authorized regional-failure rehearsal allows selected users to connect to the alternate pool within recovery targets. This could validate avd multi-region host pool architecture lacks secondary capacity, but it cannot establish that session host connection availability differs from vm health was fixed. Instead confirm: The session host reports available in AVD and assigned users can complete a new desktop connection.
D:A peak-load rehearsal meets user logon latency and session responsiveness targets without exhausting host or profile resources. This could validate avd host capacity overcommit despite moderate average cpu, but it cannot establish that session host connection availability differs from vm health was fixed. Instead confirm: The session host reports available in AVD and assigned users can complete a new desktop connection.
Question 17
During a controlled Azure Virtual Desktop rollout in a production subscription, the following condition occurs: An administrator captures a VM into a reusable AVD golden image without proper Sysprep generalization, causing duplicate device identity and session host join problems. The engineer must keep identity, profile access and desktop availability within approved constraints. Which Azure Virtual Desktop configuration change best corrects the identified problem?
- Generalize a supported Windows image correctly before capturing it as a reusable gallery image.
- Generate and securely use a current host pool registration token and repeat agent registration under the approved deployment workflow.
- Use a staged image rollout with representative canary hosts and a maintained known-good version for rollback.
- Modify the image with the supported application/agent package and validate it before promoting a new image version.
Explanation
Correct Answer
A:Generalize a supported Windows image correctly before capturing it as a reusable gallery image. This is the targeted remediation for golden image captured without generalization. Reusable generalized VM images must not preserve source machine identity across deployed clones. Verify the cause with: Review capture workflow, Sysprep generalize status, image state and duplicate device records. Validate the repair with: Multiple new hosts deploy from the image with unique identities and complete supported domain or Entra join.
Incorrect Answers
B:Generate and securely use a current host pool registration token and repeat agent registration under the approved deployment workflow. This might address session host registration token expiry, but it does not resolve the stated golden image captured without generalization issue. The targeted correction is: Generalize a supported Windows image correctly before capturing it as a reusable gallery image.
C:Use a staged image rollout with representative canary hosts and a maintained known-good version for rollback. This might address image version rollout without canary, but it does not resolve the stated golden image captured without generalization issue. The targeted correction is: Generalize a supported Windows image correctly before capturing it as a reusable gallery image.
D:Modify the image with the supported application/agent package and validate it before promoting a new image version. This might address image version contains an obsolete application agent, but it does not resolve the stated golden image captured without generalization issue. The targeted correction is: Generalize a supported Windows image correctly before capturing it as a reusable gallery image.
Question 18
As the operations team tests an Azure Virtual Desktop maintenance or disaster-recovery plan, the following condition occurs: A backup policy protects the Azure Files FSLogix share but excludes individually assigned personal AVD VMs whose local application data is needed for disaster recovery. The result must meet measured service, profile and recovery requirements. Which targeted remediation should the administrator implement without changing unrelated services?
- Restore the appropriate protected FSLogix profile data from storage backup and independently redeploy hosts from the approved image when required.
- Use a staged update strategy with controlled drain, canary hosts, business-hour protection and validated rollback.
- Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
- Correct the scaling plan's documented time zone, working-day schedule and minimum-host settings before a controlled ramp-up test.
Explanation
Correct Answer
C:Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts. This is the targeted remediation for backup policy misses personal avd desktops. Backups must match where persistent state actually resides; profile share protection alone does not protect every personal VM disk. Verify the cause with: Inventory personal desktop disks, FSLogix share contents, custom images, backup vault scope and business recovery requirements. Validate the repair with: A test personal desktop is restored to a documented recovery point without losing user-specific persistent data.
Incorrect Answers
A:Restore the appropriate protected FSLogix profile data from storage backup and independently redeploy hosts from the approved image when required. This might address fslogix profile restore and image recovery are conflated, but it does not resolve the stated backup policy misses personal avd desktops issue. The targeted correction is: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
B:Use a staged update strategy with controlled drain, canary hosts, business-hour protection and validated rollback. This might address session host patch rollout without drain or rings, but it does not resolve the stated backup policy misses personal avd desktops issue. The targeted correction is: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
D:Correct the scaling plan's documented time zone, working-day schedule and minimum-host settings before a controlled ramp-up test. This might address avd scaling plan schedule wrong timezone, but it does not resolve the stated backup policy misses personal avd desktops issue. The targeted correction is: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
Question 19
During an Azure Virtual Desktop identity and security assessment, the following condition occurs: An AVD gold image has Microsoft Defender Antivirus real-time protection disabled for an installer test and the resulting pooled hosts remain unprotected. The team must enforce least privilege while maintaining authorized user sign-in. What should the administrator inspect FIRST to isolate this Azure Virtual Desktop failure?
- Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts.
- Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements.
- Inspect application group assignments, effective Allow log on through Remote Desktop Services rights, local group membership and deny logon policy.
- Inspect Windows security events, protected folder list, app executable signature and Defender Controlled Folder Access settings.
Explanation
Correct Answer
A:Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts. This is the decisive diagnostic evidence for microsoft defender antivirus real-time protection disabled. AVD session hosts are managed Windows endpoints; image build exceptions must not become permanent production antivirus disablement. The corresponding controlled correction is: Restore approved real-time protection and narrow only validated performance or application exclusions through policy.
Incorrect Answers
B:Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements. This would investigate azure bastion instead of public administrative rdp but not the stated microsoft defender antivirus real-time protection disabled root cause. The relevant evidence is: Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts.
C:Inspect application group assignments, effective Allow log on through Remote Desktop Services rights, local group membership and deny logon policy. This would investigate local remote desktop users rights missing but not the stated microsoft defender antivirus real-time protection disabled root cause. The relevant evidence is: Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts.
D:Inspect Windows security events, protected folder list, app executable signature and Defender Controlled Folder Access settings. This would investigate controlled folder access stops approved export operation but not the stated microsoft defender antivirus real-time protection disabled root cause. The relevant evidence is: Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts.
Question 20
During an AVD host-pool and network architecture review, the following condition occurs: Azure Virtual Desktop users cannot mount a profile Azure Files SMB share because the team created a storage account but never configured the appropriate identity-based Kerberos authentication. The design must preserve expected user connectivity and avoid unrelated infrastructure changes. Which Azure Virtual Desktop configuration change best corrects the identified problem?
- Enable a supported Azure Files identity-based SMB authentication method that matches the host identity model and test permissions.
- Use depth-first load balancing with a safe session limit and compatible scaling plan to consolidate eligible user sessions.
- Grant the intended minimum file-system directory permissions in addition to the required share-level role.
- Resolve the stale session safely and implement an approved session handoff or multi-attach strategy consistent with FSLogix guidance.
Explanation
Correct Answer
A:Enable a supported Azure Files identity-based SMB authentication method that matches the host identity model and test permissions. This is the targeted remediation for azure files identity-based smb authentication. Azure Files storage-account existence is separate from SMB identity integration and file-share authorization. Verify the cause with: Inspect storage account SMB identity source, session-host join identity, Kerberos tickets, share RBAC and NTFS access. Validate the repair with: Authorized session hosts and users mount the share without embedding a storage account key into a login script.
Incorrect Answers
B:Use depth-first load balancing with a safe session limit and compatible scaling plan to consolidate eligible user sessions. This might address depth-first load balancing for host consolidation, but it does not resolve the stated azure files identity-based smb authentication issue. The targeted correction is: Enable a supported Azure Files identity-based SMB authentication method that matches the host identity model and test permissions.
C:Grant the intended minimum file-system directory permissions in addition to the required share-level role. This might address azure files share-level versus ntfs permissions, but it does not resolve the stated azure files identity-based smb authentication issue. The targeted correction is: Enable a supported Azure Files identity-based SMB authentication method that matches the host identity model and test permissions.
D:Resolve the stale session safely and implement an approved session handoff or multi-attach strategy consistent with FSLogix guidance. This might address fslogix profile lock caused by disconnected prior session, but it does not resolve the stated azure files identity-based smb authentication issue. The targeted correction is: Enable a supported Azure Files identity-based SMB authentication method that matches the host identity model and test permissions.