App Service Flashcards

1
Q

What are the benefits of App service?

A
  • Built-in Auto-scale support and high availability
  • CI/CD support
  • Deployment slots
  • Linux support
  • Containerization and Docker support
  • Connections to SaaS platforms using Hybrid connections and Azure Virtual Networks
  • Serverless code (via Functions)
  • Java and DotNet tools intergrations
  • Built-in authentication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What languages are supported by App Service?

A

Supported languages:
- ASPNET (not on LInux)
- ASPNET Core
- NodeJS
- Java (TomCat, JBoss)
- PHP
- Python
- Ruby

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the limitation with Linux for AppService?

A

App service on Linux is not supported on Shared pricing tier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Azure App Service Environment?

A

It is an Azure App Service feature that provides a fully isolated and dedicated environment for running App service apps securely at high scale.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ASE can be used with which App Service plan?

A

Isolated v2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which all apps and services can be hosted by App Service Environment?

A

An App Service Environment can host your:

  • Windows web apps
  • Linux web apps
  • Docker containers (Windows and Linux)
  • Functions
  • Logic apps (Standard)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What kind of applications is App Service Environment best suited for?

A

App Service Environments are appropriate for application workloads that require:

  • High scale.
  • Isolation and secure network access.
  • High memory utilization.
  • High requests per second (RPS).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In what usage scenarios is App Service Environemt can be used?

A

App Service Environments have many use cases, including:

  • Internal line-of-business applications.
  • Applications that need more than 30 App Service plan instances.
  • Single-tenant systems to satisfy internal compliance or security requirements.
  • Network-isolated application hosting.
  • Multi-tier applications.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are two primary uses of App Service Environment?

A
  • Dedicated Environment
  • Virtual Network support
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many App Service plans can be added to a App Service Environment?

A

up to 200 instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many instances can a App service Isolated v2 (Iv2) have?

A

up to 100 instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What the number of vCore available for App Service Environment deployed on a dedicated host?

A

You’re limited in scaling across all App Service plans to the number of cores in this type of environment. An App Service Environment that’s deployed on dedicated hosts has 132 vCores available

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the recommended size of App Service Environment v3 subnet?

A

/24 CIDR block with 256 addresses in it, as it cover the complete scale of ASE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How is App Service Environment price charged?

A

With App Service Environment v3, the pricing model varies depending on the type of App Service Environment deployment:

  • App Service Environment v3: If the App Service Environment is empty, there’s a charge as though you have one instance of Windows I1v2.
  • Zone redundant App Service Environment v3: There’s a minimum charge of nine instances.
  • Dedicated host App Service Environment v3: With a dedicated host deployment, you’re charged for two dedicated hosts per our pricing when you create the App Service Environment v3 and then, as you scale, you’re charged a specialized Isolated v2 rate per vCore
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is domain used for apps hosted in an App Service Environment with internal Virtual IP?

A

{appname}.{asename}.appserviceenvironment.net

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is domain used for apps hosted in an App Service Environment with internal Virtual IP?

A

{appname}.{asename}.p.azurewebsites.net

17
Q

How can you disable Kudu build, if you are building during deployment?

A

To disable the Kudu build, create an app setting, SCM_DO_BUILD_DURING_DEPLOYMENT, with a value of false.

18
Q

What is the “Always On” setting in App Service?

A

Keeps the app loaded even when there’s no traffic. When Always On isn’t turned on (default), the app is unloaded after 20 minutes without any incoming requests.

Always On is required for continuous WebJobs or for WebJobs that are triggered using a CRON expression.

19
Q

What is ARR Affinity?

A

In a multi-instance deployment, ensure that the client is routed to the same instance for the life of the session.

20
Q

What are the different SKU categories for App Service Plan?

A
  • Free/Shared
  • Basic (VNet)
  • Standard (Auto-scale)
  • Premium (premium resources) (v2 and v3)
  • Isolated (Hardware level isolation, max instances) (v1 and v2)
21
Q

How can you use SSL certificate in code in an App Service?

A

To access a certificate in your app code, add its thumbprint to the WEBSITE_LOAD_CERTIFICATES app setting

22
Q

How can you enable your Windows app to load SSL certificate file in an App Service?

A

ASP.NET and ASP.NET Core on Windows must access the certificate store even if you load a certificate from a file. Set WEBSITE_LOAD_USER_PROFILE=1

23
Q

What are the different scaling types for App Service?

A
  • Scale-up (vertical, more resources in same instance)
  • Scale-out (horizontal, more instances)
24
Q

What are the different scaling methods for App Service?

A
  • Manual (Basic and up)
  • Autoscale (Standard and up)
  • Automatic scaling (Premium V2 and V3)
25
Q

What SKUs is Per-app scaling option available in App Service?

A

Per-app scaling is available only for Standard, Premium, Premium V2, Premium V3, and Isolated pricing tiers.

26
Q

What are the different ways of Service-to-service authentication?

A
  • Service Identity
  • On-behalf-of (OBO), (delegated access)
27
Q

What is the deployment unit where Azure deploys each new App Service plan?

A

*Azure deploys each new App Service plan into a deployment unit, internally called a webspace. *Each region can have many webspaces, but your app can only move between plans that are created in the same webspace. An App Service Environment can have multiple webspaces, but your app can only move between plans that are created in the same webspace.

27
Q

Can you move an app to another App Service plan?

A

You can move an app to another App Service plan, as long as the source plan and the target plan are in the same resource group, geographical region, and of the same OS type.

28
Q

Can you change an App Service’s region?

A

You cannot change an App Service plan’s region. If you want to run your app in a different region, one alternative is app cloning.

29
Q

During deployment which folder is used for deployiong all the application files?

A

The deployment mechanism is the action used to put your built application into the /home/site/wwwroot directory of your web app. The /wwwroot directory is a mounted storage location shared by all instances of your web app.

30
Q

What are the elements that can inccur cost in an App Service plan?

A

When you create or use App Service resources, you’re charged for the following meters:

  • You’re charged an hourly rate based on the pricing tier of your App Service plan, prorated to the second.
  • The charge is applied to each scaled-out instance in your plan, based on the amount of time that the VM instance is allocated.
  • App Service domains
  • App Service certificates
  • IP-based SSL binding

Others:
- Isolated tier A Virtual Network
- Backup A Storage account
- Diagnostic logs: Storage account
- App Service certificates

31
Q
A