AZURE 204 [PART 1] : CREATE AZURE APP SERVICE
WEB APPS
Software development kit - Answer -What does SDK stand for?
SDK - Answer -a set of tools for third-party developers to use in producing applications
using a particular framework or platform
Azure App Service - Answer -An HTTP-based service for hosting web applications,
REST APIs, and mobile back ends.
Windows; Linux - Answer -Azure App Service web applications run and scale with ease
on both ___________ and __________-based environments
Azure App Service key components - Answer -- Built-in auto scale support
- Continuous integration/deployment support (Azure DevOps, GitHub, Bitbucket, FTP,
or local Git repository)
- Deployment slots (live apps with their own host names)
- App Service on Linux (App Service can also host web apps natively on Linus for
supported application stacks)
az webapp list-runtimes --linux - Answer -App Service on Linux. Supported languages
include: Node.js, Java (JRE 8 & JRE 11), PHP, Python, .NET Core, and Ruby. You can
retrieve the current list by using what command in the Cloud Shell?
App Service on Linux - Answer -_____ _________ ___ _____ has the following
limitations:
- Not supported on Shared pricing tier.
- You can't mix Windows and Linux apps in the same App Service plan.
- The Azure portal shows only features that currently work for Linux apps. As features
are enabled, they're activated on the portal.
App Service Plan - Answer -Defines a set of compute resources for a web app to run.
1. Region
2. Number of VM instances
3. Size of VM instances
4. Pricing tier - Answer -What are the four definitions that make up an App Service
Plan?
Pricing tier - Answer -Determines what App Service features you get and how much
you pay for the play
,Shared compute - Answer -[pricing tier] Both Free and Shared share the resource
pools of your apps with the apps of other customers. These tiers allocate CPU quotas to
each app that runs on the shared resources, and the resources can't scale out.
Dedicated compute - Answer -[pricing tier] The Basic, Standard, Premium, PremiumV2,
and PremiumV3 tiers run apps on dedicated Azure VMs. Only apps in the same App
Service plan share the same compute resources. The higher the tier, the more VM
instances are available to you for scale-out.
Isolated - Answer -[pricing tier] This tier runs dedicated Azure VMs on dedicated Azure
Virtual Networks. It provides network isolation on top of compute isolation to your apps.
It provides the maximum scale-out capabilities.
Consumption - Answer -[pricing tier] This tier is only available to function apps. It scales
the functions dynamically depending on workload.
Development; testing - Answer -App Service Free and Shared (preview) hosting plans
are base tiers that run on the same Azure virtual machines as other App Service apps.
Some apps might belong to other customers. These tiers are intended to be used only
for ___________ and __________ purposes.
scale unit - Answer -App Service plan is the _______ ______ of the App Service apps.
If the plan is configured to run five VM instances, then all apps in the plan run on all five
instances. If the plan is configured for autoscaling, then all apps in the plan are scaled
out together based on the auto-scale settings.
pricing tier - Answer -Your App Service plan can be scaled up and down at any time. It
is as simple as changing the _______ _________ of the plan
Isolate - Answer -_______ your app into a new App Service plan when:
- The app is resource-intensive.
- You want to scale the app independently from the other apps in the existing plan.
- The app needs resource in a different geographical region.
This way you can allocate a new set of resources for your app and gain greater control
of your apps.
True - Answer -App Service supports both automated and manual deployment (True or
false)
Automated deployment - Answer -____________ ___________, or continuous
integration, is a process used to push out new features and bug fixes in a fast and
repetitive pattern with minimal impact on end users.
1. Azure DevOps
2. GitHub
, 3. Bitbucket - Answer -What are the three options that Azure supports to automate
deployment?
1. Git
2. CLI
3. Zip Deploy
4. FTP/S - Answer -What are four ways you can manually push your code to Azure?
deployment slots - Answer -Whenever possible, use _________ ______ when
deploying a new production build.
False - Answer -you are required to use App Service for authentication and
authorization (True or false)
App Service; Azure Functions - Answer -The built-in authentication feature for _____
_______ and ______ __________can save you time and effort by providing out-of-the-
box authentication with federated identity providers, allowing you to focus on the rest of
your application.
Federal identity - Answer -Azure Services uses ________ _________, in which a third-
party identity provider manages the user identities and authentication flow for you.
/.auth/login/google - Answer -What does the sign-in endpoint look like for Google as a
provider? Note: the endpoint can be customized for the individual provider
Authentication token - Answer -When you enable authentication and authorization with
a provider (Google, Facebook, Microsoft Identity Platform, etc.), its sign-in endpoint is
available for user authentication and for validation of _____________ _____ from the
provider
HTTP request - Answer -The authentication and authorization module runs in the same
sandbox as your application code. When it's enabled, every incoming _____ ______
passes through it before being handled by your application code.
run in-process - Answer -In Linux and containers the authentication and authorization
module runs in a separate container, isolated from your application code. Because it
does not ___ ____________, no direct integration with specific language frameworks is
possible.
SDK - Answer -The authentication flow is the same for all providers, but differs
depending on whether you want to sign in with the provider's ___.
Server-directed flow (or server flow) - Answer -The server code manages the sign-in
process.
WEB APPS
Software development kit - Answer -What does SDK stand for?
SDK - Answer -a set of tools for third-party developers to use in producing applications
using a particular framework or platform
Azure App Service - Answer -An HTTP-based service for hosting web applications,
REST APIs, and mobile back ends.
Windows; Linux - Answer -Azure App Service web applications run and scale with ease
on both ___________ and __________-based environments
Azure App Service key components - Answer -- Built-in auto scale support
- Continuous integration/deployment support (Azure DevOps, GitHub, Bitbucket, FTP,
or local Git repository)
- Deployment slots (live apps with their own host names)
- App Service on Linux (App Service can also host web apps natively on Linus for
supported application stacks)
az webapp list-runtimes --linux - Answer -App Service on Linux. Supported languages
include: Node.js, Java (JRE 8 & JRE 11), PHP, Python, .NET Core, and Ruby. You can
retrieve the current list by using what command in the Cloud Shell?
App Service on Linux - Answer -_____ _________ ___ _____ has the following
limitations:
- Not supported on Shared pricing tier.
- You can't mix Windows and Linux apps in the same App Service plan.
- The Azure portal shows only features that currently work for Linux apps. As features
are enabled, they're activated on the portal.
App Service Plan - Answer -Defines a set of compute resources for a web app to run.
1. Region
2. Number of VM instances
3. Size of VM instances
4. Pricing tier - Answer -What are the four definitions that make up an App Service
Plan?
Pricing tier - Answer -Determines what App Service features you get and how much
you pay for the play
,Shared compute - Answer -[pricing tier] Both Free and Shared share the resource
pools of your apps with the apps of other customers. These tiers allocate CPU quotas to
each app that runs on the shared resources, and the resources can't scale out.
Dedicated compute - Answer -[pricing tier] The Basic, Standard, Premium, PremiumV2,
and PremiumV3 tiers run apps on dedicated Azure VMs. Only apps in the same App
Service plan share the same compute resources. The higher the tier, the more VM
instances are available to you for scale-out.
Isolated - Answer -[pricing tier] This tier runs dedicated Azure VMs on dedicated Azure
Virtual Networks. It provides network isolation on top of compute isolation to your apps.
It provides the maximum scale-out capabilities.
Consumption - Answer -[pricing tier] This tier is only available to function apps. It scales
the functions dynamically depending on workload.
Development; testing - Answer -App Service Free and Shared (preview) hosting plans
are base tiers that run on the same Azure virtual machines as other App Service apps.
Some apps might belong to other customers. These tiers are intended to be used only
for ___________ and __________ purposes.
scale unit - Answer -App Service plan is the _______ ______ of the App Service apps.
If the plan is configured to run five VM instances, then all apps in the plan run on all five
instances. If the plan is configured for autoscaling, then all apps in the plan are scaled
out together based on the auto-scale settings.
pricing tier - Answer -Your App Service plan can be scaled up and down at any time. It
is as simple as changing the _______ _________ of the plan
Isolate - Answer -_______ your app into a new App Service plan when:
- The app is resource-intensive.
- You want to scale the app independently from the other apps in the existing plan.
- The app needs resource in a different geographical region.
This way you can allocate a new set of resources for your app and gain greater control
of your apps.
True - Answer -App Service supports both automated and manual deployment (True or
false)
Automated deployment - Answer -____________ ___________, or continuous
integration, is a process used to push out new features and bug fixes in a fast and
repetitive pattern with minimal impact on end users.
1. Azure DevOps
2. GitHub
, 3. Bitbucket - Answer -What are the three options that Azure supports to automate
deployment?
1. Git
2. CLI
3. Zip Deploy
4. FTP/S - Answer -What are four ways you can manually push your code to Azure?
deployment slots - Answer -Whenever possible, use _________ ______ when
deploying a new production build.
False - Answer -you are required to use App Service for authentication and
authorization (True or false)
App Service; Azure Functions - Answer -The built-in authentication feature for _____
_______ and ______ __________can save you time and effort by providing out-of-the-
box authentication with federated identity providers, allowing you to focus on the rest of
your application.
Federal identity - Answer -Azure Services uses ________ _________, in which a third-
party identity provider manages the user identities and authentication flow for you.
/.auth/login/google - Answer -What does the sign-in endpoint look like for Google as a
provider? Note: the endpoint can be customized for the individual provider
Authentication token - Answer -When you enable authentication and authorization with
a provider (Google, Facebook, Microsoft Identity Platform, etc.), its sign-in endpoint is
available for user authentication and for validation of _____________ _____ from the
provider
HTTP request - Answer -The authentication and authorization module runs in the same
sandbox as your application code. When it's enabled, every incoming _____ ______
passes through it before being handled by your application code.
run in-process - Answer -In Linux and containers the authentication and authorization
module runs in a separate container, isolated from your application code. Because it
does not ___ ____________, no direct integration with specific language frameworks is
possible.
SDK - Answer -The authentication flow is the same for all providers, but differs
depending on whether you want to sign in with the provider's ___.
Server-directed flow (or server flow) - Answer -The server code manages the sign-in
process.