Implement Azure App Service web apps

InexpensiveTaiga avatar
InexpensiveTaiga
·
·
Download

Start Quiz

Study Flashcards

80 Questions

Which operating systems does Azure App Service support?

Both Windows and Linux

What is the purpose of deployment slots in Azure App Service?

To have separate environments for testing and production

What are the supported languages and frameworks for Azure App Service on Linux?

All language specific built-in images

Which types of applications can be hosted on Azure App Service?

All of the above

What resources can be scaled up/down in Azure App Service?

All of the above

Which sources can be used for continuous integration/deployment in Azure App Service?

All of the above

What is the purpose of scaling out/in in Azure App Service?

To increase or decrease the number of machine instances

What is the benefit of using deployment slots in Azure App Service?

To swap content and configurations between different slots

Which pricing tier is not supported for App Service on Linux?

Shared

Which option is recommended for apps that require heavy read-only access to content files?

Deploying with a custom container

What command can be used in the Cloud Shell to retrieve the current list of supported languages and frameworks for App Service on Linux?

az webapp list-runtimes --os-type linux

Which of the following best describes an App Service plan in Azure?

A set of compute resources for multiple apps to run on

How can you improve the performance of an app in Azure App Service when it is running in the same plan with other apps?

Move the app into a separate App Service plan

Which of the following determines the compute resources for a web app in Azure App Service?

App Service plan

Which pricing tier in Azure App Service allows apps to run on the same Azure VM as other apps, with CPU quotas and no scale-out capability?

Shared

Which pricing tier in Azure App Service provides network isolation on top of compute isolation for your apps?

Isolated

Which Azure hosting plans are intended to be used only for development and testing purposes?

App Service Free and Shared (preview) hosting plans

Which tier(s) allow an app to scale out and run on multiple VM instances?

Basic and Standard tiers

What is the purpose of scaling up/down an App Service plan?

To scale the app independently from other apps in the same plan

When should you consider isolating your app into a new App Service plan?

All of the above

Which deployment method in Azure App Service allows you to push your code to an Azure Web App directly from GitHub?

Azure DevOps Services

Which deployment method in Azure App Service allows you to send a ZIP of your application files using curl or a similar HTTP utility?

Zip deploy

Which deployment method in Azure App Service allows you to use the az command-line interface to package and deploy your app, and can create a new App Service web app if it doesn't exist?

CLI

Which of the following is true about the authentication flow in App Service?

The authentication flow is the same for all providers

What is the purpose of the token store in App Service?

To store tokens associated with users of web apps, APIs, or native mobile apps

What can you find in your existing application logs if you encounter an unexpected authentication error?

Authentication and authorization traces

Which of the following is a benefit of using the built-in authentication feature in Azure App Service?

You can save time and effort by providing out-of-the-box authentication with federated identity providers

What is the role of the authentication and authorization module in Azure App Service?

It enables authentication and authorization for your app by processing incoming HTTP requests

Which of the following is true about the identity providers in Azure App Service?

They handle the user identities and authentication flow for you

What does the authentication and authorization module in App Service do?

Handles user authentication and session management

What is the purpose of the sign-in endpoint for an identity provider in App Service?

Validation of authentication tokens

Which of the following identity providers is NOT available by default in Azure App Service?

LinkedIn

What does the authentication and authorization module in Azure App Service do?

Handles incoming HTTP requests

How can the authentication and authorization module in Azure App Service be configured?

Using Azure Resource Manager settings

Which of the following is NOT a function of the authentication and authorization module in Azure App Service?

Injects identity information into HTTP request headers

What happens when the authentication and authorization module is enabled in Azure App Service?

The module authenticates users and clients with the specified identity provider(s)

What does the authentication and authorization module do with OAuth tokens issued by the configured identity provider(s)?

Validates and stores the tokens

Which of the following is NOT a benefit of using the built-in authentication feature in Azure App Service?

It requires changes to your application code.

Which of the following identity providers is available by default in Azure App Service?

Facebook

What does the authentication and authorization module do with authentication tokens from the configured identity provider(s)?

It validates the authentication tokens.

Which of the following is true about the token store in Azure App Service?

