exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 6 question 7 discussion

Actual exam question from Microsoft's AZ-140
Question #: 7
Topic #: 6
[All AZ-140 Questions]

You have an Azure subscription that contains an Azure Compute Gallery named Gallery1 and a virtual machine named Template1. Template1 has custom apps and settings configured.

You plan to deploy Azure Virtual Desktop session hosts by using a custom virtual machine image. The solution must meet the following requirements:

• The custom image must be stored in Gallery1.
• The custom image must be based on Template1.
• All new session hosts must have unique computer names and identifiers.

You need to create the custom image.

What should you do in the Azure portal?

  • A. From Gallery1, create a new VM application definition.
  • B. From Gallery1, create a new VM image definition.
  • C. From Template1, capture a generalized virtual machine image.
  • D. From Template1, capture a specialized virtual machine image.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
c7d45f4
Highly Voted 1 year, 9 months ago
Selected Answer: C
When you generalize a VM, it removes any specific computer names, identifiers, or other settings that would make it unique. This is typically done using a tool like Sysprep on a Windows VM. Once you've generalized the VM, you can create an image from it and store it in Gallery1. This image can then be used to deploy new session hosts in Azure Virtual Desktop.
upvoted 8 times
...
jeff1988
Most Recent 7 months, 2 weeks ago
Selected Answer: C
C. From Template1, capture a generalized virtual machine image. Here’s why: Generalized Image: Capturing a generalized image from Template1 ensures that the image can be used to create multiple session hosts with unique computer names and identifiers. Storage in Gallery1: Once the image is generalized, you can store it in Azure Compute Gallery (Gallery1) and use it to deploy new session hosts.
upvoted 2 times
...
b082cb3
11 months, 2 weeks ago
Selected Answer: C
The correct answer is C. From Template1, capture a generalized virtual machine image. This option: Uses Template1 as the base for the custom image. Allows the image to be stored in Gallery1 (as part of an image definition and version). Ensures that new session hosts deployed from this image will have unique computer names and identifiers. By capturing a generalized image, you're creating a reusable template that maintains the custom apps and settings from Template1 while allowing for the necessary uniqueness in new deployments, which is crucial for Azure Virtual Desktop session hosts.
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Selected Answer: C
C. From Template1, capture a generalized virtual machine image.
upvoted 1 times
...
ESAJRR
1 year, 4 months ago
Selected Answer: C
C. From Template1, capture a generalized virtual machine image.
upvoted 1 times
...
Judith1969
1 year, 7 months ago
Image definition: Image definitions are created within a gallery and carry information about the image and requirements for using it internally. This includes whether the image is Windows or Linux, release notes, and minimum and maximum memory requirements. It is a definition of a type of image. source: https://learn.microsoft.com/en-us/azure/virtual-machines/image-version?tabs=portal%2Ccli2 Must be C.
upvoted 1 times
...
vipjason
1 year, 8 months ago
Selected Answer: C
C is the only answer that makes sense.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...