DP-300 · Question #446
You have an Azure subscription. You need to deploy an Azure SQL database by using a BACPAC file. Which command should you run?
The correct answer is C. az sql db import. Import a BACPAC file into a database in SQL Database using the Azure CLI echo "Importing sample database from $container to $database..." az sql db import --admin-password $password --admin-user $login --storage-key $key --storage- key-type StorageAccessKey --storage-uri…
Question
Options
- Aaz sql db create
- Baz sql db op
- Caz sql db import
- Daz sql db copy
How the community answered
(51 responses)- A8% (4)
- B4% (2)
- C86% (44)
- D2% (1)
Explanation
Import a BACPAC file into a database in SQL Database using the Azure CLI echo "Importing sample database from $container to $database..." az sql db import --admin-password $password --admin-user $login --storage-key $key --storage- key-type StorageAccessKey --storage-uri https://$storage.blob.core.windows.net/$container/$bacpac --name $database --resource-group $resourceGroup --server $server https://learn.microsoft.com/en-us/azure/azure-sql/database/scripts/import-from-bacpac-cli
Community Discussion
No community discussion yet for this question.