AZ-140 · Question #325
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
The correct answer is C. Set the option to exclude the version from the latest.. 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. https://docs.microsoft.com/en-us/azure/virtual-ma
Question
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?
Options
- ATemporary set the version as 0.0.1 until the image is tested.
- BSet the end of life to a past date.
- CSet the option to exclude the version from the latest.
- DCreate a managed image first, then move the managed image to a SIG once validated.
How the community answered
(21 responses)- A10% (2)
- B5% (1)
- C81% (17)
- D5% (1)
Explanation
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. https://docs.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries#image-versions
Community Discussion
No community discussion yet for this question.