Exam: DP-900: Microsoft Azure Data Fundamentals 0 Likes
You need to create an Azure resource to store data in Azure Table (DP-900)
You need to create an Azure resource to store data in Azure Table storage.
Which command should you run?
A. az storage share create
B. az storage account create
C. az cosmosdb create
D. az storage container create
Solution
Correct answer: B. az storage account create.
Here's a breakdown of the other options:
A. az storage share create - This command is used to create an Azure File Share, not an Azure Storage account.
C. az cosmosdb create - This command is used to create an Azure Cosmos DB account, not an Azure Storage account.
D. az storage container create - This command is used to create an Azure Blob storage container, not an Azure Storage account.
To create an Azure Storage account using the Azure CLI, you would typically run a command like this:
az storage account create --name mystorageaccount --resource-group myresourcegroup --location westus --sku Standard_LRS
This creates a new Azure Storage account named "mystorageaccount" in the "myresourcegroup" resource group, located in the "westus" region, using the "Standard_LRS" (locally-redundant storage) SKU.
Category: Considerations for working with non-relational data on Azure