Microsoft

AZ-140 practice question 19

Configuring and Operating Microsoft Azure Virtual Desktop · free question 19 of 20

Question

You have an Azure Virtual Desktop deployment that contains an Azure compute gallery. The Azure compute gallery contains an image definition named Definition1. Definition1 contains the following image versions: - 1.0.0 - 1.1.0 - 1.2.0 You need to ensure that when a virtual machine is created from the Azure compute gallery, the 1.1.0 image version is used by default. What should you do?
  • A. Select Exclude from latest for image version 1.0.0.
  • B. Select Exclude from latest for image version 1.2.0. Correct
  • C. Apply a lock to image version 1.1.0.
  • D. Apply a tag named default to image version 1.1.0.

Explanation

When a VM is created from an image definition without a specific version, the gallery uses the latest version, which is the highest version number not marked Exclude from latest. Setting Exclude from latest on 1.2.0 makes 1.1.0 the latest. Excluding 1.0.0 changes nothing because 1.2.0 would still be latest, and a resource lock or a tag has no effect on which version is selected.

Need the theory? Learn it free in the AZ-140 course on Godlike Academy

Practice the whole free set

Answer all 20 free AZ-140 questions with instant feedback, or unlock all 347 questions with Learn and Exam modes.