Question

Difficulty: EasyCreate and Configure Virtual Machines

You are configuring Azure Virtual Machines (VMs) to automate various deployment tasks. Match each Azure VM Extension to its primary configuration use case.

  • Custom Script ExtensionAutomates VM configuration by downloading and running shell scripts or scripts directly on the operating system.
  • PowerShell DSC ExtensionMaintains VM environment consistency by enforcing code-based configurations using declarative PowerShell scripts.
  • Azure Key Vault ExtensionAutomates the installation, monitoring, and renewal of SSL/TLS certificates on the virtual machine.

Answer

Custom Script Extension matches with automates VM configuration by running scripts; PowerShell DSC Extension matches with maintaining VM environment consistency using declarative configurations; Azure Key Vault Extension matches with automating the installation and renewal of SSL/TLS certificates.
Each extension maps to its unique and intended configuration purpose: Custom Script Extension for running customized OS scripts, PowerShell DSC for enforcing environment consistency, and Azure Key Vault Extension for SSL/TLS certificate lifecycle management.

Step-by-Step Solution

1
Analyze the function of the Custom Script Extension.
Identify that it downloads and executes custom scripts directly on the VM during or after provisioning.
This directly aligns with the definition of running custom scripts on the operating system.
2
Analyze the function of the PowerShell Desired State Configuration (DSC) Extension.
Identify that it manages VM environment state drift using declarative configuration files.
This aligns with using declarative configurations to enforce target environmental settings.
3
Analyze the function of the Azure Key Vault Extension.
Identify that it monitors certificate stores and automatically refreshes VM certificates from Key Vault.
This aligns with automating installation and renewal of SSL/TLS certificates.

Key Concept

Azure Virtual Machine Extensions are lightweight utilities that provide post-deployment configuration, automation, and management capabilities on Azure virtual machines.
Estimated Time:1m 0s
Rate this question