Complete the code to create a resource group in Azure CLI.
az group create --name [1] --location eastusThe resource group name is specified with --name. Here, myResourceGroup is a common example name.
Complete the code to create an Azure SQL server with admin user.
az sql server create --name [1] --resource-group myResourceGroup --location eastus --admin-user adminuser --admin-password MyP@ssw0rdThe server name is specified with --name. mySqlServer is a typical example server name.
Fix the error in the command to create an Azure SQL database.
az sql db create --resource-group myResourceGroup --server mySqlServer --name [1] --service-objective S0The database name is specified with --name. myDatabase is the correct database name here.
Fill both blanks to set the firewall rule allowing Azure services and specify the start IP.
az sql server firewall-rule create --resource-group myResourceGroup --server mySqlServer --name AllowAzureServices --start-ip-address [1] --end-ip-address [2]
To allow Azure services, both start and end IP addresses should be 0.0.0.0.
Fill all three blanks to create a database with a specific edition and max size.
az sql db create --resource-group myResourceGroup --server mySqlServer --name [1] --edition [2] --max-size [3]
The database name is myDatabase, edition is Standard, and max size is 5GB.