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
Q

What do controllers do?

A

Create and manage the four objects, Pods, Volumes, Services and Namespaces

26
Q

What are the two sections of autoscaling in Kubernetes?

A

Pod Autoscaler and Cluster Autoscaler

27
Q

What are the three Pod autoscalers?

A

Horizontal, Vertical and Multidimensional

28
Q

What is Prometheus?

A

A 3rd party framework used to monitor container orchestration

29
Q

What type of data model does Prometheus have?

A

A time series data model

30
Q

What is the worse case scenario for a service provider?

A

An unpredictable traffic spike

31
Q

What is the average resource utilization of cloud instances?

A

20-30%

32
Q

What are the two main ideas behind serverless computing?

A

What if a smaller unit of computing can be used, what if the computing unit can be scaled out independently

33
Q

Why did people make server less computing?

A

To reduce over provisioning, and gain a more fine grained way of provisioning resources

34
Q

How fast is server less computing?

A

less than 100ms

35
Q

What is a Cold Start?

A

The first execution of a serverless function

36
Q

What is a Warm start?

A

When your function is already deployed and has a container running the memory

37
Q

What is the main motivation for employing timeouts in server less computing?

A

To avoid wasting resources

38
Q

What is the relationship between cold and hot starts in server less computing

A
39
Q

Is serverless computing cheap or expensive?

A

Expensive

40
Q

What are some good things about serverless computing?

A

Avoids over provisioning
No infrastructure management
Underlying infrastructure is hidden
Scalable
A true on demand cost
Near unlimited computing resources

41
Q

What are some bad things about serverless computing?

A

New technology
Limited resources and execution duration
Vendor lock in
Stateless

42
Q

What are some good use cases for serverless computing?

A

Reactive web service
Web cralwer
API GW
Environment Automation
Event driven processing
Data Transformation

43
Q

What are some bad use cases for server less computing?

A

Long running jobs
Any jobs requiring a large amount of resources
Stateful or Block processes

44
Q

What are some open questions for serverless computing?

A

Can you write a large app with many functions
What is the cost
Can a single function be debuged

45
Q
A