Scheduling Pool1 VM start/stop with Azure Automation
Short answer
D Use Azure Automation runbooks on a schedule to start and stop the Pool1-prefixed virtual machines during business hours
Question
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a law firm that has a main office in Montreal and branch offices in Paris and Seattle. The Seattle branch office opened recently.
Contoso has an Azure subscription and uses Microsoft 365.
Existing Infrastructure. Active Directory
The network contains an on-premises Active Directory domain named contoso.com and an Azure Active Directory (Azure AD) tenant. One of the domain controllers runs as an Azure virtual machine and connects to a virtual network named VNET1. All internal name resolution is provided by DNS server that run on the domain controllers.
The on-premises Active Directory domain contains the organizational units (OUs) shown in the following table.

The on-premises Active Directory domain contains the users shown in the following table.

The Azure AD tenant contains the cloud-only users shown in the following table.

Existing Infrastructure. Network Infrastructure
All the Azure virtual networks are peered. The on-premises network connects to the virtual networks.
A virtual network named VNET4 was recently created are peered to the other virtual networks. VNET4 does NOT contain any AVD virtual machines.
All servers run Windows Server 2019. All laptops and desktop computers run Windows 10 Enterprise.
Since users often work on confidential documents, all the users use their computer as a client for connecting to Remote Desktop Services (RDS).
In the West US Azure region, you have the storage accounts shown in the following table.

Existing Infrastructure. Remote Desktop Infrastructure
Contoso has a Remote Desktop infrastructure shown in the following table.

Requirements. Planned Changes
Contoso plans to implement the following changes:
• Implement FSLogix profile containers for the Paris offices.
• Deploy an Azure Virtual Desktop host pool named Pool4.
• Migrate the RDS deployment in the Seattle office to Azure Virtual Desktop in the West US Azure region.
Requirements. Pool4 Configuration
Pool4 will have the following settings:
• Host pool type: Pooled
• Max session limit: 7
• Load balancing algorithm: Depth-first
• Images: Windows 10 Enterprise multi-session
• Virtual machine size: Standard D2s v3
• Name prefix: Pool4
• Number of VMs: 5
• Virtual network: VNET4
Requirements. Technical Requirements
Contoso identifies the following technical requirements:
• Before migrating the RDS deployment in the Seattle office, obtain the recommended deployment configuration based on the current RDS utilization.
• For the Azure Virtual Desktop deployment in the Montreal office, disable audio output in the device redirection settings.
• For the Azure Virtual Desktop deployment in the Seattle office, store the FSLogix profile containers in Azure Storage.
• Enable Operator2 to modify the RDP Properties of the Azure Virtual Desktop deployment in the Montreal office.
• From a server named Server1, convert the user profile disks to the FSLogix profile containers.
• Ensure that the Pool1 virtual machines only run during business hours.
• Use the principle of least privilege.
You need to configure the virtual machines that have the Pool1 prefix. The solution must meet the technical requirements.
What should you use?
Key Takeaways
The question tests which Azure surface can execute a recurring schedule-driven action; the trap is picking the AVD-named 'automation task' (A) when the requirement is a plain scheduled start/stop best served by an Azure Automation runbook (D).
For keeping Pool1-prefixed AVD session hosts running only during business hours, Azure Automation is the correct tool: its scheduled runbooks (and the Start/Stop VM solutions) perform the recurring start/stop, while AVD automation tasks, IAM and Service Health do not meet the requirement.
Common mistake: Choosing A, an Azure Virtual Desktop automation task, because the name contains 'automation' and it sounds AVD-native; it does not cleanly deliver the scheduled start/stop of the Pool1-prefixed VMs required here. B (IAM) only manages permissions and C (Service Health) only reports platform events — neither performs the start/stop action.
Expert Analysis
The Boundary Being Tested
The requirement is narrow: the VMs carrying the Pool1 name prefix must run only during business hours. That is a recurring schedule-driven start/stop action on compute, and the question asks which tool to use, not which role or which monitoring view. This is where learners stumble, because Azure Virtual Desktop offers several "automation"-looking surfaces.
Why Not A
An AVD automation task (now surfaced as schedule-based start/stop functionality in the AVD resource itself, historically delivered through Start/Stop VMs during off-hours solutions) is a strong distractor because it is AVD-native and named similarly. But AVD's own off-hours feature targets VMs by tag or explicit selection within an AVD host pool, and it is oriented to the deployment-wide pattern, whereas the stated requirement here is expressed as an explicit technical requirement to schedule Pool1-prefixed VMs on a timeline. Option A also carries more configuration baggage (delegation, the underlying Azure Automation account) than the direct answer.
Why B and C Are Wrong Option B, Access control (IAM), is a permission surface — it grants or denies who can act on a resource. It never starts or stops a VM on a schedule, so it cannot satisfy the business-hours requirement; it is relevant only to the separate least-privilege requirement about Operator2. Option C, Service Health in Azure Monitor, is a notification and advisory surface for platform incidents and maintenance — it reports, it does not act. Selecting B or C confuses an access or an observability capability with an execution capability.
Why D Is Correct Correct answer: D. Azure Automation provides runbooks (PowerShell or Python) triggered on schedules, and the Start/Stop VM solutions from the Azure Automation gallery are the canonical pattern for starting and stopping VMs during defined hours. A runbook driven by a schedule satisfies "only run during business hours" cleanly and with least-privilege scoped managed identity or run-as credentials, which also supports the case study's least-privilege directive.
Exam Strategy
When a requirement says a resource must perform an action 'during' or 'only within' a time window, look for an execution engine with a schedule — Azure Automation runbooks, Logic Apps, or Event Grid — and reject anything that only grants permission or only reports. Also read the option wording literally: an option whose name matches the product family (AVD automation task) is often the trap when the scenario is a generic scheduled operation. Eliminate B and C immediately as non-executing surfaces, then compare A vs D on which one directly runs a scheduled start/stop.
Frequently Asked Questions
Why not use an Azure Virtual Desktop automation task for Pool1?
Can Access control (IAM) start and stop session hosts on a schedule?
What does Azure Automation need to run the Pool1 schedule?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
T10T 👍 2 Answered DPassed with a 919 on 02/29/2024. This question was on the test.
-
oktober_23 👍 2 Answered DD is the answer
-
jeff1988 👍 1 Answered DD. Azure Automation Azure Automation allows you to create and manage runbooks that can automate the start and stop of virtual machines based on a schedule. This solution meets the requirement to ensure the Pool1 virtual machines only run during business hours, minimizing administrative effort and adhering to the principle of least privilege.
-
Ivanvazovv 👍 1Why not "A. an Azure Virtual Desktop automation task"?
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AZ-140 Questions
Access 64 questions with complete answers and detailed explanations.
View Full AZ-140 Practice Test →