When you start Azure Cloud Shell for the first time, it asks to create a storage account. What is the main reason for this storage?
Think about what happens when you close and reopen Cloud Shell.
Azure Cloud Shell uses a storage account to save your files and data so that they are available every time you open Cloud Shell. This storage is mounted as a file share.
Which Azure CLI command correctly lists all resource groups in your subscription?
Check the Azure CLI command structure for resource groups.
The correct command to list resource groups is az group list. Other options are invalid commands or incorrect syntax.
You want to automate Azure resource deployment using Azure CLI scripts. Which environment is best suited for running these scripts securely and with minimal setup?
Consider ease of setup and security for running Azure CLI scripts.
Azure Cloud Shell is a browser-accessible shell environment with Azure CLI pre-installed and authenticated, making it ideal for automation scripts without local setup.
Which authentication method does Azure Cloud Shell use by default to run Azure CLI commands securely without prompting for credentials?
Think about how Azure services authenticate without user input.
Azure Cloud Shell uses a managed identity to authenticate Azure CLI commands securely without requiring manual login.
You have a complex Azure CLI script that creates multiple resources. To optimize execution time and avoid hitting rate limits, which practice should you follow?
Consider how to deploy multiple resources efficiently and reliably.
Using ARM templates with az group deployment create batches resource creation in one deployment, reducing API calls and improving reliability.