Soru

Zorluk: OrtaAzure Portal, CLI, PowerShell, and Cloud Shell

Your team plans to automate Azure resource deployments using scripts that contain Azure PowerShell cmdlets. The team members use local workstations running Windows, macOS, and Linux. You need to ensure that all team members can execute these scripts locally from their workstations. Which tool should they install on their local machines?

  1. A
    Azure CLI
  2. Azure PowerShellCevap
  3. C
    Azure Cloud Shell
  4. D
    Azure Portal

Cevap

Azure PowerShell
Azure PowerShell is the correct answer because it is a cross-platform command-line tool that can be installed locally on Windows, macOS, and Linux. Since the scripts contain Azure PowerShell cmdlets, the team must install Azure PowerShell to run them locally.

Adım Adım Çözüm

1
Analyze the script requirements.
The scripts contain Azure PowerShell cmdlets, which require a PowerShell environment to run.
Choosing the correct tool requires matching the command syntax used in the scripts.
2
Evaluate the execution environment requirements.
The scripts must be executed locally on workstations running Windows, macOS, and Linux.
This rules out web-hosted options like Azure Cloud Shell or Azure Portal.
3
Determine tool compatibility.
Azure PowerShell is cross-platform and supports local installation on Windows, macOS, and Linux.
Modern Azure PowerShell is built on PowerShell Core, allowing it to run locally on all three major operating systems.

Anahtar Kavram

Cross-platform local execution of Azure PowerShell cmdlets on Windows, macOS, and Linux
Bu soruyu puanla