Question

Difficulty: MediumAzure Portal, CLI, PowerShell, and Cloud Shell

An IT administrator needs to run a custom Bash script containing Azure CLI commands to automate the shutdown of non-essential resources. The administrator is currently away from their office and only has a personal tablet running iPadOS. Which Azure management tool should the administrator use to run this script without installing any command-line tools locally?

  1. Azure Cloud ShellAnswer
  2. B
    Azure CLI
  3. C
    Azure PowerShell
  4. D
    Azure Portal graphical user interface

Answer

Azure Cloud Shell
Azure Cloud Shell is a browser-accessible, cloud-hosted terminal that allows users to run Azure CLI commands without installing any local command-line tools. Since it is hosted in the cloud, it can be accessed from web browsers or the Azure Mobile App on tablet operating systems like iPadOS.

Step-by-Step Solution

1
Identify that the script is a Bash script utilizing Azure CLI commands.
Requires an environment capable of interpreting Bash and executing Azure CLI commands.
Determines the execution requirements of the user script.
2
Evaluate the capabilities of the administrator's local device, which runs iPadOS.
iPadOS does not support the local installation of command-line tools like Azure CLI or Azure PowerShell.
Filters out tools that require local command-line environments on mobile/tablet platforms.
3
Determine which tool runs command-line scripts without needing a local command-line installation.
Azure Cloud Shell is cloud-hosted and accessible via a web browser or the Azure Mobile App, providing pre-installed command-line tools.
Identifies the correct browser-accessible, zero-install solution.

Key Concept

Azure Cloud Shell provides a browser-accessible, cloud-hosted shell for managing resources without local installation.
Estimated Time:1m 15s
Rate this question