Develop Azure Compute Solutions Flashcards
(210 cards)
What are the azure Container Registry service tiers and what differentiates them? [5]
1) Basic
2) Standard ([4] has more storage and image throughput than basic)
3) Premium ([5] adds features such as geo-replication, supports content-trust for image-tag-signing and it supports private link with private end points)
Is an Azure Container Registry image read-only? [1]
[1] Yes, it is a read-only snapshot of a Docker-compatible container.
Can Azure container registries support Windows images, Linux images or both types of images? [1]
[1] Both are supported.
What other than container images do Azure Container Registries store? [2]
[1] Helm charts and [2] images built on the Open Container Initiative (OCI) Image Format Specification.
What do Azure Container Registry Tasks (ACR Tasks) allow for? [4]
The streamlining of [1] building, [2] testing, [3] pushing, and [4] deploying images in Azure
What are the features of Azure Container Instances? [8] + [1] updated
[1] Fast startup times – Containers can start in seconds, no need to provision a VM.
[2] Public IP connectivity and DNS – Containers can be exposed to the internet with IP and domain name.
[3] Hypervisor-level security – Container applications are as isolated as they would be in a VM.
[4] Custom sizes – Containers can scale dynamically to match resource demand for an application.
[5] Persistent storage – Containers support direct mounting of Azure file shares.
[6] Linux and Windows Containers – The same API is used to schedule both Linux and Windows containers.
[7] Co-scheduled groups - Container Instances support multi-container container groups that share host machine resources.
[8] Virtual network deployment – Container instances can be deployed into an Azure virtual network.
[9] Customer data: The ACI service stores the minimum customer data required to ensure your container groups are running as expected
What are the two common ways to deploy a multi-container group? [2]
[1] ARM template or [2] YAML file.
In Container Instances, what is a container group? [3]
A container group is a [1] collection of containers [2] that get scheduled on the same host machine. [3] The containers in a container group share a lifecycle, resources, local network, and storage volumes. It’s similar in concept to a pod in Kubernetes.
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups
How do resources such as CPUs and memory get allocated to a container group? [1]
Azure Container Instances allocates resources such as CPUs, memory, and optionally GPUs (preview) to a multi-container group [1] by adding the resource requests of the instances in the group. Taking CPU resources as an example, if you create a container group with two container instances, each requesting 1 CPU, then the container group is allocated 2 CPUs.
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups
In Container Instance networks, what two things do container groups share? [2]
[1] IP address and [2] port namespace.
In Container Instance storage, what external volumes can you specify to mount within a container group? [4]
[1] Azure file share
[2] Secret
[3] Empty directory
[4] Cloned git repo
You can map those volumes into specific paths within the individual containers in a group.
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups
In Container Instances, when are multi-container groups useful? [1]
[1] In cases where you want to divide a single functional task into a small number of container images.
Example usage could include:
A container serving a web application and a container pulling the latest content from source control.
An application container and a logging container. The logging container collects the logs and metrics output by the main application and writes them to long-term storage.
An application container and a monitoring container. The monitoring container periodically makes a request to the application to ensure that it’s running and responding correctly, and raises an alert if it’s not.
A front-end container and a back-end container. The front end might serve a web application, with the back end running a service to retrieve data.
https://learn.microsoft.com/en-us/azure/container-instances/container-instances-container-groups
What 4 things can you dynamically scale an Azure Container App on? [4]
[1] HTTP traffic
[2] Event-driven processing
[3] CPU or memory load
[4] Any Kubernetes Event-driven Autoscaling (KEDA) supported scaler
What is Kubernetes Event-driven Autoscaling (KEDA)? [4]
Kubernetes Event-driven Autoscaling (KEDA) is a single-purpose and lightweight component that [1] strives to make application autoscaling simple and is a CNCF Incubation project.
[2] It applies event-driven autoscaling to scale your application to meet demand [3] in a sustainable
[4] and cost-efficient manner with scale-to-zero.
https://learn.microsoft.com/en-us/azure/aks/keda-about
What can Azure Container Apps allow you to do? [4]
[1] Deploy API endpoints
[2] Host background processing applications
[3] Handle event-driven processing
[4] Run microservices
What is an App Service Plan?
It defines [1] a set of compute resources for a web app to run. One or more apps can be configured to run on the same computing resources.
In terms of app service plans, how does a web service web app run and scale? [5] UPDATED
[1] In free and shared tiers, an app receives CPU minutes on a shared VM instance and can’t scale out. [2] In other tiers, an app runs on all the VM instances configured in the App Service plan.
[3] If multiple apps are in the same App Service plan, they all share the same VM instances.
[4] If you have multiple deployment slots for an app, all deployment slots also run on the same VM instances.
[5] If you enable diagnostic logs, perform backups, or run WebJobs, they also use CPU cycles and memory on these VM instances.
In this way, the App Service plan is the scale unit of the App Service apps. If the plan is configured to run five VM instances, then all apps in the plan run on all five instances. If the plan is configured for autoscaling, then all apps in the plan are scaled out together based on the autoscale settings.
What if a web service web app needs more capabilities or features? [1]
[1] Your App Service Plan can be scaled up and down at any time.
Can an App Service Plan host multiple web apps? [1]
[1] Yes, it can.
Can an App Service Plan host multiple web apps? [1]
[1] Yes, it can.
Do web apps support near instant scaling as well as auto scaling? [1]
[1] Yes
Why might you separate different app service web apps into their own app service plan? [2]
[1] Because the different web apps in the app service plan will share and compete for the resources in that plan. [2] And all those app will scale together making it uneconomical.
What is Azure App Service? [4]
[1] It is a HTTP-based service for [4] hosting web application, [2] REST APIs and [3] mobile back ends.
What tiers support auto scaling in app service web apps? And what kind of scaling does it support? [2]
[1] Standard tier and above and [2] only supports scaling in/out.