Your company is deploying several Azure virtual machines (VMs) to support different application workloads. You need to configure various post-deployment configuration and monitoring tasks.
Match each administrative requirement to the correct Azure virtual machine feature or extension.
- Execute a custom bash script from a private Azure storage blob on a Linux virtual machine during the provisioning phase.Custom Script Extension
- Enforce a specific system configuration baseline on a Windows virtual machine and automatically correct any unauthorized configuration drift.Azure Automation State Configuration (DSC) extension
- Run an administrative script on an active, running Windows virtual machine that does not have a public IP address or active network route from your workstation.Run Command
- Automatically collect and forward guest-level operating system performance counters to a Log Analytics workspace.Azure Monitor agent
Cevap
Execute a custom bash script during provisioning matches Custom Script Extension; Enforce a baseline and correct configuration drift matches Azure Automation State Configuration (DSC) extension; Run an administrative script without a public IP on an active VM matches Run Command; Collect and forward guest-level OS performance counters matches Azure Monitor agent.
The correct matches align with Microsoft Azure best practices: Custom Script Extension is used for bootstrapping/provisioning scripts; Azure Automation DSC ensures state compliance and remediates drift; Run Command executes scripts on running VMs via the local VM agent without public IP requirements; and the Azure Monitor agent handles guest-level performance data collection.
Adım Adım Çözüm
Anahtar Kavram
Selecting the appropriate extension or management feature to configure and manage Azure Virtual Machines post-deployment.
Tahmini Süre:2m 0s