Quiz 2 Flashcards

1
Q

What is Borg?

A

Googles internal container orchestration framework

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

What is Kubernetes?

A

An open source version of Borg

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

What are some infrastructures that Kubernetes supports?

A

Public clouds, Private Clouds, On-premises, Bare-metal

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

What is the goal of Kubernets?

A

Manage applications

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

What is the etcd?

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

What is stored in the etcd?

A

Key value pair
Cluster data, cluster state, consensus, configurations

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

What is the kub-scheduler?

A

The main scheduler in kubernetes

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

What are the 4 basic objects in Kubernets?

A

Pod, Volume, Service, Namespace

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

What is a Pod in Kubernets?

A

The basic deployment unit

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

What does a pod contain?

A

One or multiple (different) containers

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

What is Co-scheduling?

A

When containers in a pod are scheduled together

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

Containers in a pod share what?

A

IP/Port
Disk volume

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

How do containers communicate?

A

Via localhost

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

What are the three multi-container models in pods?

A

Sidecar containers
Ambassador containers
Adapter Containers

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

What is a Sidecar container?

A

A container thats meant as a helper

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

What is an ambassador container?

A

A proxy container

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

What is an Adapter Container?

A

A standardization or common interface container

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

What is Volume?

A

A persistent storage for a pod

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

What is a Service?

A

A logical group of pods that work together

20
Q

What are some attributes of a service?

A

They have a virtual IP, port and DNS

21
Q

What are the two groups of Services?

A

Labels and slecectors

22
Q

What are Namespaces?

A

Logical slices of Kubernets clusters

23
Q

What are Labels used in?

A

Pod selection

24
Q

What are Selectors used for?

A

To select a certain section of a pod

25
What do controllers do?
Create and manage the four objects, Pods, Volumes, Services and Namespaces
26
What are the two sections of autoscaling in Kubernetes?
Pod Autoscaler and Cluster Autoscaler
27
What are the three Pod autoscalers?
Horizontal, Vertical and Multidimensional
28
What is Prometheus?
A 3rd party framework used to monitor container orchestration
29
What type of data model does Prometheus have?
A time series data model
30
What is the worse case scenario for a service provider?
An unpredictable traffic spike
31
What is the average resource utilization of cloud instances?
20-30%
32
What are the two main ideas behind serverless computing?
What if a smaller unit of computing can be used, what if the computing unit can be scaled out independently
33
Why did people make server less computing?
To reduce over provisioning, and gain a more fine grained way of provisioning resources
34
How fast is server less computing?
less than 100ms
35
What is a Cold Start?
The first execution of a serverless function
36
What is a Warm start?
When your function is already deployed and has a container running the memory
37
What is the main motivation for employing timeouts in server less computing?
To avoid wasting resources
38
What is the relationship between cold and hot starts in server less computing
39
Is serverless computing cheap or expensive?
Expensive
40
What are some good things about serverless computing?
Avoids over provisioning No infrastructure management Underlying infrastructure is hidden Scalable A true on demand cost Near unlimited computing resources
41
What are some bad things about serverless computing?
New technology Limited resources and execution duration Vendor lock in Stateless
42
What are some good use cases for serverless computing?
Reactive web service Web cralwer API GW Environment Automation Event driven processing Data Transformation
43
What are some bad use cases for server less computing?
Long running jobs Any jobs requiring a large amount of resources Stateful or Block processes
44
What are some open questions for serverless computing?
Can you write a large app with many functions What is the cost Can a single function be debuged
45