Week 7 - Cloud Computing Flashcards

1
Q

Many enterprises do not own the computing infrastructure that provides their staging/production environment. What do they do instead?

A

Rent it in “the cloud”

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

What 5 things does cloud architecture provide?

A

Broad network access
On-demand self service
Measured service
Rapid elasticity
Resource pooling

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

Cloud architecture provides broad network access. What does this mean?

A

The cloud is available over standard networks, including Virtual Private Networks (VPNs)

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

Cloud architecture provides on-demand self service. What does this mean?

A

Customers can easily acquire virtual machines, usually on a “drug-dealer” (free go) pricing model

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

Cloud architecture provides measured service. What does this mean?

A

The provider monitors and measures usage for optimisation and billing purposes

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

Cloud architecture provides rapid elasticity. What does this mean?

A

Customers can easily acquire or release virtual machines in response to changing demand

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

Cloud architecture provides resource pooling. What does this mean?

A

Providers assign virtual machines to physical ones, so achieving multitenancy

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

How does cloud computing offer more assurance than on-premises computing?

A

Staffed by top people
Built with the best kit
Hardened by continual hacking

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

What have been the two phases of cloud computing?

A

Serverful computing and serverless computing

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

What 3 things does serverful computing consider?

A

Serverful models, serverful implementation, the serverful cost model

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

Name 3 models of serverful computing

A

Infrastructure-as-a-Service (IaaS)

Platform-as-a-Service (PaaS)

Software-as-a-Service (SaaS)

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

Describe Infrastructure-as-a-Service (IaaS).

A

Cloud provider gives access to bare servers

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

Describe Platform-as-a-Service (PaaS).

A

Cloud provider gives access to servers with operating systems and tools

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

Describe Software-as-a-Service (SaaS).

A

Cloud provider gives access to applications on a subscription basis

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

What do implementations of serverful computing make use of?

A

Multi-tenancy

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

Multi-tenancy is implemented by virtualisation. What does this process use?

A

Virtual machines, containers, and orchestration and version control

17
Q

How are virtual machines run?

A

On a physical machine by a hypervisor which maps virtual resources to physical ones, ensuring that they are shared fairly

18
Q

How are containers run?

A

On a physical machine by the operating machine, which maps container resources to physical ones, ensuring that they are shared fairly

19
Q

What is the serverful cost model?

A

Charging customers for resource allocation on a rental basis

20
Q

Name two ways to implement serverful microservices.

A

Run a single microservice on a single virtual machine

Run a single microservice in a single container

21
Q

What does serverless computing consider?

A

Serverless models, serverless implementation, the serverless cost model

22
Q

Name 2 serverless computing models.

A

Backend-as-a-Service (BaaS)

Function-as-a-Service (FaaS)

23
Q

Describe Backend-as-a-Service (BaaS).

A

Cloud provider gives access to services such as authentication or database storage

24
Q

Describe Function-as-a-Service (FaaS).

A

Cloud provider runs custom code in response to requests or events

25
Q

What do implementations of serverless computing typically make use of?

A

“Hidden” containers to run custom function code

26
Q

What does serverless computing mean?

A

Most operational concerns are left to the cloud provider

27
Q

What is the serverless cost model?

A

Charges customers for execution time on a pay-as-you-go basis

28
Q

Give two ways to implement a serverless microservice.

A

Map a single microservice instance to a single function instance

Map a single microservice instance to multiple function instances

29
Q

What problems might mapping a single microservice instance to multiple function instances cause, and how can these be resolved?

A

Maintenance problems (keeping track of instances) and performance problems (keeping “warm” instances)

Can be resolved with an API gateway acting as a proxy through which HTTP requests and responses are used to make function calls and to return function results

30
Q

What does the Infrastructure-as-Code (IaC) approach do?

A

Configures (virtual) infrastructure using executable code, which can be stored in version control, with all the usual benefits