You are publishing a new image to a Shared Image Gallery.
You desire to test/verify the image before it is available to any new session host.
How would you stop the new session host from utilizing the image unless the image version is particularly referenced during deployment?
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answer: C
New deployments using the version “latest" will always utilize the newest image version from a SIG.You can exclude a new image from the latest.When being excluded, you need to specify the new image version during the deployment.
Option A is incorrect.
Temporary setting the version as 0.0.1 until the image is tested won't help in meeting the goal.
Option B is incorrect.
End-of-life dates are just informational; users will still be capable of creating VMs from images and versions past the end-of-life date.
Option C is correct.
Setting the option to exclude the version from the latest will stop the new session host from utilizing the image unless the image version is particularly referenced during deployment.
Option D is incorrect.
Creating a managed image first, then moving the managed image to a SIG once validated is the incorrect solution.
To know more about storing and sharing images in an Azure Compute Gallery, please visit the below-given link:
When publishing a new image to a Shared Image Gallery (SIG) in Microsoft Azure Virtual Desktop, you may want to test the image before it is available to any new session host. To do this, you can prevent the new session host from utilizing the image unless the image version is explicitly referenced during deployment.
One way to accomplish this is by using the "exclude from latest" option. This option allows you to exclude a particular version of an image from being considered the "latest" version, which means that it will not be used for new deployments by default. Instead, you would need to explicitly specify the version number during deployment.
To use this option, follow these steps:
Once you have excluded the version from the latest, you can test the image to ensure that it is working as expected. If you need to make any changes, you can create a new version of the image and repeat the process.
When you are ready to make the image available for new deployments, you can either remove the "exclude from latest" option or create a new version with that option disabled.
Note that the other options listed in the answer choices may also be valid solutions in some cases: