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.
Question
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)- A4% (1)
- B4% (1)
- D93% (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.
Connecting to Log Analytics is for collecting monitoring data and logs, which is unrelated to enabling the Serial Console.
Redeploying a VM would restart it and potentially erase temporary settings, but it is not a prerequisite for enabling Serial Console access.
Desired State Configuration (DSC) is for configuration management, not for enabling the Serial Console.
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.