nerdexam
Microsoft

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…

Submitted by thandi_sa· Mar 6, 2026Plan and implement data platform resources

Question

You have an Azure subscription. You need to deploy an Azure SQL database by using a BACPAC file. Which command should you run?

Options

  • Aaz sql db create
  • Baz sql db op
  • Caz sql db import
  • Daz sql db copy

How the community answered

(51 responses)
  • A
    8% (4)
  • B
    4% (2)
  • C
    86% (44)
  • D
    2% (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.

Full DP-300 Practice