Azure App Services
What are the 3 steps for continuously deploying containers?
1. Build and tag the image with the git commit ID, timestamp, or other identifiable info; 2. Push the tagged image to our container registry; 3. Update the deployment slot with the new image tag;
What all utilizes the VM instances (CPU cycles/memory) within an app service plan in reference to web apps?
All web apps running within an app service plan, all deployment slots, diagnostic slogs, backups, or WebJobs.
A process used to push out new features and bug fixes in a fast and repetitive pattern with minimal effect on end users is called...
Automated deployment / continuous deployment
What Azure CLI command allows you to package and deploy your app to App Service?
Az webapp up
Azure supports automated deployment from these sources:
Azure DevOps, GitHub, and Bitbucket
How can you configure the authentication and authorization module that is built-in to App Services?
Azure Resource Manager settings or a configuration file
The authentication flow with the provider SDK is called...
Cliented-directed flow or client flow
These App Service 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.
Dedicated compute: Basic, Standard, Premium, PremiumV2, and PremiumV3 tiers
What is it called when a third-party identity provider manages the user identities and authentication flow for you?
Federated identity
What are the pricing tiers for an App Service plan?
Free, Shared, Basic, Standard, Premium, Premium V2, Premium V3, Isolated, Isolated V2
What is the name of the role that handles incoming HTTP or HTTPS requests for a distributed system?
Front ends
Which of the following networking features of App Service can be used to control outbound network traffic?
Hybrid connections
If you enable application logging, where can all authentication and authorization traces be found?
In your log files.
What would it mean to scale a web app up or down?
Increase or decrease the number of cores or amount of RAM available.
What would it mean to scale a web app in or out?
Increase or decrease the number of machine instances running your web app.
What are the benefits of using App Services built-in authentication?
Integrate auth capabilities without implementing them yourself; It's built directly into the platform without required any language, SDK, security expertise, or code; You can integrate with multiple login providers (MS Entra ID, Facebook, Google, Twitter)
Which of the following App Service plan categories provides the maximum scale-out capabilities?
Isolated
These App Service tiers run 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.
Isolated: The Isolated and IsolatedV2 tiers
When utilizing federated identity, what is the difference between using the provider SDK and not using the provider SDK?
Not using the SDK delegates federated sign in to the App service, which can present the provider's login page to the user. With the SDK, the application signs users in to the provider manually and then submits the authentication token to App Service for validation. This is common with browser-less apps.
How many VMs does an app run on?
On all VM instances configured in the App Service plan.
What does the App Service plan define?
Operating system, region, number of VM instances, size of VM instances, and pricing tier
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.
The authentication flow without the provider SDK is called...
Server-directed flow or server flow
App Service on Linux is not supported on what pricing tier?
Shared
These two App Service pricing tiers allocate CPU quotas to each app that runs on the shared resources and the resources can't scale out.
Shared compute: Free tier and Shared tier
With which app service plan can you have more than one deployment slot for your application code?
Standard tier or better
What is the scale unit within App Services?
The App Service plan-all apps within the plan scale to the number of VMs defined or autoscale together.
How is CI/CD relevant to Azure web apps?
The Azure portal will auto sync code and any future changes into the web app from the source (ex. Bitbucket, GitHub, Azure DevOps Services, etc)
What are some reasons why you might need to isolate an app to its own service plan?
The app is resource-intensive; You want the app to scale independently; The app needs resource in a different geographical region
App Service provides a built-in ___ which is a repo of tokens that are associated with the users of your web apps, APIs, or native mobile apps.
Token store
How can you manually deploy your app using zip deploy?
Use curl or a similar HTTP utility to send a ZIP of your application files to App Service.
Azure App Service is used to host what?
Web applications, REST APIs, and Mobile back ends
How can you manually deploy an app to App Service using Git?
Web apps feature a Git URL that you can use as a remote repository. Pushing to the remote repo deploys your app.
Azure web applications can run on what types of environments?
Windows & Linux
What is the name of the role that hosts the customer workload for a distributed system?
Workers
Can more than one app be configured to run on the same computing resources (or in the same App Service Plan)?
Yes
If multiple apps are in the same App Service plan, do they all share the same VM instances?
Yes
You can retrieve the current list of languages and frameworks for App Service on Linux by running what command in the Cloud Shell?
az webapp list-runtimes --os-type linux
How can you find the outbound IP addresses currently used by your app using an Azure CLI command?
az webapp show \ --resource-group <group_name> \ --name <app_name> \ --query outboundIpAddresses \ --output tsv