Using the Start/Stop VMs during off-hours feature, you must specify which VMs should never be stopped by the automation. Which setting do you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: an Azure Automation account variable.
Why this is the answer
The Start/Stop VMs during off-hours feature uses an Azure Automation account. To exclude specific VMs from being stopped, you configure a variable within this Automation account, typically named ExternalExcludeVMNames. This variable holds a comma-separated list of VM names that the automation runbook should ignore. Incorrect options: The Diagnostic settings of the host pool are used for collecting logs and metrics, not for controlling VM power states. The Start-Stop-VM task is a component of the automation runbook, but you don't directly configure exclusions within the task itself; you configure the variable that the task references. An action group is used for notifications and alerts, not for defining VM exclusion lists for automation.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed