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
| Item | True | 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
- Azure CLI uses Bash syntax, while Azure PowerShell uses PowerShell cmdlets. → True
- Azure CLI and Azure PowerShell provide the same functionality but differ in command syntax. → True
- Azure CLI is only available in Azure Cloud Shell and cannot be installed on local machines → False
- 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.