Implement IaaS, App Service Apps Flashcards
What is Azure App Service
Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. This is PaaS
Which languages are supported by Azure App Service
You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python.
True or False? Azure App Service Applications can scale on Linux and Windows Environemnts
True
How to Enable application logging on Windows
In Azure Portal, select the App Service and select App Service logs. Select on for Application Logging (Filesystem) or Application Logging (Blob)
What is the difference between Application Logging (Filesystem) and Application Logging (Blob) and what is the usage scope for each
The Filesystem option is for temporary debugging purposes, and turns itself off in 12 hours. The Blob option is for long-term logging, and needs a blob storage container to write logs to.
In General, how to enable Logs for App Services
In Portal, Select the App and scroll down to Monitoring Sections, Find Logs and App Service Logs
https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs?WT.mc_id=thomasmaurer-blog-thmaure
What types of Web apps can save logs to Azure Blob storage?
- Node.js apps on Windows.
- Node.js apps on Linux.
- ASP.NET Core apps on Linux.
Node.js apps on Windows.
Any app that runs on Windows can save logs to Blob storage.
Why is file system logging automatically turned off after 12 hours?
- To optimize app performance.
- So that storage space can be reused.
- To enable Web apps to reinstantiate on different server instances, with different file system storage.
To optimize app performance.
Excessive logging can potentially cause app performance to degrade
True Or False? Only Windows Apps can write logs to Azure Blob Storage
True
What is the general syntax for Azure CLI regarding App Service Logging
‘az webapp log config’ and
az webapp log show
Methods for retrieving log files?
Download via Azure CLI, Kudu or Azure Storage Explorer
Supported Formats for Azure App Service Deployment
WAR or ZIP File
Whats the limit for Azure App Service File Deployment (Size)
2 GB / 2048 MB
All valid Deployment Methods for App Services?
- Run from zip package (package gets mounted)
- Deploy zip or war (using the Kudu API with a POST message)
- Deploy via FTP or FTPS
- Sync with OneDrive or DropBox (cloud sync)
- Deploy continuously (from Github, Bitbucket, or Azure repos)
- Deploy via container registry
- Deploy from build provider (like Github Actions or Azure Pipelines)
- Deploy via ARM template (from Visual Studio)
All the officially supported deployment methods make changes to the files in the /home/site/wwwroot folder of your app.
Where do offical deployment methods store there data?
/home/site/wwwroot
The /wwwroot directory is a mounted storage location shared by all instances of your web app
What Is Azure Pipelines?
Azure Pipelines combines continuous integration (CI) and continuous delivery (CD) to test and build your code and ship it to any target.
What is a YAML file
A yaml file contains instructions for Azure Pipelines. Syntax is more like docker syntax
What is a typical file name for YAML file?
azure-pipelines.yaml
True or False? Web App Deploy Task can be used to deploy a Azure Web App after Build through yaml
True
What do all build-in Azure Tasks require for Azure Pipelines?
An Azure Service Connection
What is a Azure Web App Deploy task
Something used in Azure Pipelines to deploy a Web App after build
What kind of microservices does Azure App Services Provide
Web Apps, Mobile Back Ends and API apps
What is azuredeploy.json used for and how to get it?
Its a ARM (Azure Resource Manager) Template file that defines how to dpeloy resources. Used in Microservices tutorial
What are Deployment Slots in Azure App Services
A Slot where a instance of the app is running. For example good for staging and live environment.
True or false: Azure App service can automatically scale your web application to meet traffic demand?
True
Which of the following is not a valid automated deployment source?
GitHub
Azure DevOps
SharePoint
Dropbox
Sharepoint
True or False? Its possible to deploy a web app to azure app services by using an container image from Container Registry
True
True or False? In DevOps, repeatability and predictability are keys to any successful deployment of a high-scale application composed of microservices
True
How to configure Web Apps?
There is a section in the portal for Application settings and Connection Strings.
True or False? Web Apps Settings are provided as ENVIRONMENT VARIABLES
True
How to replace connection strings when deployed to Azure
web.config connection strings will be replaced by name when provided in Azure Portal
True Or False? App Service Domains are Free of charge
False