Implement Azure App Service web apps Flashcards
What is an App Service Plan in Azure?
An App Service Plan defines the region, pricing tier, and compute resources (CPU, memory, storage) for web apps hosted in the Azure App Service.
What are deployment slots in Azure App Service?
Deployment slots allow you to host different versions of your app, such as staging or production, which can be swapped with no downtime.
How can you scale an App Service web app in Azure?
You can scale an App Service either vertically by changing the pricing tier or horizontally by enabling auto-scaling based on metrics like CPU or memory usage.
How can you enable authentication for an App Service web app without changing the app code?
Use the built-in Azure App Service Authentication/Authorization feature to integrate with identity providers like Azure AD, Facebook, Google, etc
How can you configure environment-specific settings for an App Service web app?
Use the App Settings and Connection Strings in the Azure portal, which override settings in the app’s web.config or appsettings.json files at runtime.
How do you configure a custom domain and SSL for an Azure App Service web app?
You can configure a custom domain by adding a CNAME or A record in DNS, and then secure it with SSL certificates, which can be managed via Azure or third-party providers.
What are the methods available to deploy a web app to Azure App Service?
You can deploy using Visual Studio, GitHub Actions, Azure Pipelines, Azure CLI, or ZIP deployment.
What types of logs are available for Azure App Service web apps?
Azure App Service provides diagnostic logs like application logging (for trace logs), web server logging, and detailed error logs.
How do you set up continuous deployment for an Azure App Service web app?
You can integrate with source control systems like GitHub, Bitbucket, or Azure DevOps to automatically deploy updates to your app when changes are pushed.
How can you back up an Azure App Service web app?
Use the Backup feature in Azure App Service to create automatic backups of the app and its associated databases. You can also restore apps from these backups.
What are Hybrid Connections in Azure App Service?
Hybrid Connections allow App Service web apps to securely access on-premises resources without a public-facing endpoint.
What is an Azure WebJob in the context of Azure App Service?
WebJobs are background tasks that can run continuously or on-demand within the same App Service instance, typically for long-running or scheduled tasks.
What is the difference between scaling out and scaling up in Azure App Service?
Scaling out involves adding more instances (horizontal scaling), while scaling up increases the resource allocation (vertical scaling) by changing the pricing tier.
How does Azure Traffic Manager work with Azure App Service?
Azure Traffic Manager routes user traffic to different regions for high availability and performance by integrating with App Service endpoints.
What is the key difference between regional and global scaling in Azure App Service?
Regional scaling involves adding instances in the same region, while global scaling leverages multiple regions with Azure Front Door or Traffic Manager for high availability.