Complete the code to create an Azure SQL Database using the Azure CLI.
az sql db create --resource-group myResourceGroup --server myServer --name [1] --service-objective S0The --name parameter specifies the name of the Azure SQL Database to create.
Complete the code to create an Azure SQL Managed Instance using the Azure CLI.
az sql mi create --name [1] --resource-group myResourceGroup --vnet-name myVnet --subnet mySubnet --admin-user adminUser --admin-password myPasswordThe --name parameter specifies the name of the Managed Instance to create.
Fix the error in the command to create an Azure SQL Database with a performance tier.
az sql db create --resource-group myResourceGroup --server myServer --name myDatabase --[1] S3The correct parameter to specify the performance tier is --service-objective.
Fill both blanks to configure a subnet for Azure SQL Managed Instance with the required delegation and service endpoints.
az network vnet subnet update --name [1] --vnet-name myVnet --resource-group myResourceGroup --delegations [2]
The subnet name is mySubnet and the delegation for Managed Instance is Microsoft.Sql/managedInstances.
Fill all three blanks to write a PowerShell command that creates an Azure SQL Database with a specified edition and max size.
New-AzSqlDatabase -ResourceGroupName myResourceGroup -ServerName myServer -DatabaseName [1] -Edition [2] -MaxSizeBytes [3]
The database name is TestDB, edition is Standard, and max size is 2147483648 bytes (2 GB).