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…
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)- A3% (1)
- B10% (3)
- C3% (1)
- D84% (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
Community Discussion
No community discussion yet for this question.