Cloud computing theory and practice Flashcards

Summarize the content of the homonym book

1
Q

5 characteristic of cloud computing

A

On demand self service access
Broad network access
resource pooling
rapid elasticity
measured service

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

Entities involved in cloud computing

A

customer
provider
carrier (ISP)
broker (manage use performance and delivery of cloud services)
auditor (performs security audit)

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

DBaaS

A

Database as a service, db are stored in the cloud provider infrastructure, provides scalability self service

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

IaC

A

Infrastructure as code, a way to automate cloud infrastructure through code, most used tools are ansible and terraform

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

S3

A

Simple storage system, service from AWS, stores data in objects inside buckets

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

EBS

A

Elastic Block store, provide storage volumes to EC2 instances, an instance can have more volumes but not the opposite

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

Lambda

A

AWS service that provide serverless execution of code on demand

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

Availability zones

A

Datacenter with 50 000 to 80 000 servers, each region has at least 2 AZ

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

WSC (Warehouse scale computer)

A

Computers in cloud provider’s datacentes composed by cells and racks, WSC can be managed through Borg (Cluster management system)

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

Borg

A

Is a cluster management system for WSC, it include a Borgmaster (controller) and Borglets (controlled machines)

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

Kubernetes

A

it’s a cluster manager for containers, includes a master server that manage workload on minions or workers

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

Kubernetes scheduler

A

It allows management of workers resources by the master server

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

Kubernetes Pods

A

Are groups of container used as a unit of scheduling, deployment and replication, pods allow multiple containers to run an application

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

2 types of VM

A

Process VM - executed for a specific process once terminated the VM will be stopped
System VM - VM with an OS and many processes

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

Hybrid hypervisor

A

hypervisor that shares the hardware with another os

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

QEMU

A

QEMU can virtualize or emulate any components on a physical machine

17
Q

Virtualization vs emulation

A

1) virtualization is based on an hypervisor that abstract the hardware so that it can be shared between multiple VMs, the VMs run on a portion of the hardware
2) Emulation is the process with which you alterate the hardware via a software to make a program that didn’t support the hardware run on it

18
Q

QEMU 4 modes

A
  • usermdoe emulation for code compilation and debugging
  • system emulation supports VMs on a physical emulated system
  • KVM hosting supports deployment and migration of KVM images
  • Xen hosting emulates the hardware and allows execution of VMs with Xen
19
Q

KVM

A

Kernel based virtual machine, is an hypervisor buildt with linux kernel

20
Q

KVM components

A

KVM-loadable module provides management of the hardware
KVM platform emulation provided by a version of QEMU

21
Q

KVM advantages

A

Open source
Performance
Cross-platform
Simplicity

22
Q

Paravirtualization

A

The guest OS knows it’s running on a virtualized environment that allows VMs to communicate with the hypervisor via API, that results in better performance

23
Q

Xen

A

Hypervisor that use QEMU as device emulator and supports paravirtualization

24
Q

Nested virtualization

A

situation where an hypervisor is a guest OS of another hypervisor

25
Q

SAN

A

Storage Area network, interconnect server with storage that uses fiber channel

26
Q

Fiber channel

A

Protocol based on 7 layers:
- Physical layer
- Transmission protocol (encode/deocde data)
- Signaling protocol (framing and flow control)
- Common services layer
- Protocol mapping layer
Fiber channel uses ID instead of a mac address

27
Q

CDN (Content delivery network)

A

Offer better performance with replication and caching of data on servers, 2 types of servers:
- Origin servers -> data updated by the content provider
- Replica servers -> cache data and serve as data source for clients

28
Q

Storage models

A

models that describe the layout of a data structure in a physical storage, 2 commonly used models:
- Journal
- Cell storage

29
Q

Journal vs cell storage models

A

Cell storage divide the storage in same size cells and objects to store are the same size of cells
Journal storage consists of a manager and a cell storage where the entire history of a variable is stored instead of just the current value

30
Q

DBMS (Database management system)

A

system that can manage the database, it supports a query language that is a dedicated programming language for interacting with databases

31
Q

NoSQL

A

Is a DBMS that doesn’t rely only on SQL, is mostly useful with big quantity of data that don’t need a relational model

32
Q

NoSQL databases type

A

Document store -> memorize documents in JSON, XML or BSON formats
Key-Value
Colummn-family -> stores tables with many rows and few columns
Graph -> graph datastructures used to represent and memorize data

33
Q

Distributed File System (DFS)

A

It’s a way to group data logically in the same place even if distributed across the network. An example of DFS is NFS.

34
Q

NFS (Network file system)

A

DFS based on UNIX, has 3 major characteristic:
- Layered design flexibility
- Hierarchical design for scalability (files in direcotries)
- Systematic design with metadata (file owners, access rights)

35
Q

Stateless servers

A

Servers that don’t require a connection to be made but respond directly do clients, client requests are seen as independent transactions