Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Describe Azure Cloud Shell, Azure CLI, and Azure PowerShell

A worked example

Match

Fabrikam is standardising how its teams manage Azure. Each team has stated its requirements for the tool or approach it will use.

TeamRequirements
SupportStaff use managed devices that allow only a web browser. They must run commands that automatically use their own Azure identity and permissions.
Build automationA scheduled job on a Linux build server must run the team's existing scripts without rewriting them. The scripts use Azure cmdlets and are compatible with Linux.
PlatformEngineers must run existing Azure management scripts from local terminals on their Windows workstations. Some scripts use Azure cmdlets and others use az commands. Both sets must run as written.
Data engineeringEngineers use Bash in a local terminal on their macOS laptops. They want the Azure tool installed on those laptops to run alongside their local scripts.

Match each team to the tool or approach that best meets all its requirements. Each option can be used once or not at all.

  • Correct match: Azure Cloud Shell.

    Cloud Shell provides browser access without local installation and uses the signed-in user's Azure identity and permissions.

  • Correct match: Azure PowerShell installed on the Linux server.

    Azure PowerShell provides Azure cmdlets and supports Linux installation, allowing the compatible existing scripts to run on the build server.

  • Correct match: Azure CLI and Azure PowerShell installed on Windows.

    Azure CLI runs the az commands, and Azure PowerShell supplies the Azure cmdlets. Both tools support local installation on Windows.

  • Correct match: Azure CLI installed on macOS.

    Azure CLI supports local installation on macOS and can be used from the engineers' Bash environment alongside their local scripts.

Why

Cloud Shell meets the browser-only requirement and uses the signed-in user's Azure identity. Azure PowerShell on Linux supports the team's compatible Azure cmdlet scripts. Azure CLI on macOS fits the engineers' local Bash workflow. Installing Azure CLI and Azure PowerShell on Windows gives the Platform team the tools to run both sets of existing scripts. Custom dashboards display resource information, and Copilot provides operational assistance. The teams' workflows require tools that run their Azure commands.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free