Soru

Zorluk: OrtaCreate and Configure Virtual Machines

You are designing the configuration management and deployment workflows for virtual machines (VMs) in a Microsoft Azure subscription.

Match each administrative requirement to the most appropriate Azure Virtual Machine feature or tool. (To answer, match the appropriate tool on the right to the requirement on the left. Each tool may be used once, more than once, or not at all.)

  • Configure automatic post-deployment software installation and OS customization on a newly provisioned Windows VM without maintaining custom images.Custom Script Extension
  • Execute a single ad-hoc troubleshooting script on a running VM that has no public network connectivity or open management ports.Run Command
  • Enforce a consistent configuration state across multiple VMs and automatically correct any configuration drift over time.Azure Automation State Configuration (DSC)
  • Create and maintain customized gold images with pre-installed applications and security patches across multiple regions.Azure VM Image Builder

Cevap

Configure automatic post-deployment software installation matches with Custom Script Extension; Execute a single ad-hoc troubleshooting script matches with Run Command; Enforce a consistent configuration state matches with Azure Automation State Configuration (DSC); Create and maintain customized gold images matches with Azure VM Image Builder.
The correct matches align each requirement with the specific capabilities of the Azure VM tools: Custom Script Extension is optimized for initial bootstrapping; Run Command bypasses network barriers via the local VM Agent for ad-hoc execution; Azure Automation State Configuration (DSC) handles continuous drift correction; and Azure VM Image Builder automates gold image pipelines.

Adım Adım Çözüm

1
Analyze the requirement for automatic post-deployment software installation on a newly provisioned VM.
The Custom Script Extension is the ideal native tool to download and run scripts during or immediately after the VM provisioning phase.
This avoids the overhead of managing customized VM images.
2
Analyze the requirement to run an ad-hoc troubleshooting script on an unreachable VM.
The Run Command feature uses the Azure VM Agent to execute PowerShell or Bash scripts on a VM without requiring direct RDP, SSH, or public network access.
This allows troubleshooting when management ports are closed.
3
Analyze the requirement to enforce state and correct configuration drift across multiple VMs.
Azure Automation State Configuration (DSC) is the built-in configuration management service that compiles DSC configurations and periodically audits/enforces the specified state on targets.
Other extension-based scripting tools execute only once and cannot continuously monitor or correct drift.
4
Analyze the requirement to create, customize, and replicate gold VM images.
Azure VM Image Builder is a managed service designed specifically to automate the creation of customized base images and distribute them to multiple target regions.
It replaces manual VM sysprep and capture workflows.

Anahtar Kavram

Azure Virtual Machine configuration management, extensions, and imaging tools.
Tahmini Süre:1m 30s
Bu soruyu puanla