0
0
Azurecloud~10 mins

Performance efficiency pillar in Azure - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create an Azure Virtual Machine with the Standard_DS1_v2 size for better performance.

Azure
az vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --size [1]
Drag options to blanks, or click blank then click option'
ABasic_A0
BStandard_B1s
CStandard_DS1_v2
DStandard_F1
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a basic or burstable VM size that limits performance.
Using a VM size not supported in the region.
2fill in blank
medium

Complete the code to enable Azure Monitor autoscale for a VM scale set to improve performance efficiency.

Azure
az monitor autoscale create --resource-group myResourceGroup --resource myScaleSet --resource-type Microsoft.Compute/virtualMachineScaleSets --name autoscaleSetting --min-count 1 --max-count [1] --count 2
Drag options to blanks, or click blank then click option'
A10
B5
C0
D1
Attempts:
3 left
💡 Hint
Common Mistakes
Setting max-count less than or equal to min-count disables scaling out.
Setting max-count to zero disables scaling.
3fill in blank
hard

Fix the error in the Azure CLI command to create a performance-optimized storage account with Premium SSD.

Azure
az storage account create --name mystorageacct --resource-group myResourceGroup --sku [1] --kind StorageV2
Drag options to blanks, or click blank then click option'
ABasic_LRS
BStandard_LRS
CStandard_GRS
DPremium_LRS
Attempts:
3 left
💡 Hint
Common Mistakes
Using Standard SKUs which do not provide premium performance.
Using Basic SKU which is not valid for StorageV2.
4fill in blank
hard

Fill both blanks to configure an Azure SQL Database with the correct performance tier and compute size.

Azure
az sql db create --resource-group myResourceGroup --server myServer --name myDatabase --service-objective [1] --compute-model [2]
Drag options to blanks, or click blank then click option'
AGP_Gen5_2
BBasic
CProvisioned
DServerless
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Basic tier which has limited performance.
Using Serverless compute which may have variable performance.
5fill in blank
hard

Fill all three blanks to create an Azure App Service plan optimized for performance with the correct SKU, tier, and number of instances.

Azure
az appservice plan create --name myAppServicePlan --resource-group myResourceGroup --sku [1] --is-linux true --number-of-workers [2] --tier [3]
Drag options to blanks, or click blank then click option'
AP1v3
B3
CPremiumV3
DB1
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Basic SKU or tier which limits performance.
Setting number of workers to 1 which limits scaling.