Explore Azure App Service Flashcards
What is Azure App Service used for?
a) Hosting web applications, REST APIs, and mobile back ends
b) Running desktop applications
c) Storing large amounts of data
d) Managing virtual machines
a) Hosting web applications, REST APIs, and mobile back ends
What does scaling out/in mean in Azure App Service?
a) Increasing or decreasing the number of cores
b) Increasing or decreasing the amount of RAM
c) Increasing or decreasing the number of machine instances running your web app
d) Adjusting the size of the container
c) Increasing or decreasing the number of machine instances running your web app
Which of the following is supported by Azure App Service for containerized web apps?
a) Only Windows containers
b) Only Linux containers
c) Multi-container apps and Docker Compose
d) Container images from any cloud provider
c) Multi-container apps and Docker Compose
What is a key feature of Azure App Service’s continuous integration and deployment support?
a) Manual syncing of code updates
b) Automatic syncing of code and future changes from sources like GitHub or Azure DevOps
c) Only supports integration with Azure DevOps
d) Requires additional configuration for deployment
b) Automatic syncing of code and future changes from sources like GitHub or Azure DevOps
What is a deployment slot in Azure App Service?
a) A temporary storage for testing code
b) A separate live app with its own hostname
c) A virtual machine dedicated to deployment
d) An extra container for scaling
b) A separate live app with its own hostname
What languages are supported by App Service on Linux for built-in images?
a) Only Node.js and Java
b) Node.js, Java, PHP, Python, .NET, and Ruby
c) Only PHP and Python
d) Any language supported by Docker
b) Node.js, Java, PHP, Python, .NET, and Ruby
Which pricing tier does not support App Service on Linux?
a) Standard
b) Premium
c) Shared
d) Basic
c) Shared
What benefit does using custom containers in App Service on Linux provide?
a) Lower deployment costs
b) Better disk latency for apps with heavy read-only access
c) Automatic scaling of resources
d) Easier integration with Azure DevOps
b) Better disk latency for apps with heavy read-only access
What does an App Service plan define?
a) Only the number of users for an app
b) A set of compute resources for a web app to run
c) The specific database for your app
d) The storage capacity for your app
b) A set of compute resources for a web app to run
Which pricing tiers are part of the shared compute category?
a) Basic and Premium
b) Free and Shared
c) Isolated and Standard
d) PremiumV2 and PremiumV3
b) Free and Shared
What is the primary difference between the Free/Shared and other App Service tiers?
a) Free/Shared run on dedicated Azure VMs
b) Free/Shared tiers can scale out easily
c) Free/Shared tiers run on the same VM as other customers’ apps
d) Free/Shared tiers provide network isolation
c) Free/Shared tiers run on the same VM as other customers’ apps
What happens when multiple apps are configured in the same App Service plan?
a) Each app gets its own dedicated VM instance
b) All apps share the same VM instances
c) Apps are distributed across different regions
d) Each app has its own pricing tier
b) All apps share the same VM instances
What is the advantage of isolating an app into a separate App Service plan?
a) The app can run in a different operating system
b) It allows for independent scaling and resource allocation
c) It guarantees that the app will never require scaling
d) The app automatically gets access to more storage
b) It allows for independent scaling and resource allocation
When should you consider isolating an app into a new App Service plan?
a) When the app needs more memory
b) When the app is resource-intensive or needs to scale independently
c) When the app is using too many deployment slots
d) When you want to enable diagnostic logs
b) When the app is resource-intensive or needs to scale independently
What can be done if an app needs more capabilities or features in an App Service plan?
a) Migrate the app to a different cloud provider
b) Change the pricing tier of the App Service plan
c) Remove all other apps from the App Service plan
d) Increase the size of the app’s database
b) Change the pricing tier of the App Service plan
In which scenario should you keep multiple apps in the same App Service plan?
a) When you want to save money by sharing compute resources
b) When each app needs a different operating system
c) When apps are spread across different regions
d) When you want to isolate each app’s performance
a) When you want to save money by sharing compute resources
What is automated deployment in Azure App Service?
a) A manual process for pushing code to the cloud
b) A fast, repetitive process for deploying new features with minimal impact on users
c) A backup mechanism for code in case of system failure
d) A one-time deployment process
b) A fast, repetitive process for deploying new features with minimal impact on users
Which source is NOT supported for automated deployment in Azure?
a) Azure DevOps Services
b) GitHub
c) Bitbucket
d) Dropbox
d) Dropbox
What is the purpose of deployment slots in Azure App Service?
a) To provide multiple copies of your app in different regions
b) To deploy to a staging environment and swap to production without downtime
c) To increase the number of VMs running your app
d) To allow multiple users to work on the same project
b) To deploy to a staging environment and swap to production without downtime
What command-line tool can be used to manually deploy code to an Azure web app?
a) az webapp up
b) git deploy
c) azure deploy tool
d) Azure PowerShell Manager
a) az webapp up
When should you avoid using the default latest
tag for containers in continuous deployment?
a) When deploying code updates
b) When the app runs on multiple platforms
c) When you want to track what code is deployed for easier debugging
d) When using FTP for deployment
c) When you want to track what code is deployed for easier debugging
Which manual deployment method uses a traditional approach common in many hosting environments?
a) Git
b) CLI
c) FTP/S
d) Zip deploy
c) FTP/S
How does Azure App Service minimize downtime during container deployment?
a) By deploying containers directly to production
b) By swapping deployment slots after the container is warmed up
c) By updating the image tag during the build pipeline
d) By using the ‘latest’ tag for container images
b) By swapping deployment slots after the container is warmed up
What happens when you update the deployment slot with a new container image tag?
a) The site is deleted
b) The site pulls the new image and restarts
c) The site stops working until the image is verified
d) The container is cloned to all deployment slots
b) The site pulls the new image and restarts