Recall & Review
beginner
What is the Azure CLI command to create a new storage account?
Use
az storage account create with parameters like --name, --resource-group, and --location to create a new storage account.Click to reveal answer
beginner
How do you list all containers in an Azure Storage account using CLI?
Use
az storage container list with the storage account name and key or connection string to list all containers.Click to reveal answer
beginner
Which command uploads a file to an Azure Blob container?
Use
az storage blob upload specifying the container name, file path, and blob name.Click to reveal answer
intermediate
How can you generate a Shared Access Signature (SAS) token for a storage account?
Use
az storage account generate-sas with permissions, expiry time, and resource types to create a SAS token.Click to reveal answer
beginner
What command deletes a blob from a container in Azure Storage?
Use
az storage blob delete with the container name and blob name to remove a blob.Click to reveal answer
Which Azure CLI command lists all blobs in a container?
✗ Incorrect
The command
az storage blob list lists blobs inside a specified container.What parameter is required to specify the storage account when using Azure storage CLI commands?
✗ Incorrect
The
--account-name parameter specifies which storage account the command targets.How do you authenticate Azure CLI storage commands without using account keys?
✗ Incorrect
Azure CLI supports authentication via Azure Active Directory login for storage commands.
Which command uploads a local file to Azure Blob Storage?
✗ Incorrect
The
az storage blob upload command uploads files to blob containers.What does the
az storage container create command do?✗ Incorrect
It creates a new container inside an Azure Storage account.
Explain how to upload a file to Azure Blob Storage using CLI commands.
Think about the command and required parameters.
You got /5 concepts.
Describe the steps to create a new storage account and a container inside it using Azure CLI.
Start with the storage account, then container.
You got /3 concepts.