2.1, 2.2, 2.3, 2.4 - Azure App Services Web, Mobile, API apps, Functions Flashcards
Which of the following programming languages are NOT supported by the Azure App Service? 1. Java 2. .NET Core 3. Ruby on Rails 4. PHP 5. Compiled Windows Binaries, exe
- Compiled Windows Binaries, exe No, you cannot upload precombined EXE applications as app services
What is the concept of Continuous Deployment?
Your code is deployed to the app services as soon as it is saved to the repository (GitHub, dropbox etc)
Does Azure App Service support Linux?
Yes
Which of the following are NOT considered part of Azure App Services?
- web apps
- mobile apps
- API apps
- functionass that run in an app service environments
- virtual machines
- web jobs
- virtual machines
VM is considered Infrastructure as a Service, not Platform as a Service.
How many applications can you deploy to a single App Service plan?
To the limit of app service plan you have chosen
What does ACU stand for?
Azure Compute Unit
Let’s say your applications are running on a Standard S1 app service plan, and you’re starting to notice performance issues with your application. You have a number of options for improving performance through scaling. Which of the following would NOT improve your application performance?
- Upgrade to a Standard S2 plan
- increase the number of instances of your application on S1 plan
- Upgrade to a Premium P1 plan
- Upgrade to a Premium P1V2 plan
Upgrade to a Premium P1 plan
The performance of the S1 plan and the P1 plan is basically the same.
You create a brand new Windows Web App, and immediately deploy a Python application into it. The deployment works, but visiting the URL doesn’t. The application works on your local machine but not in the brand new web app. What is required to get a Python app to run inside a Windows Web App?
- Windows web app does not support python, you need to use a VM
- You need to go into the web app settings and enable python since it is not enabled by default
- You need to pass the “-f” parameter during deployment in order to force the deployment to work
- Check your network security group to see if the correct port is open
You need to go into the web app settings and enable python since it is not enabled by default
How do you do to implement background scripts in the Platform as a Service model?
- Azure Automation Service
- Use a VM and setup automation
- Deploy it as a web job attached to a web app
- Azure Background Job Service
Deploy it as a web job attached to a web app
Web jobs are background jobs.
Which of the following is NOT a valid trigger for a function?
- HTTP
- BLOB Storage
- Table Storage
- Queue
Table Storage
You cannot trigger a function with table storage
Can a Function App bind to a Notification Hub to send mobile notifications as an output binding?
Yes
What is CORS - Cross-Origin Resource Sharing?
CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain.
CORS provides a secure way to allow one domain (the origin domain) to call APIs in another domain.
What security feature exists for API apps that will either allow or prevent applictions running from other domains (external web sites) from calling the API?
CORS - Cross-Origin Resource Sharing
What does an App Service Environment (ASE) provide that an App Service Plan does not provide?
Fully isolated and dedicated environment
What is the Azure Powershell (Az Module) command for creating a new Web App?
New-AzWebApp
Powershell has a verb, hyphen, AZ, and the service name as it’s standard format.