A developer is using a local workstation running Linux, while a database administrator is using a local workstation running Windows. Both users need to run automated scripts to manage Azure SQL databases. The developer's script is written in Azure CLI, and the database administrator's script is written in Azure PowerShell. Which statement correctly describes the compatibility of these management tools with the administrators' local operating systems?
- Both the Azure CLI script and the Azure PowerShell script can be executed on either the Linux or the Windows workstation, as both management tools are cross-platform.Cevap
- BThe Azure CLI script can only be executed on the Linux workstation, whereas the Azure PowerShell script can only be executed on the Windows workstation.
- CThe Azure PowerShell script can be executed on the Windows workstation, but it must be run within Azure Cloud Shell on the Linux workstation because Linux does not support local PowerShell execution.
- DThe Azure CLI script can be executed on the Linux workstation, but it must be run within the Azure Portal on the Windows workstation because Windows does not support local Azure CLI execution.
Cevap
Both the Azure CLI script and the Azure PowerShell script can be executed on either the Linux or the Windows workstation, as both management tools are cross-platform.
The correct answer is that both the Azure CLI script and the Azure PowerShell script can be executed on either operating system. Both Azure CLI and Azure PowerShell are cross-platform tools that can be installed locally on Windows, macOS, and Linux. This allows administrators to run their preferred tool regardless of their local workstation's operating system.
Adım Adım Çözüm
Anahtar Kavram
Cross-platform support of Azure management tools
Tahmini Süre:2m 0s