Skill 3.4 Create and Configure Container Flashcards

1
Q

Describe containers

A

Allow you to package an application and all its dependencies into a compresses package called an image. A container runtime can then be installed on your computer and poitn to the image in the repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why doesn’t a container need an entire operating system

A

because it is used the kernel of the OS which is why you can’t run a linux based kernal on a Windows computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe Azure Container instances(ACI)

A

Easy to create containers.
Point ACI to a repository and it creates the container for you. it doesn’t require that you pay for a VM, ACI is serverless and can be access using a public IP address or a DNS name label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe Azure Kubernetes Service

A

A cloud-based implementation of the popular container orchestration service Kubernetes. Kubernetes runs on top of the containers at runtime, and it can help you scale and mange a containerized deployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a convenient way to create a container for ACI

A

Azure Cloud Shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can containers be accessed

A

Over the internet on port 80

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a container group

A

top-level object in ACI, and it represents all the containers running on a particular computer. Multiple containers being used in a container group share the same URL so you will need to specify a seperate port for each container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are multi-container groups supported on

A

ONly supported on Linux.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the largest image you can host in ACI

A

15GB while the container cannot use more then 4 cpu cores and 16 gb of memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What container properties require a delete to change

A

OS Type
CPU, memory, or GPU resources
Restart policy
Network profile
Availability Zone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Azure Kubernetes Service (AKS)

A

allows for orchestration that can help you to manage the complexity of a multi-container deployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the resource group for the AKS Cluster

A

The group that you specify when you create a cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How many pods can use an Azure Disk

A

one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you make sure that the lifecycle of your data is not tied to the existence of your pods

A

By using persistent storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the command line tool to manaually scale an AKS cluste

A

kubectl command line tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the autoscaler components of AKS

A

Horizontal Pod Autoscaler – Scales to a maximum of five pods and minimum of two pods
Cluster Autoscaler – Scales you node clusters based on the number of pending pods

17
Q

AKS options for networking

A

Kubernet – Called basic networking. Each node in the cluster gets an IP address from the VNet subnet where the cluster is deployed. Each pod within the cluster gets an internal IP address from an address space explicitly set aside for the pods. Uses NAT to establish connectiosn to other Azure Resources.
Azure Container Networking interface – Called Advanced networking allows both the pods and nodes to receive an IP address from the subnet

18
Q

What is a kubernetes service

A

sits between incoming network traffic adn one or more identical pods.

19
Q

What are Kubernetes Service types

A

Cluster IP
Nodeport
LoadBalancer
ExternalName

20
Q

What is a cluster IP kubernetes service type

A

Provides and internal IP address that can only be used within the AKS cluster

21
Q

Describe a NodePort Service Type

A

Provides a port mapping on the node, allowing network traffic to reach teh node using the specified port

22
Q

Describe a LoadBalancer Kubernetes service connection type

A

Provides an Azure Load Balancer adn an external UP address to allow acess to teh node as per load balancing that are created.

23
Q

Describe ExternalName Kubernetes Service Type

A

Provides a DNS entry for AKS nodes

24
Q

What is the command to check for aks updates

A

Az aks get-updates

25
Q

Where are container images located

A

Inside of a image repository

26
Q

What is used to download the image and then extract it to create a container that will host the image in a isolated environment

A

Container runtime image

27
Q

Horizontal Autoscaler

A

Scales to a maximum of five pods and a minimum of two

28
Q

Azure Autoscaling component that scales to a max of five pods and minumum of two

A

Horizontal Pod Autoscaler

29
Q

Cluster Autoscaler

A

Scales based in the number of pending pods

30
Q

Azure Autoscaling component that scales based on the number of pending pods

A

Cluster Autoscaler