Google Cloud Platform Flashcards

1
Q

What does “Compute” refer to in cloud technology?

A

Compute

Compute refers to cloud resources, typically server CPUs, to run your code in the cloud.

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

What are “Load Balancers”?

A

Load Balancers

Load balancers redirect user traffic to different compute instances, so an overall system can take on more than one server’s capacity.

This decreases the stress on a single server and increases a system’s total capacity. This helps improve responsiveness and availability of applications.

Because load balancer can redirect traffic, it also prevents a single server from becoming a single point of failure.

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

Load balancers can redirect traffic to their many servers using different strategies. Name a few of these.

A

Round Robin

Least Connections

Least Response

Least Bandwidth

Chained Failover

IP Hash

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

Discuss “Serverless Compute” and provide an example

A

Serverless Compute

Event-driven, serverless computing runs stand-alone on a cloud provider’s servers without managing servers. In a way, this is a throwback to the mainframe model where many clients would submit code to be run, but not have control over when exactly the mainframe would run their code.

There’s no need to worry about hardware or scaling. Providers charge per execution, based on actual computing resources used. When analyzed at a per unit of time scale, serverless computing is usually more expensive than dedicated server resources.

A common use case of serverless computing is when an application’s traffic pattern is irregular or unstable. For example, look at an NFL scoring system. Users tend to look up the score of a game most often when the game is taking place. Having a dedicated server running on most non-game days is not worth the money. In turn, serverless computing would be a good opportunity to only compute information when it is requested.

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

What are “Containers”?

A

Containers

Containers allow your code to run within an isolated environment, making your code and compute instances machine agnostic. Through this, containers provide portability and security.

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

What is Object/Block Storage and what is the benefit to a user?

A

Object/Block Storage

Object and block storage systems allow clients to store immense files on the cloud without having to worry about maintaining the file or a file system. Cloud providers internally store the file and generate a unique identifier for the object, which is later used to retrieve the object from the cloud provider.

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

What is Orchestration Service?

A

Orchestration Service

Orchestration services allow for the rapid progression and stable support of web applications. These services automatically manage compute and storage services for your application, scaling up and down depending on user growth.

For example, AWS offers Elastic BeanStalk, which provides automatic service management for an EC2, S3, ELB, etc. Orchestration services can remove significant overhead and boilerplate work for an engineering team.

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

What are CDNs?

A

Content Delivery Network (CDN)

CDNs are a network of servers that provide faster access to internet content; CDNs are geographically distributed.

For example, rather than load images and other files from a server in Seattle, it makes more sense for a user in India to load those files from a CDN that’s closest to them, such as Indonesia .

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

Advantages of a CDN

A

Advantages of a CDN

Decrease application server load
Deliver content more quickly
Personalize content based on the user’s location

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

Disadvantages of a CDN

A

Disadvantages of a CDN

Increase infrastructure cost
Adds deployment complexity
Misconfigured or misplaced CDNs can lead to lower RPS

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