Compute Engine Flashcards

1
Q

Different Machine Families for Different Workloads

A
  1. General Purpose (E2, N2, N2D, N1) : Best price-performance ratio
  2. Memory Optimized (M2, M1): Ultra high memory workloads
  3. Compute Optimized (C2): Compute intensive workloads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do we reduce the number of steps in creating an VM instance and setting up a HTTP Server?How do we reduce the number of steps in creating an VM instance
and setting up a HTTP Server?

A
  1. Startup script
  2. Instance Template
  3. Custom Image
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Type of Images:

A
  1. Public Images
  2. Custom Images
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Instances are

A

Zonal (Run in a specific zone (in a specific region))

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

How do you get a constant External IP address for a VM instance?

A

Static IP Addresses

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

Install OS patches or software when an VM instance is launched.

A

Startup script

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

Installing OS patches and software at launch of VM instances increases boot up time

A

Reducing Launch Time with Custom Image

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

Preemptible VM : Short-lived cheaper (upto 80%) compute instances

A

–> Can be stopped by GCP any time (preempted) within 24 hours
–> Instances get 30 second warning (to save anything they want to save)

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

What do you do when predefined VM options are NOT appropriate for your workload?

A

Create a machine type customized to your needs (a Custom Machine Type)

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

Images are

A

Global (You can provide access to other projects - if needed)

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

Instance templates are

A

Global (Unless you use zonal resources in your templates)

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

Why are labels used in VM?

A

Labels are used to indicate environment, team, business unit etc

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

Hardening an Image

A

Customize images to your
corporate security standards

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