Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure security features on a VM, including secure boot, virtual Trusted Platform Module (vTPM), integrity monitoring, and security type

A worked example

Single answer

You manage an Azure virtual machine named VM1 that has the following configuration:

  • Generation: Generation 1
  • Operating system: Windows Server 2016
  • Size: Standard_D4s_v5
  • The OS disk uses a Master Boot Record (MBR) layout.

You need to upgrade VM1 in place to a Generation 2 VM with Trusted Launch by using the Azure portal. You must be able to return VM1 to its original Gen1 configuration if testing fails after the upgrade.

Which sequence of actions should you perform?

Choose one answer
Why

Windows Server 2016 lacks MBR2GPT.exe and isn't supported on the Gen1 to Trusted Launch path, so it must be upgraded to Windows Server 2019 or 2022 first. The MBR-to-GPT conversion is then run on the running VM, after which the VM is deallocated and its security type set to Trusted launch, which converts it to Gen2 in place. Returning to Gen1 requires recovery from a backup or restore point captured before the changes; the backup in the correct sequence meets this requirement.

  • Not correct: Upgrade the OS to Windows Server 2022 in place → run MBR2GPT.exe → stop and deallocate VM1 → select Trusted launch and save → set Standard security to roll back. The Gen1 to Trusted Launch upgrade can't be rolled back to Gen1; rollback requires restoring a backup or restore point taken before the upgrade, which this sequence doesn't create.
  • Not correct: Back up VM1 → run MBR2GPT.exe → upgrade the OS to Windows Server 2022 in place → stop and deallocate VM1 → select Trusted launch and save. Windows Server 2016 doesn't include MBR2GPT.exe, so the OS upgrade to 2019 or 2022 must come before the disk conversion.
  • Correct: Back up VM1 → upgrade the OS to Windows Server 2022 in place → run MBR2GPT.exe → stop and deallocate VM1 → select Trusted launch and save. Windows Server 2016 must first be upgraded to 2019 or 2022, the MBR-to-GPT conversion runs on the running VM, and the security type change needs a deallocated VM. The earlier backup preserves the original Gen1 state for recovery.
  • Not correct: Back up VM1 → upgrade the OS to Windows Server 2022 in place → stop and deallocate VM1 → convert VM1 to Gen2 with Standard security → select Trusted launch and save. Azure doesn't support moving from Gen1 to Gen2 without enabling Trusted Launch; both changes happen together. This sequence also skips the required MBR-to-GPT conversion.
  • Not correct: Back up VM1 → upgrade the OS to Windows Server 2022 in place → stop and deallocate VM1 → run MBR2GPT.exe → select Trusted launch and save. The MBR-to-GPT conversion of the OS disk must be completed on the running VM before it is stopped and deallocated.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free