nerdexam
Microsoft

AZ-800 · Question #181

You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Windows Server. You plan to manage VM1 by using a PowerShell runbook. You need to create the runbook…

The correct answer is A. an Azure Automation account. To manage an Azure virtual machine using a PowerShell runbook, you must first create an Azure Automation account.

Manage virtual machines and containers

Question

You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Windows Server. You plan to manage VM1 by using a PowerShell runbook. You need to create the runbook. What should you create first?

Options

  • Aan Azure Automation account
  • Ban Azure workbook
  • Ca Log Analytics workspace
  • Da Microsoft Power Automate flow

How the community answered

(16 responses)
  • A
    94% (15)
  • B
    6% (1)

Why each option

To manage an Azure virtual machine using a PowerShell runbook, you must first create an Azure Automation account.

Aan Azure Automation accountCorrect

An Azure Automation account provides the necessary environment for authoring, testing, and running PowerShell runbooks in Azure. It is a prerequisite for deploying and executing automation scripts that interact with Azure resources like virtual machines, serving as the container for all automation assets.

Ban Azure workbook

An Azure workbook is used for data visualization and reporting in Azure Monitor, not for hosting and executing PowerShell runbooks.

Ca Log Analytics workspace

A Log Analytics workspace is used for collecting and analyzing log data, not for creating or running PowerShell runbooks.

Da Microsoft Power Automate flow

A Microsoft Power Automate flow is a workflow automation service, but Azure Automation is specifically designed for script-based automation tasks, including PowerShell runbooks for managing Azure infrastructure.

Concept tested: Prerequisites for Azure Automation PowerShell runbooks

Source: https://learn.microsoft.com/en-us/azure/automation/overview

Topics

#Azure Automation#PowerShell Runbooks#Virtual Machine Management#Azure Management Services

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice