nerdexam
Microsoft

AZ-140 · Question #73

You have an Azure Virtual Desktop deployment. You use the Start/Stop VMs during off-hours feature in Azure. You need to configure which virtual machines must never be stopped by the solution. What…

The correct answer is C. an Azure Automation account variable. The Start/Stop VMs during off-hours solution is built on Azure Automation. It uses a predefined Automation account variable named 'External_ExcludeVMNames' to maintain a comma-separated list of VM names that should never be stopped by the automation runbooks. To protect…

Submitted by anjalisingh· Apr 18, 2026Plan and implement an Azure Virtual Desktop infrastructure

Question

You have an Azure Virtual Desktop deployment. You use the Start/Stop VMs during off-hours feature in Azure. You need to configure which virtual machines must never be stopped by the solution. What should you configure?

Options

  • Athe Diagnostic settings of the host pool
  • Bthe Start-Stop-VM task
  • Can Azure Automation account variable
  • Dan action group

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    5% (2)
  • C
    81% (35)
  • D
    12% (5)

Explanation

The Start/Stop VMs during off-hours solution is built on Azure Automation. It uses a predefined Automation account variable named 'External_ExcludeVMNames' to maintain a comma-separated list of VM names that should never be stopped by the automation runbooks. To protect specific VMs, you add their names to this variable. Diagnostic settings (A) capture logs and metrics but do not control automation behavior. The Start-Stop-VM task (B) is not a configurable object in this context. An action group (D) is used for Azure Monitor alerts and notifications, not for exclusion logic in automation runbooks.

Topics

#Azure Automation#VM power management#Host pool management#Cost optimization

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice