Complete the code to create an Azure Virtual Machine with the Standard_DS1_v2 size for better performance.
az vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --size [1]The Standard_DS1_v2 size provides a balanced CPU-to-memory ratio suitable for performance efficiency.
Complete the code to enable Azure Monitor autoscale for a VM scale set to improve performance efficiency.
az monitor autoscale create --resource-group myResourceGroup --resource myScaleSet --resource-type Microsoft.Compute/virtualMachineScaleSets --name autoscaleSetting --min-count 1 --max-count [1] --count 2
Setting max-count to 5 allows the scale set to increase instances to handle load spikes, improving performance.
Fix the error in the Azure CLI command to create a performance-optimized storage account with Premium SSD.
az storage account create --name mystorageacct --resource-group myResourceGroup --sku [1] --kind StorageV2The Premium_LRS SKU provides high-performance SSD storage suitable for performance efficiency.
Fill both blanks to configure an Azure SQL Database with the correct performance tier and compute size.
az sql db create --resource-group myResourceGroup --server myServer --name myDatabase --service-objective [1] --compute-model [2]
GP_Gen5_2 is a General Purpose tier with 2 vCores for performance. Provisioned compute model allocates fixed resources for consistent performance.
Fill all three blanks to create an Azure App Service plan optimized for performance with the correct SKU, tier, and number of instances.
az appservice plan create --name myAppServicePlan --resource-group myResourceGroup --sku [1] --is-linux true --number-of-workers [2] --tier [3]
P1v3 SKU in the PremiumV3 tier provides high performance. Setting number-of-workers to 3 allows scaling out to handle more load.