PrepAway - Latest Free Exam Questions & Answers

Solution: You run the following Azure PowerShell comman…

You deploy a Virtual Machine Scale Set (VMSS) named CorpWebVMSS to Azure by using Azure PowerShell and set the instance count to 1. The VMSS includes a storage account, load balancer, public IP address. and six Standard_A1 Windows virtual machines (VMs) that run Internet Information Services (IIS). All components are deployed to a resource group named CorpWebRG.
You must increase the instance count to support the increased load on IIS.
You need to manually scale out the number of VMs in the scale set to 5.
Solution: You run the following Azure PowerShell commands:
$vmss = Get-AzureRmVmss -ResourceGroupName CorpWebRG –VMScalesSetName CorpWebVMSS
$vmss.Sku.Capacity = 5
Update-AzureRmVmss -ResourceGroupName CorpWebRG -Name CorpWebVMSS -VirtualMachineScaleSet
$vmss
Does the solution meet the goal?

PrepAway - Latest Free Exam Questions & Answers

A.
Yes

B.
No

One Comment on “Solution: You run the following Azure PowerShell comman…


Leave a Reply