A company is designing an administrative strategy to manage its Azure environment. The strategy must accommodate a diverse IT team with the following requirements:
1. Administrators using macOS and Linux workstations must run automated deployment scripts locally using Azure PowerShell.
2. Field engineers using mobile devices must execute ad-hoc Azure CLI commands via a web browser.
3. All team members must have access to a shared, persistent workspace for shell scripts directly within their browser-based command-line interface.
Which configuration and tool combination should the company implement?
- Install PowerShell Core and the Az PowerShell module locally on macOS and Linux; have field engineers use Azure Cloud Shell (Bash or PowerShell), which mounts an Azure File share to persist scripts across sessions.Answer
- BUse Azure CLI locally on macOS and Linux workstations because Azure PowerShell is limited to Windows systems; have field engineers use Azure Cloud Shell, which persists files locally using browser storage.
- CInstall the Az PowerShell module on macOS and Linux by configuring Windows containers locally; have field engineers use Azure Cloud Shell configured with Azure Blob storage to mount persistent directories.
- DInstall PowerShell Core and the Az PowerShell module locally on macOS and Linux; have field engineers use the Azure Portal command console, which syncs persistent scripts through OneDrive.
Answer
Install PowerShell Core and the Az PowerShell module locally on macOS and Linux; have field engineers use Azure Cloud Shell (Bash or PowerShell), which mounts an Azure File share to persist scripts across sessions.
The correct option correctly states that Azure PowerShell runs locally on macOS and Linux using PowerShell Core and the Az module. It also correctly identifies that Azure Cloud Shell provides browser-based CLI and PowerShell environments, and relies on an Azure File share to provide persistent storage for user files across sessions.
Step-by-Step Solution
Key Concept
Cross-platform compatibility of Azure management tools (Azure PowerShell, CLI) and Azure Cloud Shell persistence mechanisms.
Estimated Time:1m 30s