Which commands should you use?

DRAG DROP
You manage an Azure Web Site named contososite.
You download the subscription publishing credentials named ContosoEnterprise.publishsettings.
You need to use Azure Power Shell to achieve the following:
Connect to the Contoso-Enterprise subscription. Create a new App Setting named
CustomSetting with a value of True. Restart the website.
Which commands should you use? To answer, drag the appropriate Azure PowerShell
command to the correct location in the solution. Each command may be used once, more
than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

DRAG DROP
You manage an Azure Web Site named contososite.
You download the subscription publishing credentials named ContosoEnterprise.publishsettings.
You need to use Azure Power Shell to achieve the following:
Connect to the Contoso-Enterprise subscription. Create a new App Setting named
CustomSetting with a value of True. Restart the website.
Which commands should you use? To answer, drag the appropriate Azure PowerShell
command to the correct location in the solution. Each command may be used once, more
than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

Answer:

Explanation:



Leave a Reply 10

Your email address will not be published. Required fields are marked *


User1

User1

Shouldn’t the last one be: restart-AzureWebsite?

joni

joni

i think the last is Restart-AzureWebsite

David

David

I agree, the last step should be Restart-AzureWebsite because we didn’t run Stop-AzureWebsite earlier.

challenge

challenge

Restart-AzureWebsite

robbierage

robbierage

Import
Set
restart

anca

anca

ok, but can we modify the website’s settings if it’s running ? I think that’s why they say start, as they suppose it’s in stopped state.

RJBT

RJBT

yes you can change website setting without stopping it. But it must be restarted before they take effect.

Bruno D'Amico

Bruno D'Amico

Import
Set
Restart