Microsoft

AZ-800 practice question 148

Administering Windows Server Hybrid Core Infrastructure · free question 148 of 246

Question

You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Windows Server. You plan to automate tasks on VM1 by using a runbook. You need to recommend which languages can be used to develop the tasks in the runbook and the minimum interval that can be used when scheduling the tasks. What should recommend? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation

Languages: PowerShell and Python — Azure Automation runbooks can be authored only in the runbook types the service supports: PowerShell, PowerShell Workflow, graphical (which is itself PowerShell-based), and Python. Compiled languages such as C#, Java, or general .NET assemblies are not runbook types, so the options that include C#, Java, or .NET are not valid choices for developing the tasks. Interval: 1 hour — an Azure Automation recurring schedule has a minimum supported frequency of one hour, so the shortest interval you can configure when linking a schedule to the runbook is hourly. Shorter values such as 1, 5, or 15 minutes cannot be set on an Automation schedule; achieving sub-hour execution would require an external trigger (for example a Logic App or a webhook call) rather than the built-in scheduler.

Need the theory? Learn it free in the AZ-800 course on Godlike Academy

Practice the whole free set

AZ-800 is a free exam: all 300 questions with instant feedback, plus Learn and Exam modes and PDF export, free.