This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
A team is working on automating customizations using Azure VM Image Builder and distributing the image to an Azure Compute Gallery. They're using an Azure Resource Manager template with the VM Image Builder template nested within it. What should they ensure for their PowerShell customizer scripts to avoid the build from stopping?
Ensure that user prompts are included in the scripts
Ensure that the scripts return a non-zero exit code
Ensure that all scripts return a zero exit code
A team is working on a project that requires frequent creation and teardown of environments. They need a solution that can automate this process while ensuring secure and stable application hosting platforms. What should they use?
Azure Zone Redundant Storage (ZRS)
Azure Compute Gallery
Infrastructure as Code (IaC)
A developer needs to create a virtual machine from an existing VHD. They have opened the New Virtual Machine Wizard and selected Generation 1 under Specify Generation. They have also disabled checkpoints. What should they do next to ensure the virtual machine is created with a fixed disk?
They should run the cmdlet 'Set-VM -Name VMNAME -VHDType Fixed' in PowerShell.
They should select 'Fixed Disk' under 'Disk Type'.
They should select 'Edit Disk' after creating the virtual machine and change the disk to a fixed disk.
A system administrator needs to generalize an image using the command C Windows System32 Sysprep sysprep.exe oobe generalize shutdown. After stopping the VM and capturing it in a managed state, what should be the next step to ensure users can select their preferred language in the Settings menu?
The administrator should restart the VM and let the users choose their preferred language on first login.
The administrator should manually change the language settings for each user.
The administrator should run a PowerShell cmdlet to add the installed language packs to the Languages menu.
You must answer all questions before checking your work.
Was this page helpful?