Soru

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

An IT engineer uses a personal computer running Linux to perform daily administration. The engineer needs to execute Azure PowerShell cmdlets locally to manage virtual machines.

What should the engineer do to run these command-line tools locally?

  1. Install Azure PowerShell directly on the Linux computer.Cevap
  2. B
    Install Azure CLI, because Azure PowerShell is only supported on Windows operating systems.
  3. C
    Use the Azure Portal exclusively, because command-line management tools are restricted to Windows environments.
  4. D
    Configure a Windows virtual machine first, because local Azure command-line tools are not compatible with Linux.

Cevap

Install Azure PowerShell directly on the Linux computer.
Azure PowerShell is built on top of PowerShell Core, which is cross-platform. This allows administrators to install and run Azure PowerShell cmdlets natively on Windows, macOS, and Linux computers.

Adım Adım Çözüm

1
Identify the target tool and operating system requirements.
The target tool is Azure PowerShell cmdlets, and the local operating system is Linux.
To determine whether the tool can run natively or requires an alternative environment.
2
Evaluate the cross-platform compatibility of Azure PowerShell.
Azure PowerShell is built on PowerShell Core, which is cross-platform and runs natively on Linux.
To verify if local installation on Linux is supported.
3
Select the option that correctly states the local installation capability.
Installing Azure PowerShell directly on the Linux computer is the correct action.
This avoids unnecessary workarounds like virtual machines or switching to other tools.

Anahtar Kavram

Azure PowerShell is a cross-platform command-line tool that can be installed locally on Windows, macOS, and Linux.
Tahmini Süre:45s
Bu soruyu puanla