You need to set your default Azure region.
You know that the region can be set using the following command: z config set defaults.location=<REGION> Here, you need to replace the <REGION> with the name of the region that is available for your subscription and you want to set.
Which of the following command would you run in Cloud Shell to check the regions that are available from your Azure subscription?
Click on the arrows to vote for the correct answer
A. B. C. D. E.Correct Answer: B
az account list-locations command in Cloud Shell lists the available regions from your Azure subscription.
Option A is incorrect.
The right command is az account list-locations, not az account locations-list.
Option B is correct.
the right command to be used to know the available regions is az account list-locations.
Option C is incorrect.
There is no command like az account regions-list in Azure.
Option D is incorrect.
az account list-regions is not the right command to find the regions.
Option E is incorrect.
az storage account create is used to create a new storage account.
To know more about building a data pipeline, please visit the below-given link:
To check the regions available for your Azure subscription, you need to run a command in Cloud Shell. The available options are:
A. az account locations-list B. az account list-locations C. az account regions-list D. az account list-regions E. az storage account create.
The correct answer is B. az account list-locations. This command will list all the available locations for your subscription.
Option A, az account locations-list, is not a valid command. There is no such command in the Azure CLI.
Option C, az account regions-list, is not a valid command either. There is no such command in the Azure CLI.
Option D, az account list-regions, is not a valid command. There is no such command in the Azure CLI.
Option E, az storage account create, is not a valid command for checking the available regions. This command is used to create a storage account in a specific region.
Therefore, the correct command to check the regions available for your Azure subscription is B. az account list-locations.