Chapter 1: General Knowledge Flashcards

1
Q

What is GCP?

A

GCP is a public cloud service that offers some of the same technologies used by Google itself to deliver its own products.

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

What are 4 broad categories that the public cloud offers?

A
  1. Compute resources
  2. Storage
  3. Networking
  4. Specialised services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the basic unit of computing resources?

A

Virtual Machines

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

Describe a virtual machine, in terms of your access and other people’s access to it.

A
  1. Either pre configured or customised.
  2. I have full access to the VM. i.e. Can configure file systems, add persistent storage, patch the operating system etc.
  3. I decide who has access to it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a cluster (of VMs)?

A

When you create multiple VMs. If one of the VMs fail, the workload can be directed to other VMs.

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

What are Managed Kubernetes Clusters?

What can you specify and what does it do for you?

A
  1. ppl can focus on their application more.
  2. Makes use of containers.
  3. Can specify the number of servers to run and the containers that run on them.
  4. Can specify autoscaling parameters to optimise the number of containers running.
  5. The health of containers is monitored for you.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a container?

A

A container is like a lightweight VM that isolates processes running in one container from processes running in other containers.

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

When are containers good options?

A

When you need to run applications that depend on multiple micro services running in your environment.

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

What does serverless computing mean?

A

Doesn’t require you to set up VMs or Kubernetes clusters.

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

What are the serverless computing options on GCP?

A

App Engine and Cloud Functions.

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

What is App Engine for?

A

for applications and containers that run for extended periods of time.
i.e. website backend, point-of-sale system, custom business application.

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

What is Cloud Functions for?

A

Platform for running code in response to an event. i.e. uploading a file or adding a message to a message queue.
Works well when you need to respond to an event by running a short process coded in function or calling some other longer-running applications.

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

What are the types of Storage?

A
  1. Object storage
  2. File storage
  3. Block storage
  4. Caches
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Object storage for and some of its characteristics?

A

Highly reliable and durable storage of objects, such as images or data sets. More limited functionality than file system-based storage systems.

Each object is individually addressable, usually by URL.

Not limited by the size of disks or drives.

It is serverless, no need to create VMs and attach storage to them.

Cloud Storage.

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

What is file storage?

A

Hierarchical storage system for files.

Provides network shared file systems.

Cloud Filestore.

Suitable for applications that require operating system-like file access to files.

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

What is Block Storage for?

A

Uses a fixed-size data structure called block to organise data.

Commonly used in ephemeral and persistent disks attached to VMs.

Can install file system on top of the block storage, or run applications that access blocks directly.

Takes longer to retrieve data, maybe need a combination of object storage and block storage.

17
Q

What are Caches and its characteristics?

A

In-memory data stores that maintain fast access to data.

Memory is more expensive.

Volatile, lose data when power is lost. Hard to sync is with the system of truth.

18
Q

What does latency refer to?

A

The time it takes to retrieve data.

19
Q

Where do you need Networking?

A

need to work with networking between cloud resources and possibly with on-premise systems.

My internal GCP network is defined as a virtual private cloud, which contains all my resources that are isolated on the cloud.

20
Q

Specialised Services

A

Serverless, do not need to configure servers or clusters.

Provide a specific function.

Provide an API for the functionality of the service.

Charged based on the use of the service.

21
Q

What are some specialised services in GCP?

A

AutoML, machine learning service.

Cloud Natural Language, for analysing text.

Cloud Vision for analysing images.

Cloud Inference API, a service for computing correlations over time-series data.

22
Q

Cloud Computing vs Data Center Computing

A

rent vs own resources
good for companies that has a little spike of use, owning the data center is good for companies that can accurately predict the number of servers and stuff and use it consistently.

23
Q

Pay as you go for what you use.

A

easy to run a large bill for servers and storage if not monitoring usage.

24
Q

Elastic Resource Allocation

A

Ability to add and remove compute resources on short notice.