Compute Engine Flashcards

1
Q

What is Compute Engine?

A

Compute Engine is a scalable and flexible virtual machine service that offers computing capabilities in the cloud, with options to utilize certain CPUs, GPUs, or Cloud TPUs.

Source - https://cloud.google.com/terms/services

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

What is a Cloud TPU?

A

A Cloud Tensor Processing Unit. It is used to speed up ML workloads.

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

Can you store metadata onn Compute Engine instaces?

A

No. Though you can specific metadata for a VM, the metadata is stored on a metadata server that the instance automatically has access to.

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

What wold you use Comute Engine metadata for?

A

Common variable between instances (Database IP)

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

Is Compute Engine VM Metadata secure?

A

No. Any process that can query the metadata url will have access to the metadata values, so storing sensitive information there is not advised.

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

What are the different types of Metadata?

A

Project (with subtypes of Project-wide & zonal)

Instance metadata

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

How would you access VMmetadata?

A

By using one of the following directories:

For project-wide: http://metadata.google.internal/computerMetadats/v1/project/

For project zonal: http://metadata.google.internal/computerMetadats/v1/instance/

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

Can you create nested VM Metadata directories?

A

Yes, by adding a trailing slash to the metadata’s key name.

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

What is a managed instance Group?

A

A managed instance group (MIG) creates managed instances according to configurations set by the you. Each managed instance represented the intended state of a VM.

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