The token store is a built-in repository of tokens associated with users of your web apps, APIs, or native mobile apps.

What can you find in your existing application logs if you encounter an unexpected authentication error?

Details about the authentication error

What is the purpose of the authentication and authorization module in Azure App Service?

To handle the authentication flow for your app

Which of the following is NOT a step in the authentication flow for Azure App Service?

Enable application logging

What is the purpose of the token store in App Service?

To store tokens associated with users

How can you find all the details of an unexpected authentication error in App Service?

By looking in the existing application logs

Which App Service plan allows all apps to run on the same worker?

Premium

Which App Service plan uses a different VM type than the others?

PremiumV2

Where can you find the outbound IP addresses currently used by your app in the Azure portal?

Properties

Which of the following deployment types hosts App Service plans directly in your Azure virtual network?

App Service Environment (ASE)

What are the roles that handle incoming HTTP or HTTPS requests in Azure App Service called?

Front ends

Why can't you connect the App Service network directly to your network in a multi-tenant App Service deployment?

There are many different customers in the same App Service scale unit

Which deployment types are available for Azure App Service?

Single-tenant and multi-tenant

What are the roles that handle incoming HTTP or HTTPS requests in Azure App Service called?

Front ends

Which features can be used to handle inbound and outbound network traffic in Azure App Service?

Access Restrictions and Virtual Network Integration

Which of the following App Service plans hosts customer workloads that are dedicated to only one App Service plan?

Basic and higher plans

Which VM type does the PremiumV3 plan use in Azure App Service?

A different VM type than the PremiumV2 plan

How can you find the outbound IP addresses currently used by your app in the Azure portal?

Select Properties in your app's left-hand navigation

Which Azure CLI command can be used to find all possible outbound IP addresses for your app, regardless of pricing tiers?

az webapp show --resource-group --name --query possibleOutboundIpAddresses --output tsv

Which deployment slots are available in Azure App Service?

Both production and non-production slots

What is the benefit of deploying your application to a non-production slot in Azure App Service?

It allows you to swap content and configurations between slots

Is there any additional cost associated with using deployment slots in Azure App Service?

No, there is no extra charge for using deployment slots

Which slot remains online while the source slot is being prepared and warmed up?

The target slot

When swapping slots, which slot should always be the target slot?

The production slot

Which settings change when you swap slots in Azure App Service?

Some settings are swapped while others remain the same

Which of the following settings are applied from the target slot to all instances of the source slot during a slot swap in Azure App Service?

All of the above

What triggers all instances in the source slot to restart during a slot swap in Azure App Service?

HTTP request to the application root

What happens if any instance fails to restart during a slot swap in Azure App Service?

The swap operation stops and rolls back the changes

Which page allows you to swap deployment slots in Azure App Service?

Deployment slots page

What should you do before swapping an app from a deployment slot into production in Azure App Service?

Make sure that all settings in the source slot are configured exactly as you want to have them in production

What does the 'Swap with preview' feature in Azure App Service allow you to do?

Validate that the app runs with the swapped settings before swapping into production

Which of the following is NOT a step in configuring auto swap in Azure App Service?

Roll back and monitor a swap

What configuration element in web.config is used to specify custom initialization actions for auto swap in Azure App Service?

applicationInitialization

Where can you find information on the swap operation and its suboperations or errors in Azure App Service?

Activity log

Which of the following is a use case for routing production traffic manually in App Service?

To allow users to opt out of a beta app

What happens to a client session after it is automatically routed to a specific slot in App Service?

It is pinned to that slot for the life of the client session

How can you determine which slot your session is pinned to in App Service?

By checking the x-ms-routing-name cookie in your HTTP headers

Which of the following is NOT a way to access the staging slot manually in Azure App Service?

By setting the routing percentage to 0

What happens when the routing percentage is set to 0% in Azure App Service?

The staging slot is inaccessible to the public

What is the purpose of setting the routing rule value to 0% in Azure App Service?

To hide the staging slot from the public

Test your knowledge on Azure App Service and its features in this quiz! Learn about hosting web applications, REST APIs, and mobile backends, developing in different programming languages or frameworks, and scaling up or down with ease.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser