Microsoft AZ-140 Practice Test 29
Question 280
During an Azure Virtual Desktop identity and security assessment, the following condition occurs: An Azure administrator grants a helpdesk user broad subscription Contributor rights to troubleshoot AVD connection issues when only limited host pool operations are required. The team must enforce least privilege while maintaining authorized user sign-in. Which operational intervention best addresses this issue and its stated constraints?
- Assign the least-privilege AVD administrative role at the narrow host pool/resource group scope needed for those operations.
- Remove broad public RDP access and use an approved Azure Bastion or JIT access pattern with restricted privileged identities.
- Enable supported Microsoft Entra single sign-on for the compatible host and client configuration and test Conditional Access requirements.
- Use a supported Microsoft Entra Domain Services managed domain for the dependent Windows session hosts and compatible storage.
Explanation
Correct Answer
A:Assign the least-privilege AVD administrative role at the narrow host pool/resource group scope needed for those operations. This is the targeted remediation for desktop virtualization user rbac versus application group assignment. Azure RBAC defines management-plane authority; broad Contributor access is not required for every AVD support operation. Verify the cause with: Inspect Desktop Virtualization built-in roles, management tasks, resource scope and existing application group access rights. Validate the repair with: Helpdesk staff can perform approved host-pool tasks but cannot modify unrelated storage accounts or subscription policies.
Incorrect Answers
B:Remove broad public RDP access and use an approved Azure Bastion or JIT access pattern with restricted privileged identities. This might address azure bastion instead of public administrative rdp, but it does not resolve the stated desktop virtualization user rbac versus application group assignment issue. The targeted correction is: Assign the least-privilege AVD administrative role at the narrow host pool/resource group scope needed for those operations.
C:Enable supported Microsoft Entra single sign-on for the compatible host and client configuration and test Conditional Access requirements. This might address microsoft entra avd single sign-on double prompt, but it does not resolve the stated desktop virtualization user rbac versus application group assignment issue. The targeted correction is: Assign the least-privilege AVD administrative role at the narrow host pool/resource group scope needed for those operations.
D: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 desktop virtualization user rbac versus application group assignment issue. The targeted correction is: Assign the least-privilege AVD administrative role at the narrow host pool/resource group scope needed for those operations.
Question 281
As an enterprise desktop team updates the application delivery design, the following condition occurs: Outlook in an AVD multi-session pool rebuilds its cache every morning despite Profile Containers being healthy because ODFC container paths and feature settings are not configured. The target change must work for authorized users without exposing other tenants or users. What should the administrator inspect FIRST to isolate this Azure Virtual Desktop failure?
- Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs.
- Inspect effective FSLogix ODFC policy, Outlook cache behavior, container paths and profile logs before enabling redundant settings.
- Inspect Intune app assignments, update channels, version inventory, sign-in policies and deployment health for the device fleet.
- Inspect effective FSLogix registry policy, Intune assignment filters, GPO scope, supported host build and profile logs.
Explanation
Correct Answer
B:Inspect effective FSLogix ODFC policy, Outlook cache behavior, container paths and profile logs before enabling redundant settings. This is the decisive diagnostic evidence for odfc container excludes outlook data and resets cache. FSLogix ODFC captures selected Microsoft 365 application data but must be planned alongside Profile Containers to avoid redundant or conflicting storage. The corresponding controlled correction is: Configure a supported FSLogix Office/ODFC container design where justified, avoiding conflicting profile and ODFC container redirection.
Incorrect Answers
A:Inspect FSLogix profile logs, active VHD locations, SMB authentication, share permission and NTFS user directory ACLs. This would investigate fslogix profile container temporary profile from acl failure but not the stated odfc container excludes outlook data and resets cache root cause. The relevant evidence is: Inspect effective FSLogix ODFC policy, Outlook cache behavior, container paths and profile logs before enabling redundant settings.
C:Inspect Intune app assignments, update channels, version inventory, sign-in policies and deployment health for the device fleet. This would investigate windows app client rollout through device management but not the stated odfc container excludes outlook data and resets cache root cause. The relevant evidence is: Inspect effective FSLogix ODFC policy, Outlook cache behavior, container paths and profile logs before enabling redundant settings.
D:Inspect effective FSLogix registry policy, Intune assignment filters, GPO scope, supported host build and profile logs. This would investigate fslogix policy applies to the wrong host collection but not the stated odfc container excludes outlook data and resets cache root cause. The relevant evidence is: Inspect effective FSLogix ODFC policy, Outlook cache behavior, container paths and profile logs before enabling redundant settings.
Question 282
As an enterprise desktop team updates the application delivery design, the following condition occurs: Chrome or Edge profiles on pooled AVD session hosts accumulate incompatible unmanaged extensions and web app failures because browser management policy is applied only to local PCs. The target change must work for authorized users without exposing other tenants or users. What should the administrator inspect FIRST to isolate this Azure Virtual Desktop failure?
- Inspect policy support for Windows multi-session, assignment filters, device-group membership and Intune device status.
- Inspect Windows App/Teams versions, SlimCore optimization status, relevant endpoint prerequisites and the Teams VDI support timeline.
- Inspect RemoteApp path, command-line parameters, host image installed location and application logs.
- Inspect effective browser enterprise policy, extension inventory, FSLogix roaming behavior and client error logs on each host.
Explanation
Correct Answer
D:Inspect effective browser enterprise policy, extension inventory, FSLogix roaming behavior and client error logs on each host. This is the decisive diagnostic evidence for avd browser profile and extension governance. Browser applications inside an AVD session still need host-level enterprise policy and per-user profile governance. The corresponding controlled correction is: Apply supported browser enterprise settings to multi-session hosts, block unapproved extensions and maintain the approved browser version.
Incorrect Answers
A:Inspect policy support for Windows multi-session, assignment filters, device-group membership and Intune device status. This would investigate intune multisession policy exclusion but not the stated avd browser profile and extension governance root cause. The relevant evidence is: Inspect effective browser enterprise policy, extension inventory, FSLogix roaming behavior and client error logs on each host.
B:Inspect Windows App/Teams versions, SlimCore optimization status, relevant endpoint prerequisites and the Teams VDI support timeline. This would investigate new teams media optimization uses unsupported legacy webrtc but not the stated avd browser profile and extension governance root cause. The relevant evidence is: Inspect effective browser enterprise policy, extension inventory, FSLogix roaming behavior and client error logs on each host.
C:Inspect RemoteApp path, command-line parameters, host image installed location and application logs. This would investigate remoteapp startup path incorrect but not the stated avd browser profile and extension governance root cause. The relevant evidence is: Inspect effective browser enterprise policy, extension inventory, FSLogix roaming behavior and client error logs on each host.
Question 283
During an AVD host-pool and network architecture review, 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 design must preserve expected user connectivity and avoid unrelated infrastructure changes. Which evidence should be examined before changing this AVD configuration?
- Review the image build manifests, app package versions, required services and representative user sign-in tests.
- Inspect Azure Compute Gallery image versions, source VM references, previous deployment manifests and canary pool health.
- Inspect the share's backup and snapshot configuration, retention schedule, file-level restores and desired recovery point objective.
- Review capture workflow, Sysprep generalize status, image state and duplicate device records.
Explanation
Correct Answer
D:Review capture workflow, Sysprep generalize status, image state and duplicate device records. This is the decisive diagnostic evidence for golden image captured without generalization. Reusable generalized VM images must not preserve source machine identity across deployed clones. The corresponding controlled correction is: Generalize a supported Windows image correctly before capturing it as a reusable gallery image.
Incorrect Answers
A:Review the image build manifests, app package versions, required services and representative user sign-in tests. This would investigate image version contains an obsolete application agent but not the stated golden image captured without generalization root cause. The relevant evidence is: Review capture workflow, Sysprep generalize status, image state and duplicate device records.
B:Inspect Azure Compute Gallery image versions, source VM references, previous deployment manifests and canary pool health. This would investigate image version rollout without canary but not the stated golden image captured without generalization root cause. The relevant evidence is: Review capture workflow, Sysprep generalize status, image state and duplicate device records.
C:Inspect the share's backup and snapshot configuration, retention schedule, file-level restores and desired recovery point objective. This would investigate profile backup retention versus required rpo but not the stated golden image captured without generalization root cause. The relevant evidence is: Review capture workflow, Sysprep generalize status, image state and duplicate device records.
Question 284
During a pooled Azure Virtual Desktop user-experience incident, the following condition occurs: A security team sets browser startup and screen-lock policies in Intune, but its Azure Virtual Desktop pooled multi-session hosts do not receive the policy because the assignment filters target only single-user devices. The affected users must retain appropriate profiles, client capabilities and app access. Which measured outcome validates the proposed configuration change?
- All intended pooled hosts apply the approved settings while excluded client devices remain unaffected.
- The selected RemoteApp starts without exposing a full unrelated desktop and logs the intended application binary.
- A permitted user connection starts the deallocated personal VM and brokers a desktop without granting users broad VM Contributor rights.
- Old disconnected sessions release resources under policy while active users retain sufficient working time.
Explanation
Correct Answer
A:All intended pooled hosts apply the approved settings while excluded client devices remain unaffected. This is acceptance evidence for intune multisession policy exclusion. Windows Enterprise multi-session has specific policy support and management-targeting requirements. It tests the correction: Use a supported Intune multi-session configuration profile or suitable Group Policy with correct device targeting.
Incorrect Answers
B:The selected RemoteApp starts without exposing a full unrelated desktop and logs the intended application binary. This could validate remoteapp startup path incorrect, but it cannot establish that intune multisession policy exclusion was fixed. Instead confirm: All intended pooled hosts apply the approved settings while excluded client devices remain unaffected.
C:A permitted user connection starts the deallocated personal VM and brokers a desktop without granting users broad VM Contributor rights. This could validate start vm on connect permission missing, but it cannot establish that intune multisession policy exclusion was fixed. Instead confirm: All intended pooled hosts apply the approved settings while excluded client devices remain unaffected.
D:Old disconnected sessions release resources under policy while active users retain sufficient working time. This could validate disconnected avd sessions never time out, but it cannot establish that intune multisession policy exclusion was fixed. Instead confirm: All intended pooled hosts apply the approved settings while excluded client devices remain unaffected.
Question 285
During an AVD host-pool and network architecture review, the following condition occurs: A user can authenticate to a profile file share but receives access denied on a particular profile directory despite having the storage share-level RBAC assignment. The design must preserve expected user connectivity and avoid unrelated infrastructure changes. Which targeted remediation should the administrator implement without changing unrelated services?
- Grant the intended minimum file-system directory permissions in addition to the required share-level role.
- Provision a suitable SMB-capable Azure NetApp Files volume with configured directory services and secure host access.
- Enable an appropriate supported Azure Files backup or snapshot strategy and test a protected file or container restore.
- Retain approved prior images until canary validation and supported host-pool rollback milestones are satisfied.
Explanation
Correct Answer
A:Grant the intended minimum file-system directory permissions in addition to the required share-level role. This is the targeted remediation for azure files share-level versus ntfs permissions. Azure Files SMB access typically combines share authorization and file-system ACL enforcement. Verify the cause with: Check both share-level SMB roles and directory NTFS ACLs under the user's effective group membership. Validate the repair with: Only authorized users can open their own profile containers; other user directories remain inaccessible.
Incorrect Answers
B:Provision a suitable SMB-capable Azure NetApp Files volume with configured directory services and secure host access. This might address azure netapp files mount protocol mismatch, but it does not resolve the stated azure files share-level versus ntfs permissions issue. The targeted correction is: Grant the intended minimum file-system directory permissions in addition to the required share-level role.
C:Enable an appropriate supported Azure Files backup or snapshot strategy and test a protected file or container restore. This might address profile backup retention versus required rpo, but it does not resolve the stated azure files share-level versus ntfs permissions issue. The targeted correction is: Grant the intended minimum file-system directory permissions in addition to the required share-level role.
D:Retain approved prior images until canary validation and supported host-pool rollback milestones are satisfied. This might address retiring old image version too early, but it does not resolve the stated azure files share-level versus ntfs permissions issue. The targeted correction is: Grant the intended minimum file-system directory permissions in addition to the required share-level role.
Question 286
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 TWO complementary choices identify the root cause and correct it? Select TWO.
- Inventory personal desktop disks, FSLogix share contents, custom images, backup vault scope and business recovery requirements.
- Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
- Review region-level dependency maps, gallery image replication, alternate host pool capacity, profile data and application group publication.
- Use a staged update strategy with controlled drain, canary hosts, business-hour protection and validated rollback.
- Associate the supported host pool to the approved scaling plan and enable safe scale-in settings for idle periods.
Explanation
Correct Answers
A:Inventory personal desktop disks, FSLogix share contents, custom images, backup vault scope and business recovery requirements. This is the decisive diagnostic evidence 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. The corresponding controlled correction is: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
B: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
C:Review region-level dependency maps, gallery image replication, alternate host pool capacity, profile data and application group publication. This relates to avd multi-region host pool architecture lacks secondary capacity, not the required paired diagnosis and remediation for backup policy misses personal avd desktops. First check: Inventory personal desktop disks, FSLogix share contents, custom images, backup vault scope and business recovery requirements. Then change: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
D:Use a staged update strategy with controlled drain, canary hosts, business-hour protection and validated rollback. This relates to session host patch rollout without drain or rings, not the required paired diagnosis and remediation for backup policy misses personal avd desktops. First check: Inventory personal desktop disks, FSLogix share contents, custom images, backup vault scope and business recovery requirements. Then change: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
E:Associate the supported host pool to the approved scaling plan and enable safe scale-in settings for idle periods. This relates to autoscaling fails to deallocate due to excluded host pool, not the required paired diagnosis and remediation for backup policy misses personal avd desktops. First check: Inventory personal desktop disks, FSLogix share contents, custom images, backup vault scope and business recovery requirements. Then change: Implement an approved backup policy for personal desktop data and other persistent AVD resources separately from immutable pooled hosts.
Question 287
As a security engineer investigates an AVD session-host access problem, 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 corrective action must not introduce unauthorized network or administrator access. Which targeted remediation should the administrator implement without changing unrelated services?
- Remove broad public RDP access and use an approved Azure Bastion or JIT access pattern with restricted privileged identities.
- Restore approved real-time protection and narrow only validated performance or application exclusions through policy.
- Enable supported Microsoft Entra single sign-on for the compatible host and client configuration and test Conditional Access requirements.
- Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling.
Explanation
Correct Answer
B:Restore approved real-time protection and narrow only validated performance or application exclusions through policy. This is the targeted remediation 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. Verify the cause with: Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts. Validate the repair with: A controlled EICAR or equivalent safe test is detected on session hosts without blocking approved productivity apps.
Incorrect Answers
A:Remove broad public RDP access and use an approved Azure Bastion or JIT access pattern with restricted privileged identities. This might address azure bastion instead of public administrative rdp, but it does not resolve the stated microsoft defender antivirus real-time protection disabled issue. The targeted correction is: Restore approved real-time protection and narrow only validated performance or application exclusions through policy.
C:Enable supported Microsoft Entra single sign-on for the compatible host and client configuration and test Conditional Access requirements. This might address microsoft entra avd single sign-on double prompt, but it does not resolve the stated microsoft defender antivirus real-time protection disabled issue. The targeted correction is: Restore approved real-time protection and narrow only validated performance or application exclusions through policy.
D:Permit the minimum documented AVD service endpoints through the supported firewall design with verified TLS and DNS handling. This might address azure firewall forced-tunnel avd egress policy, but it does not resolve the stated microsoft defender antivirus real-time protection disabled issue. The targeted correction is: Restore approved real-time protection and narrow only validated performance or application exclusions through policy.
Question 288
During a controlled Azure Virtual Desktop rollout in a production subscription, the following condition occurs: An AVD build script is rerun to replace a failed VM but generates an extra host pool with a new name instead of updating the expected deployment. The engineer must keep identity, profile access and desktop availability within approved constraints. Which evidence should be examined before changing this AVD configuration?
- Inspect OS cumulative update build, installed security patches, image version dates and build pipeline reports.
- Check the host's allowNewSession setting, current sessions, drain mode and active session policy.
- Inspect agent bootstrap logs, supported image generalization state, VM extension status and host pool registration diagnostics.
- Inspect script parameterization, resource group names, CLI/PowerShell commands and deployment idempotency behavior.
Explanation
Correct Answer
D:Inspect script parameterization, resource group names, CLI/PowerShell commands and deployment idempotency behavior. This is the decisive diagnostic evidence for azure cli and powershell provisioning idempotency. Automation must converge on declared resource identities rather than generating a new deployment topology every run. The corresponding controlled correction is: Use deterministic resource identifiers and a reviewed Azure CLI/PowerShell or ARM/Bicep deployment flow that can be safely rerun.
Incorrect Answers
A:Inspect OS cumulative update build, installed security patches, image version dates and build pipeline reports. This would investigate windows image patch-level compliance drift but not the stated azure cli and powershell provisioning idempotency root cause. The relevant evidence is: Inspect script parameterization, resource group names, CLI/PowerShell commands and deployment idempotency behavior.
B:Check the host's allowNewSession setting, current sessions, drain mode and active session policy. This would investigate session host drain mode before planned maintenance but not the stated azure cli and powershell provisioning idempotency root cause. The relevant evidence is: Inspect script parameterization, resource group names, CLI/PowerShell commands and deployment idempotency behavior.
C:Inspect agent bootstrap logs, supported image generalization state, VM extension status and host pool registration diagnostics. This would investigate avd agent service health after sysprep but not the stated azure cli and powershell provisioning idempotency root cause. The relevant evidence is: Inspect script parameterization, resource group names, CLI/PowerShell commands and deployment idempotency behavior.
Question 289
As a security engineer investigates an AVD session-host access problem, the following condition occurs: An AVD administrator opens TCP 3389 from any internet source to reach private session hosts for maintenance, creating an unapproved management exposure. The corrective action must not introduce unauthorized network or administrator access. Which evidence should be examined before changing this AVD configuration?
- Inspect the relevant Azure RBAC VM User Login or VM Administrator Login assignment, AVD user membership and Entra join status.
- Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements.
- Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts.
- Inspect Defender for Cloud inventory, applicable recommendations, security plan scope and VM remediation history.
Explanation
Correct Answer
B:Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements. This is the decisive diagnostic evidence for azure bastion instead of public administrative rdp. AVD end-user connectivity is brokered; session-host administration should not require unrestricted public inbound RDP. The corresponding controlled correction is: Remove broad public RDP access and use an approved Azure Bastion or JIT access pattern with restricted privileged identities.
Incorrect Answers
A:Inspect the relevant Azure RBAC VM User Login or VM Administrator Login assignment, AVD user membership and Entra join status. This would investigate entra joined session host sign-in authorization but not the stated azure bastion instead of public administrative rdp root cause. The relevant evidence is: Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements.
C:Inspect effective Defender Antivirus policy, exclusions, service health, image build steps and security alerts. This would investigate microsoft defender antivirus real-time protection disabled but not the stated azure bastion instead of public administrative rdp root cause. The relevant evidence is: Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements.
D:Inspect Defender for Cloud inventory, applicable recommendations, security plan scope and VM remediation history. This would investigate microsoft defender for cloud session host hardening findings but not the stated azure bastion instead of public administrative rdp root cause. The relevant evidence is: Review public IPs, NSGs, Azure Bastion availability, JIT policy and legitimate administrator identity requirements.
Question 290
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 targeted remediation should the administrator implement without changing unrelated services?
- Configure consistent conditional forwarding or the approved Azure private DNS resolver path for the AVD private zone.
- Modify the image with the supported application/agent package and validate it before promoting a new image version.
- Apply a network QoS policy that prioritizes authorized interactive transport appropriately and test under realistic competing traffic.
- Upgrade Windows App to a supported RDP Multipath release and validate firewall paths and Shortpath availability.
Explanation
Correct Answer
D:Upgrade Windows App to a supported RDP Multipath release and validate firewall paths and Shortpath availability. This is the targeted remediation 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. Verify the cause with: Check Windows App version, session connection status, Shortpath prerequisite and supported standby UDP/TCP transport routes. Validate the repair with: A simulated route disruption triggers supported transport path switching without disconnecting an active desktop.
Incorrect Answers
A:Configure consistent conditional forwarding or the approved Azure private DNS resolver path for the AVD private zone. This might address private endpoint dns split-horizon inconsistency, but it does not resolve the stated rdp multipath fails due to obsolete windows app issue. The targeted correction is: Upgrade Windows App to a supported RDP Multipath release and validate firewall paths and Shortpath availability.
B: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 rdp multipath fails due to obsolete windows app issue. The targeted correction is: Upgrade Windows App to a supported RDP Multipath release and validate firewall paths and Shortpath availability.
C:Apply a network QoS policy that prioritizes authorized interactive transport appropriately and test under realistic competing traffic. This might address qos classification for avd real-time traffic, but it does not resolve the stated rdp multipath fails due to obsolete windows app issue. The targeted correction is: Upgrade Windows App to a supported RDP Multipath release and validate firewall paths and Shortpath availability.