You are on page 1of 7

1- When creating an Azure Web App named "acme", what is the domain name that Azure automatically

provisions for it?

Must be done manually

acme.azurewebsites.net

acme.azurewebapps.net

acme.websites.azure.net

acme.webapps.azure.net

2- In addition to the Production deployment slot, how many additional deployment slots can you create?

3- You can add additional deployment slots for a total of 5 deployment slots that can be swapped with
the production slot, or other non-production slots. The 4 additional slots can be used for staging and
testing purposes.

What Mode does a Web App need to be in to configure additional Deployment Slots?

Free

Standard

4- Which Azure PowerShell command is used to create a new Azure Web App Deployment Stlot?

New-AzureWebsiteSlot -Location $loc -Name $name

New-AzureWebsiteSlot -Location $loc -Name $name -Slot $slot

New-AzureWebsite -Location $loc -Name $name -Slot $slot

New-AzureWebsite -Location $loc -Name $name

5- When creating a new Web App named "acme", what is the domain name Azure automatically
provisions for it?

acme.azurewebsites.net

acme.azurewebapps.net

acme.webapps.azure.net
acme.websites.azure.net

6- An Azure Web App named "acme" has been created. You create a new "staging" deployment slot.

What is the domain name Azure automatically provisions for the "staging" deployment slot?

acme.azurewebsites.net

acme-staging.azurewebsites.net

staging.acme.azurewebsites.net

7- Which Azure PowerShell cmdlet is used to swap deployment slots?

Switch-AzureWebAppSlot

Switch-AzureWebsiteSlot

Swap-AzureWebAppSlot

Swap-AzureWebsiteSlot

8- What methods are supported for publishing an Azure Web App?

Visual Studio

Git

Web Deploy

PowerShell

FTP

Continuous delivery from Source Control

All of the above

9- Which Azure PowerShell cmdlet is used to publish a Web App?

Publish-AzureWebApp

Publish-AzureWebsite

Publish-AzureWebAppProject

Publish-AzureWebsiteProject

10- Which Azure PowerShell cmdlet is used to publish a WebJob?

New-AzureWebJob

New-AzureWebAppJob

New-AzureWebsiteJob

11- What are the options for scheduling a WebJob?


Scheduled

Automatic

On-Demand

Continuousy Running

All of the above

12- What file types are supported to run as a WebJob?

.exe

.cmd

.bat

.ps1 (PowerShell)

.cs (.NET)

.vb (.NET)

.js (Node)

.py (Python)

.rb (Ruby)

13- Which of the following are valid prefixes for connection strings when retrieved using environment
variables?

SQLCONNSTR_

CONNSTR_

MYSQLCONNSTR_

SQLAZURECONNSTR_

CUSTOMCONNSTR_

SQLSERVERCONNSTR_

14- You purchased a domain name from your own DNS provider, which of the following are valid
methods to add this to your Azure web app?

Add a TXT record in your DNS provider’s management interface to awverify.azurewebsites.net and
then add the domain name into the Azure portal

Add an A record in your DNS provider’s management interface to point to the IP address of your
website, and then add the domain name to the Azure portal
Add a CNAME record in your DNS provider’s management interface to point to your root domain
name and then add the domain name to the Azure portal

Add a CNAME record in your DNS provider’s management interface to point to the subdomain of
your website and then add the domain name into the Azure portal

15- Which command should you use to stop an Azure web app called myWebApp using the Xplat-Cli?

azure website stop myWebApp

azure stop site myWebApp

azure site stop myWebApp

azure stop myWebApp

16- Which command deletes an app setting called test using the Xplat-Cli?

azure site settings delete test

azure site appsetting delete test

azure appsetting delete test

azure appsetting remove test

17- Which command changes to service management mode using the Xplat-Cli?

azure switch mode asm

azure config mode servicemanagement

azure config mode asm

azure switch mode servicemanagement

azure mode asm

azure mode servicemanagement

18- Which PowerShell command adds an endpoint to a traffic manager profile for an Azure web app?

Add-AzureTrafficManagerEndpoint -DomainName http://mydomain.azurewebsites.net -status Enabled


-Type AzureWebsite

Add-TrafficManagementEndpoint -URL http://mydomain.azurewebsites.net -status Enabled -Type


Website

Add-AzureTrafficManagerEndpoint -DomainName http://mydomain.azurewebsites.net -Type


AzureWebsite

Add-AzureTrafficManagementEndpoint -URL http://mydomain.azurewebsites.net -status Active

19- How would you enable SSL for your production Azure web app?
Purchase an SSL certificate from a trusted certificate authority and upload the .CER file to the Azure
portal

Purchase an SSL certificate from a trusted certificate authority, import it into the Certificate Store and
export it with the private key. Upload the .PFX file to the Azure portal

Generate a self-signed certificate and upload the .CER file to the Azure portal

Generate a self-signed certificate and upload the .PFX file to the Azure portal

How should you add DNS level routing of requests to your globally distributed web app?

Use a Traffic Manager profile in Performance mode

Use a Traffic Manager profile in Round Robin mode

Use the Azure Load Balancer to route requests between Azure data centers

Use an Azure Application Gateway

20- Which are valid site diagnostic logs in Azure Websites? (Choose all that apply.)

Application diagnostics

Web server logging

Detailed error messages

Failed reqeust tracing

21- Which Azure PowerShell cmdlet should you use to download the diagnostic logs from an Azure
website to your local computer?

Get-AzureWebsiteLog

Enable-AzureWebsiteApplicationDiagnostic

Save-AzureWebsiteLog

Get-AzureWebsiteMetric

22- Which types of logs can be streamed using the log-streaming service? (Choose all that apply.)

Application logs

Failed request logs

Detailed error messages

Web server logs

23- When coniguring endpoint monitoring, how many external website locations can you conigure to
perform web tests for an endpoint?
Zero to three

Two or more

One to three

One to two

24- Which is not part of the contents backed up when using the backup service for an Azure Website?

Website configuration

Website performance metrics

Website file content

Website Databases

25- Which Autoscale schedule setting is needed to conigure Autoscale for a website such that the
number of running instances can be increased during the day and decreased in the evening?

Recurring schedule for weekday and weekend

Recurring schedule for day and night

Specific schedule with a start time in the morning and an end time in the evening

Speciic schedule with a start time in the evening and an end time in the morning

26- Which are valid instance size settings for an Azure website? (Choose all that apply.)

A0 (Shared core, 768 MB memory)

Small (1 core, 1.75 GB memory)

Medium (2 cores, 3.5 GB memory)

Large (4 cores, 7 GB memory)

27- Which web hosting plan would be appropriate for a website requiring SSL for a custom domain, 3 GB
of memory, and a minimum of two instances?

Standard (S2)

Basic(B3)

Shared

Basic(B2)

28- Which web hosting plans can you conigure a speciic instance size for all websites in the web hosting
plan? (Choose all that apply.)
Standard

Shared

Basic

Free

You might also like