nerdexam
Microsoft

AZ-500 · Question #245

You work for a company managing its Azure Virtual Machine (VM). The VM is running Windows Server named and is called VM1. You are tasked to perform emergency security configuration on VM1 for which…

The correct answer is D. Enable boot diagnostics on vm1. To use the Azure Serial Console for emergency security configuration on a Windows Server VM, you must first enable boot diagnostics on the VM.

Submitted by minji_kr· Mar 6, 2026Secure compute, storage, and databases

Question

You work for a company managing its Azure Virtual Machine (VM). The VM is running Windows Server named and is called VM1. You are tasked to perform emergency security configuration on VM1 for which you decide to use Serial Console. What will be your first step of action?

Options

  • AConnect vm1 to an Azure Log Analytics workspace. .
  • BRedeploy vm1.
  • CDeploy the Desired State Configuration VM extension to vm1.
  • DEnable boot diagnostics on vm1

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    4% (1)
  • D
    93% (25)

Why each option

To use the Azure Serial Console for emergency security configuration on a Windows Server VM, you must first enable boot diagnostics on the VM.

AConnect vm1 to an Azure Log Analytics workspace. .

Connecting to Log Analytics is for collecting monitoring data and logs, which is unrelated to enabling the Serial Console.

BRedeploy vm1.

Redeploying a VM would restart it and potentially erase temporary settings, but it is not a prerequisite for enabling Serial Console access.

CDeploy the Desired State Configuration VM extension to vm1.

Desired State Configuration (DSC) is for configuration management, not for enabling the Serial Console.

DEnable boot diagnostics on vm1Correct

Enabling boot diagnostics on an Azure VM is a prerequisite for using the Azure Serial Console, as the console relies on the underlying storage account created by boot diagnostics to store console output and screenshots.

Concept tested: Azure Serial Console prerequisites (Boot Diagnostics)

Source: https://learn.microsoft.com/en-us/azure/virtual-machines/serial-console-windows

Community Discussion

No community discussion yet for this question.

Full AZ-500 Practice