exam questions

Exam DP-900 All Questions

View all questions & answers for the DP-900 exam

Exam DP-900 topic 1 question 32 discussion

Actual exam question from Microsoft's DP-900
Question #: 32
Topic #: 1
[All DP-900 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
PanP
Highly Voted 3 years, 5 months ago
Ans is B for me. Due to no az storage table create in the selection. The best answer is B create storage account (first)
upvoted 84 times
Kanatius
1 year, 11 months ago
I don't even think that a container is considered as an "Azure Resource" (the Azure Resources come right after the resource group), so It should be storage account (an Azure Resource)
upvoted 3 times
...
amraneze
3 years, 2 months ago
Normally, they should write table but if it's not mentionned then account because you can't have a table in azure table without an azure storage account
upvoted 10 times
...
...
walkwolf3
Highly Voted 3 years, 6 months ago
It could be "az storage table create" https://docs.microsoft.com/en-us/cli/azure/storage/table?view=azure-cli-latest
upvoted 16 times
...
man5484
Most Recent 5 months, 1 week ago
B. az storage account create (Correct answer) Azure Table Storage is part of Azure Storage, and before you can use Table storage, you need to create an Azure Storage account. The az storage account create command is used to create an Azure Storage account. A. az storage share create Incorrect. This command is used to create a file share in Azure File Storage, not Table Storage. C. az cosmosdb create Incorrect. This command is used to create an Azure Cosmos DB account, which is a separate service for NoSQL databases. D. az storage container create Incorrect. This command is used to create a blob container for storing unstructured data (e.g., files, images), not Table Storage.
upvoted 5 times
...
Bin_Hashim
5 months, 1 week ago
The correct command to run in order to create an Azure resource for Azure Table storage is: B. az storage account create
upvoted 1 times
...
profesorklaus
7 months, 3 weeks ago
First you need to create a storage so B is a correct answer
upvoted 1 times
...
Ruesam
11 months, 2 weeks ago
From meta AI: To create an Azure resource for storing data in Azure Table storage, you can use the Azure CLI command: `az storage account create --name <storage-account-name> --resource-group <resource-group-name> --location <location> --sku Standard_LRS` Replace `<storage-account-name>` with the desired name for your storage account, `<resource-group-name>` with the name of the resource group, and `<location>` with the desired location (such as "West US" or "East US"). Once the storage account is created, you can create a table using the command: `az storage table create --name <table-name> --account-name <storage-account-name>` Replace `<table-name>` with the desired name for your table, and `<storage-account-name>` with the name of the storage account you created.
upvoted 1 times
...
AGTraining
1 year, 1 month ago
az storage account create
upvoted 3 times
...
qasmi
1 year, 2 months ago
Selected Answer: B
To create resource first account needs to be created.
upvoted 2 times
...
BrennoVisk
1 year, 3 months ago
Selected Answer: B
Reply Chat gpt I apologize for the mistake in my previous answer. If option D is associated with creating storage containers in the context of Azure Table Storage, this would be an incorrect answer. Azure tables are part of the Azure Table Storage service, which does not use containers like Azure Blob Storage. The correct answer to storing data in Azure Table Storage would be to create an Azure Storage Account. Therefore, the correct option would be the letter B:
upvoted 4 times
...
masadamsahid
1 year, 5 months ago
Azure Table Storage doesn't need a container. AFAIK, container is created for a BLOB storage. Since Azure Table Storage isn't a BLOB storage, I don't think choice D is the right answer. And since there is no "az storage table create" choice, the most appropriate choice should be choice B. It's pretty reasonable since we need to create a subscription account first.
upvoted 2 times
...
james2033
1 year, 6 months ago
Selected Answer: B
az storage account create https://learn.microsoft.com/en-us/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-create
upvoted 2 times
...
nserge
1 year, 6 months ago
B. Create an account https://learn.microsoft.com/en-us/azure/storage/tables/table-storage-how-to-use-powershell
upvoted 2 times
...
mrharveypotter
1 year, 6 months ago
Selected Answer: D
Totally agree with Trulysme, option "D".
upvoted 2 times
...
Trulysme
1 year, 6 months ago
Read the question carefully. It is intended to be confusing! It does ask to create a Azure Ressource within an Azure Table Storage. Which indicates that the account is allready created. In that case you would create a ressource which would be a CONTAINER. Meaning answere "D" is indeed the correct answere.
upvoted 4 times
masadamsahid
1 year, 5 months ago
AFAIK, container is only for a BLOB storage. Never heard a container could be created for a NoSQL resource such as Azure Table Storage.
upvoted 1 times
...
...
lfparauj0
1 year, 7 months ago
According to Chat GPT: To create an Azure resource to store data in Azure Table storage, you should run the following command: B. az storage account create Creating an Azure Storage Account is the initial step in setting up Azure Table storage. Once you have created the storage account, you can then work with tables and containers within that account to store and manage your data. Options A, C, and D do not directly create a storage account for Azure Table storage.
upvoted 1 times
...
AZFabio
1 year, 7 months ago
Selected Answer: B
Create a storage account, then a table within it
upvoted 1 times
...
mdkshah
1 year, 7 months ago
Selected Answer: B
To store data in Azure Table storage, you need to create an Azure Storage account first. You can create an Azure Storage account using the command az storage account create. This command creates a new storage account in Azure with the specified name, resource group, location, and other configurations such as the performance tier, replication type, and access control settings
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago