exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 4 question 93 discussion

Actual exam question from Microsoft's AZ-104
Question #: 93
Topic #: 4
[All AZ-104 Questions]

HOTSPOT
-

You have an Azure subscription that contains the virtual machines shown in the following table.



You create an Azure Compute Gallery named ComputeGallery1 as shown in the Azure Compute Gallery exhibit. (Click the Azure Compute Gallery tab.)



In ComputeGallery1, you create a virtual machine image definition named Image1 as shown in the image definition exhibit. (Click the Image Definition tab.)



For each of the following statements, select Yes if the statement is true. Otherwise, select No,

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
mmarkiew
Highly Voted 1 year, 4 months ago
So many people here are making assumptions without actually testing or validating them. The answer is YYY - Tested in Lab. Neither the region, vCPU count, nor the VM generation had any impact on my ability to select a particular VM OS disk as a source for an image version.
upvoted 53 times
Infraestructura
1 month, 3 weeks ago
No, Probado en laboratorio. 1) NO. Error: "/resourceGroups/RG1/providers/Microsoft.Compute/disks/VM1_OsDisk_1_24b307644e4c4feb92f0489a552bed02' has security type 'TrustedLaunch' and cannot be used as a source for an image definition with SecurityType feature set to 'None'. 2) Sí. 3) Sí
upvoted 2 times
...
d6f865d
3 months ago
Correct. You can convert from gen2 to gen1. You can not convert from gen1 to gen2
upvoted 1 times
...
Josh219
3 months, 2 weeks ago
explain the logic why all are YES
upvoted 1 times
...
OscarFRItz
8 months ago
tested and this is correct!
upvoted 1 times
Josh219
3 months, 2 weeks ago
explain the logic why all are YES
upvoted 1 times
...
...
...
KMLearn2
Highly Voted 1 year, 6 months ago
NYY image definition needs V1 generation, but vCPU and memory are only recommendations. Text from Azure Portal while creating image definition: "These recommendations are informational only, and do not constrain VM specification"
upvoted 14 times
Infraestructura
1 month, 3 weeks ago
Correcto. Probado en laboratorio. 1) NO. Error: "/resourceGroups/RG1/providers/Microsoft.Compute/disks/VM1_OsDisk_1_24b307644e4c4feb92f0489a552bed02' has security type 'TrustedLaunch' and cannot be used as a source for an image definition with SecurityType feature set to 'None'. 2) Sí. 3) Sí
upvoted 1 times
...
swk1_az104
1 month, 3 weeks ago
You cannot use an OS disk image from a Generation 2 VM with an image definition that sets Generation 1 due to the differences in boot configurations and architectures. To use the OS disk image from a Generation 2 VM, ensure that the image definition specifies Generation 2. Therefore, you need to update your image definition to specify VM generation = 2 to be able to use the OS disk from a Generation 2 VM.
upvoted 1 times
...
...
cosmicT73
Most Recent 1 month, 1 week ago
No, it is not a must to use the OS disk from the source VM in the same region when creating a new VM from a VM image that resides in a different region.however, If you want to reuse the OS disk from the source VM to create a VM in a different region, you'll need to either: Copy the disk to the target region. Create a new image from the OS disk in the source region, then replicate that image to the target region.
upvoted 1 times
...
Mitko_V_Milkov
1 month, 3 weeks ago
After intensive interrogation of ChatGPT I came up with the following conclusions (Please know ChatGPT will not give you the correct answer if you just copy the data to it): There are couple of things that matter here – generation and location. The CPU/memory match is only recommended and if you do not comply Azure may issue a warning or you may observe abnormal behaviour. However, generation and location matters when working with Azure Compute Galleries, virtual machines (VMs), and image definitions. As the “Gallery” is in a separate location from the image, the location of the VM must match the “Image Definition” (East US). So the answers are: VM1 is in different location and generation 2 – NO VM2 is in the same location as the Image Definition and generation 1 – Yes VM3 is generation 1, but the location does not match - NO
upvoted 1 times
...
Rehman2030
3 months ago
1.No 2.Yes 3.No Attaching a disk to another region is not allowed. VMs must be in the same generation 1. Reference: https://learn.microsoft.com/en-us/azure/virtual-machines/faq-for-disks?tabs=azure-portal
upvoted 3 times
...
LinuxLewis
3 months, 1 week ago
I think: NNY 1. version supported is V1 (VM1 is V2) 2. recommended VM CPU 4-16 (VM2 is 2 CPUs) 3. checks all parameters
upvoted 3 times
ozansenturk
2 months ago
Azure Compute Gallery Settings: Gallery: Azure Compute Gallery 1 in West Europe. Image: Image1 in the gallery targeting East US. vCPU Range: 4–16. Generation: Gen1. VM Configurations: VM1: Location: West Europe. vCPU: 8 (in range 4–16, valid). Generation: Gen2 (invalid because the image requires Gen1). Result: Cannot be used as a source. VM2: Location: East US. vCPU: 2 (invalid because it's outside the range 4–16). Generation: Gen1 (valid for the image's generation requirement). Result: Cannot be used as a source. VM3: Location: West US. vCPU: 12 (in range 4–16, valid). Generation: Gen1 (valid for the image's generation requirement). Result: Can be used as a source.
upvoted 2 times
RajeshwaranM
1 month, 3 weeks ago
Did you check that in LAB ?
upvoted 1 times
...
...
...
Ariel235788
3 months, 2 weeks ago
ChatGPT says No Yes No The operating system disk of VM1 can be used as a source for a version of Image1. No: VM1 is in West Europe, but Image1 is in East US, and the generation (2) is incompatible with Image1's requirement (V1). The operating system disk of VM2 can be used as a source for a version of Image1. Yes: VM2 is in East US, matches the generation requirement (V1), and has sufficient vCPUs (2 falls within the recommended 4-16 range). The operating system disk of VM3 can be used as a source for a version of Image1. No: VM3 is in West US, not East US as required for Image1. Final Answer: No Yes No
upvoted 3 times
...
[Removed]
5 months, 1 week ago
WRONG No Yes No
upvoted 2 times
Infraestructura
1 month, 3 weeks ago
No, Probado en laboratorio. 1) NO. Error: "/resourceGroups/RG1/providers/Microsoft.Compute/disks/VM1_OsDisk_1_24b307644e4c4feb92f0489a552bed02' has security type 'TrustedLaunch' and cannot be used as a source for an image definition with SecurityType feature set to 'None'. 2) Sí. 3) Sí
upvoted 1 times
...
...
alsmk2
6 months, 3 weeks ago
NYY 1. V2 VM, whereas the image definition is for V1. V2 could be used if V2 was specified. 2. V1, so all good. Location doesn't matter. 3. V1, so all good. Location doesn't matter.
upvoted 3 times
...
[Removed]
7 months, 3 weeks ago
Check against vCPU and VM Generation ==recommended vCPU (4-16) and Generation 1 1) VM1 = 8 vCPU; Gen 2 = NO because Gen required is 1; 2) VM2 = 2 vCPU; Gen 1 = NO because vCPU lower than recommended (4-16); 3) VM3= 12 vCPU; Gen 1= YES (vCPU between recommended and Gen 1)
upvoted 4 times
alsmk2
6 months, 3 weeks ago
vCPU count = recommended, not a hard requirement.
upvoted 1 times
...
...
adilkhan
8 months, 1 week ago
chatgPT4: Statement 1: The operating system disk of VM1 can be used as a source for a version of Image1. VM1 has Generation 2, whereas Image1 requires Generation 1. Therefore, VM1 cannot be used. Statement 2: The operating system disk of VM2 can be used as a source for a version of Image1. VM2 is in the same region (East US) as the image definition and has Generation 1. Therefore, VM2 can be used. Statement 3: The operating system disk of VM3 can be used as a source for a version of Image1. VM3 has Generation 1, but it's located in West US, different from the image definition region (East US). Therefore, VM3 cannot be used.
upvoted 1 times
...
Limobakry
9 months, 2 weeks ago
generation and location is important VM2 ONLY
upvoted 1 times
...
Amir1909
11 months, 2 weeks ago
No Yes No
upvoted 5 times
...
6Sam7
1 year, 1 month ago
What is the correct answer?
upvoted 3 times
...
[Removed]
1 year, 2 months ago
Tested in my lab as well and mmarkiew is correct. The answer is YYY, the VM generation, vCPU, location etc do not matter. We are just creating a snapshot of that disk as far as I understand it.
upvoted 6 times
...
AliNadheer
1 year, 2 months ago
to me at the moment: N,N,Y seems like VM generation and location is important to consider. check this YT link. appreciate your thoughts. https://www.youtube.com/watch?v=AWK1GVXdAwI
upvoted 4 times
AliNadheer
1 year, 2 months ago
i meant to say the answer N,Y,N
upvoted 2 times
...
...
SgtDumitru
1 year, 3 months ago
N-Y-N Box 1- NO: VM gen 2 is not directly supported for image definition with v1. Image & VM source regions doesn't match Box 2 - YES: VM generations matches, along with image & VM source region Box 3 - NO: VM generations matches, but image & VM source region doesn't https://learn.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries?tabs=azure-cli#how-do-i-specify-the-source-region-while-creating-the-image-version
upvoted 7 times
qqla83
11 months ago
Correct, i agree with SgtDumutru
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago