exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 2 question 6 discussion

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

You plan to deploy Azure Virtual Desktop session host virtual machines based on a preconfigured master image. The master image will be stored in a shared image gallery.
You create a virtual machine named Image1 to use as the master image. You install applications and apply configuration changes to Image1.
You need to ensure that the new session host virtual machines created based on Image1 have unique names and security identifiers.
What should you do on Image1 before you add the image to the shared image gallery?

  • A. At a command prompt, run the set computername command.
  • B. At a command prompt, run the sysprep command.
  • C. From PowerShell, run the rename-computer cmdlet.
  • D. From the lock screen of the Windows device, perform a Windows Autopilot Reset.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
olivio
Highly Voted 3 years, 5 months ago
Correct: https://docs.microsoft.com/en-us/azure/virtual-machines/image-version-vm-cli Create an image definition If you have generalized the VM (using Sysprep for Windows, or waagent -deprovision for Linux) then you should create a generalized image definition using --os-state generalized. If you want to use the VM without removing existing user accounts, create a specialized image definition using --os-state specialized.
upvoted 11 times
...
ESAJRR
Most Recent 11 months, 1 week ago
Selected Answer: B
B. At a command prompt, run the sysprep command.
upvoted 1 times
...
[Removed]
1 year, 3 months ago
Selected Answer: B
Correct answer is: B. At a command prompt, run the sysprep command. You must Generalize the VM using Sysprep... C:\Windows\System32\Sysprep> sysprep.exe /oobe /generalize /mode:vm /shutdown
upvoted 1 times
...
kshum
1 year, 8 months ago
Selected Answer: B
sysprep is needed
upvoted 1 times
...
Magis
2 years, 1 month ago
Selected Answer: B
B is correct 100 %. Done this task multiple times in practice.
upvoted 3 times
...
Mikey140140
2 years, 7 months ago
Correct. It is b
upvoted 1 times
...
RickMorais
2 years, 8 months ago
Selected Answer: B
Correct. This question is easy who had worked with Windows image in a callcenter. We use sysprep since that old time.
upvoted 2 times
...
CloudyTech
3 years ago
korrect
upvoted 1 times
...
MadyMax4567
3 years, 4 months ago
correct answer
upvoted 2 times
...
jilguens
3 years, 4 months ago
Correct answer
upvoted 2 times
...
d0bermannn
3 years, 4 months ago
correct
upvoted 2 times
...
Mk1331
3 years, 5 months ago
Correct Answer
upvoted 2 times
...
MrHabanero
3 years, 6 months ago
Correct
upvoted 3 times
...
imstefan
3 years, 6 months ago
Correct
upvoted 2 times
...
vlq
3 years, 6 months ago
Correct answer
upvoted 2 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 ...