CloudGuild · Blog · Cheat sheets · Lessons · Certifications
Configuring Azure VM Start and Stop Schedules
Understand how to configure Azure VMs for automated start and stop schedules. Explore the correct answer and avoid common pitfalls.
You might find it tricky to choose the right Azure feature for scheduling VM operations. Many candidates confuse automation tools, leading to mistakes in their answers. Let's clarify the correct option for this scenario.
The question
You need to configure a virtual machine in Azure to automatically start and stop at scheduled times. Which feature should you use to achieve this?
A. Azure Automation
B. Azure Functions
C. Azure Logic Apps
D. Azure Scheduler
Think before you scroll
Consider what each option does. You need a solution that specifically addresses scheduling tasks related to virtual machines. This will help you hone in on the right choice.
The answer
The correct option is A. Azure Automation. This feature allows you to create runbooks, which can schedule the start and stop of virtual machines based on your defined times.
Why the other options lose
- B. Azure Functions: While Azure Functions automate tasks, they do not focus on managing VM schedules. They are more suited for event-driven computing rather than scheduling.
- C. Azure Logic Apps: Similar to Functions, Logic Apps automate workflows but are not specifically designed for VM scheduling. They excel in integrating services and automating processes across applications.
- D. Azure Scheduler: This option is deprecated. It cannot be used for scheduling VM operations or any other tasks in Azure, making it unsuitable for this question.
The concept behind it
The principle here is understanding that Azure Automation is specifically built for operational tasks like scheduling VM start and stop times. Knowing this helps you apply the concept to various scenarios where similar scheduling is required.
Exam trap to remember
Always check if a feature is deprecated or not suitable for the task at hand. In this case, Azure Scheduler is outdated, making it an easy trap for candidates.