nerdexam
Microsoft

AZ-140 · Question #114

You have an Azure Virtual Desktop deployment. You plan to implement the Start/Stop VMs during off-hours feature. You need to ensure that you can stop the session hosts automatically based on the CPU…

The correct answer is D. Configure the Diagnostic settings. To stop session hosts based on CPU utilization, the hosts must emit CPU metric data to Azure Monitor. Configuring Diagnostic settings on each session host enables the collection of performance metrics (including CPU) and sends them to a Log Analytics workspace. The Start/Stop…

Submitted by yaw92· Apr 18, 2026Monitor and maintain an Azure Virtual Desktop infrastructure

Question

You have an Azure Virtual Desktop deployment. You plan to implement the Start/Stop VMs during off-hours feature. You need to ensure that you can stop the session hosts automatically based on the CPU utilization. What should you do on the session hosts?

Options

  • AInstall the Azure Virtual Desktop Agent
  • BEnable change tracking
  • CConfigure the Power Management settings
  • DConfigure the Diagnostic settings

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    3% (1)
  • D
    84% (26)

Explanation

To stop session hosts based on CPU utilization, the hosts must emit CPU metric data to Azure Monitor. Configuring Diagnostic settings on each session host enables the collection of performance metrics (including CPU) and sends them to a Log Analytics workspace. The Start/Stop automation then queries this data via Azure Monitor alerts or Log Analytics queries to determine when CPU is below a threshold and trigger a deallocate action. Without Diagnostic settings enabled, no CPU telemetry is available for the automation to act on.

Topics

#Azure Virtual Desktop#Monitoring#Diagnostic Settings#Cost Optimization

Community Discussion

No community discussion yet for this question.

Full AZ-140 Practice