nerdexam
Microsoft

AZ-140 · Question #65

You have an Azure Virtual Desktop host pool named Pool1. Pool1 contains session hosts that have a third-party application named App1. App1 is published by using a RemoteApp group. A new MSI-based…

The correct answer is A. Remove-AzWvdApplication B. New-AzWvdApplication. Each monthly MSI update changes the application's executable file name and path. The existing RemoteApp application object in AVD stores the path to the old executable, so it must be removed first with 'Remove-AzWvdApplication' (A) to clean up the stale entry. Then…

Submitted by hassan_iq· Apr 18, 2026Plan and implement user environments and apps

Question

You have an Azure Virtual Desktop host pool named Pool1. Pool1 contains session hosts that have a third-party application named App1. App1 is published by using a RemoteApp group. A new MSI-based version of App1 is installed each month to each host. The name of the executable file is different for each version of App1. You need to automate the process of making a new version of App1 available via RemoteApp. The process must ensure that the user experience remains the same when launching the application from the Windows Desktop client. Which two cmdlets should you run? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • ARemove-AzWvdApplication
  • BNew-AzWvdApplication
  • CNew-AzWvdApplicationGroup
  • DNew-AzWvdMsixPackage
  • ENew-AzRoleAssignment
  • FRemove-AzWvdMsixPackage

How the community answered

(49 responses)
  • A
    78% (38)
  • C
    4% (2)
  • D
    14% (7)
  • E
    2% (1)
  • F
    2% (1)

Explanation

Each monthly MSI update changes the application's executable file name and path. The existing RemoteApp application object in AVD stores the path to the old executable, so it must be removed first with 'Remove-AzWvdApplication' (A) to clean up the stale entry. Then 'New-AzWvdApplication' (B) registers the new version with the updated executable path in the same existing application group. Because the application group itself is unchanged, users' feed subscriptions and shortcuts remain intact, preserving the user experience. New-AzWvdApplicationGroup (C) would create a new group unnecessarily. New-AzWvdMsixPackage / Remove-AzWvdMsixPackage (D, F) are for MSIX App Attach packages, not MSI-based apps. New-AzRoleAssignment (E) manages permissions, not application registration.

Topics

#Azure Virtual Desktop (AVD)#RemoteApp#Application Management#PowerShell Automation

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice