Skip to main content
  1. Public practice questions
  2. AZ-900 Practice Exams | Azure Fundamentals
  3. Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

Question 49 — Domain 3-Describe Azure management and governance | AZ-900 Practice Exam | 230 Questions

For each statement below, indicate whether the answer is True or False

Response matrix
ItemTrue False
Azure CLI uses Bash syntax, while Azure PowerShell uses PowerShell cmdlets. □□
Azure CLI and Azure PowerShell provide the same functionality but differ in command syntax. □□
Azure CLI is only available in Azure Cloud Shell and cannot be installed on local machines □□
Azure PowerShell is best suited for Windows environments, while Azure CLI works well on Linux and MacOS. □□

Correct answers

  1. Azure CLI uses Bash syntax, while Azure PowerShell uses PowerShell cmdlets. → True
  2. Azure CLI and Azure PowerShell provide the same functionality but differ in command syntax. → True
  3. Azure CLI is only available in Azure Cloud Shell and cannot be installed on local machines → False
  4. Azure PowerShell is best suited for Windows environments, while Azure CLI works well on Linux and MacOS. → True

Explanations

  • True: Azure CLI uses Bash commands, while Azure PowerShell uses cmdlets, making them functionally similar but syntactically different.

  • True: Both Azure CLI and Azure PowerShell provide similar functionalities for managing Azure resources, allowing users to choose their preferred scripting language.

  • False: Azure CLI can be installed on Windows, Linux, and MacOS as a standalone tool, not just in Azure Cloud Shell.

  • True: Azure PowerShell is commonly used in Windows environments, while Azure CLI is preferred in Linux and MacOS, but both can be used across multiple platforms.

Azure CLI uses Bash syntax, while Azure PowerShell uses PowerShell cmdlets.

Azure CLI and Azure PowerShell provide the same functionality but differ in command syntax.

Azure CLI is only available in Azure Cloud Shell and cannot be installed on local machines

Azure PowerShell is best suited for Windows environments, while Azure CLI works well on Linux and MacOS.