Which command should you run prepare the environment?

You are a cloud administrator for a company. You have an Azure web app named WebApp1.

You need to provide developers with a copy of WebApp1 that they can modify without affecting the production WebApp1. When the developers finish testing their changes, you must be able to switch the current online version of WebApp1 to the new version.

Which command should you run prepare the environment? (To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.)
A . New-AzureRmWebApp -ResourceGroupName AdatumWebApps -Name WebApp1 -AppServicePlan ADatumASP1 -SourceWebApp WebApp1 -Slot Staging
B . New-AzureRmWebApp -ResourceGroupName AdatumWebApps -Name WebApp1 -AppServicePlan ADatumASP1 -AseName WebApp1 -Slot Staging
C . New-AzureRmWebAppBackup -ResourceGroupName AdatumWebApps -Name WebApp1 -AppServicePlan ADatumASP1 -DefaultProfile WebApp1 -Slot Staging
D . New-AzureRmWebAppSlot -ResourceGroupName AdatumWebApps -Name WebApp1 -AppServicePlan ADatumASP1 -SourceWebApp WebApp1 -Slot Staging
E . Switch-AzureRmWebAppSlot -ResourceGroupName AdatumWebApps -Name WebApp1 -AppServicePlan ADatumASP1 -AseName WebApp1 -Slot Staging
F . Switch-AzureRmWebAppSlot -ResourceGroupName AdatumWebApps -Name WebApp1 -AppServicePlan ADatumASP1 -DefaultProfile WebApp1 -Slot Staging

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments