GCP Compute Engine Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Zone

A

A data center which is inside a region. A region can have multiple zones in order to achieve high availability of the region as well as fault tolerant

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

Region

A

GCP has more than 20 regions globally. The purpose of the regions is to support high availability as well as fault tolerant and adhering to the government policy and regulations

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

Compute Engine

A

It is one of the GCP services where customers are able to create their own virtual machines and hosted them in a region.

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

Machine Family

A

Machine family consists of three types which is

1) General purpose
2) Compute optimized
3) Memory optimized

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

Machine Types

A

Giving the specifications of the VM which is the vCPU, memory.

example : E1-standards-2

E1 is machine family
Standards is type of workload suitable for the machine
2 is the number of vCPU

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

Internal IP

A

Also called private IP. IP which is not exposed to the internet and only reachable via private network.
Private IP can have same value by different private network

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

External IP

A

Known as Public IP as well. It is exposed to the internet. This type of IP is not constant and will be released if the VM is shutdown or reboot.

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

Static IP

A

Static IP need to be reserved and once reserved, we can attach it directly to the VM. This static IP can replace the external IP and it will not be release even the VM is shutdown. However, static IP will be continuously charged even though it is not attached to a VM.

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

Startup script

A

A startup script is used when a VM is needed to be bootstrapped where all the OS patches and software will be installed when the VM is created.

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

Instance template

A

Instance template is another way to create a VM. An instance template can be created from a snapshot, disk, image, and also from a file in Cloud Storage. An instance template can create a VM or a group of VM call instance groups

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

Image

A

An image is a copy of a VM OS and configuration. Have two types which is public image and custom image.
It can be used to create another VM and can be shared across different GCP projects.

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

General purpose instance family

A

Best for price: performance ratio. Used for dev environments, database, web and application server

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

Compute optimized instance family

A

Compute intensive application. Used for gaming application

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

Memory optimized instance family

A

For high memory workloads. For in-memory large database and in-memory analytics

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

Sustained use discount

A

Discount obtained when VM is used according to the workload level during the billing month. The higher the usage, the bigger the discount

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

Committed use discount

A

Discount given by GCP if the VM is used with a dedicated time duration which is between 1 to 3 years time duration. Choose this when the workload is predictable

17
Q

Preemptible VM

A

Obtain up until 80% discount however the VM is only available for 24 hours or less. Can be terminated by GCP anytime depending on the available resources. Choose this type of VM when the workload is not important.

18
Q

Live Migration

A

VM is set to be automatically migrated to other host when there is hardware maintenance on GCP side to prevent system application down

19
Q

Availability Policy

A

There is two choice whether to choose
1) On host maintenance
2) Auto restart
However, VM with GPU can only be terminated. Preemptible VM is not applicable for this choice

20
Q

Sole Tenancy

A

We pick a dedicated hardware in the DC just for our resources to allocated on the specific hardware bench

21
Q

On host maintenance

A

Two choice:

1) Migration
2) Terminate

For VM with GPU, the VM can only be terminated.

22
Q

gcloud init

A

Used to initialize the configuration of the GCP project

23
Q

gcloud config set

A

To set the configuration of the project by stating property of the configuration

24
Q

gcloud config configuration

A

To manage different configurations for the project

25
Q

gcloud config list

A

List out all configurations associated to the project