GCP General Flashcards

1
Q

What is the purpose of Google Compute Engine?

A

Creating VM’s, it much like AWS EC2

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

What is the purpose of Google Cloud Storage?

A

It is object storage used for storing unstructured data like files, images, videos. It is much like AWS S3.

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

What is the purpose of Google Cloud SQL?

A

It is a fully-managed MySQL/PostgresSQL database service.

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

What is the purpose of Google App Engine?

A

It is a PaaS platform for running cloud native, highly available and scalable application, it is a PAAS much like AWS Beanstalk.

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

What is the purpose of Google Cloud Kubernetes engine?

A

It is a managed Kuberentes service for running container-based applications.

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

What is Google Cloud Functions?

A

It is a function as a service. (Lambda)

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

What is the main unit in GCP used to group resources?

A

Project

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

Is a project tied to a region?

A

No, it is independent of the region.

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

If you run an application for 1Hr and 5 min and shut it down, how long are you billed for?

A

5min, GCP is a per min billed platform. AWS and Azure are per hour pricing.

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

To receive discounts on pricing do you have to make an upfront commitment like you do with Azure and AWS using reserved instances?

A

No, you automatically receive a discount based on sustained usage by aggregating the instance usage over the month.

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

When I store data on GCP do I need to enable encryption for data at rest and in transit?

A

No, all data in GCP is automatically encrypted for both transit and at rest.

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

What are the big category areas in GCP?

A

Compute

  • Compute Engine
  • Container Engine
  • Cloud App engine
  • Cloud Functions

Storage

  • Cloud storage (Object storage)
  • Bigtable (Wide column DB)
  • Cloud SQL (MySQL and Postgres)
  • Cloud Datastore (Document DB)
  • Spanner (SQL like DB)

Big data

  • Pub/Sub (High performance messaging)
  • Dataflow (ETL)
  • BigQuery (Data wherehouse, SQL query)
  • Dataproc
  • Datalab
Machine Learning
-Vision API
Machine Learning
Speech API
Translate API
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For GCP what is the structure hierarchy?

A

Orgnizatiuons->Folders->Projects-Resources

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

For GCP what is the hierarchy parent of a resource?

A

Project

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

For GCP what is the hierarchy parent of a project?

A

Folder

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

Can I attach a Project to two organizations?

A

No, an organization can only be attached to a single organization.

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

Is the project a core organizational component of GCP?

A

Yes, the project is the core hierarchy component used for,

  • Permission
  • Billing
  • API’s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What are the 3 projetc attributes?

A
  • Frendly name : ‘keith-project-01’
  • Project ID: also known as an app ID
  • Project number: Used to identify resources belong to a project
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Can you change the project frendly name?

A

Yes

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

Can you change the project frendly name?

A

No

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

Can you have duplicate projetc name on GCP?

A

No the name has to be unique.

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

Where cna I quickely find my projetc ID?

A

When you open a projetc in GCP portal, the project panel is in the top righ. It contanns,

  • Frendly name
  • Project ID
23
Q

Can you rename a GCP projetc?

A

Yes

24
Q

When you shutdown a project can it be stgopped with in 30days.

A

Yes, the billing owner will be notified and has the poition to stop the shutdown.

25
Q

When you shutdown a GCP project, whne will the project be deleted and gone for ever?

A

30day from shutdown.

26
Q

How can i restore a projetc form the console screen?

A

In IAM -> Managed resources -> there is a link resources pending deletion.

27
Q

In GCP what is IAS?

A

IAS is identity and acces managment, it is like IAM in AWS.

28
Q

What is the GCP hierarchy?

A

Organizations
Folders
Projects
Resources

29
Q

What is a GCP organization?

A

The organization represents a company.

30
Q

Is the GCP organization a root node?

A

Yes, it is the start of the hierarchy.

31
Q

What are the 3 types of interaction with GCP?

A

GCP web portal, CLI and API.

32
Q

What are gcloud, gsutil, bq?

A

gcloud is many common GCP tasks
gsutil is google cloud storage
bq is goodle cloud big query

33
Q

What format does the API use?

A

JSON

34
Q

What authorization and authentication does the GCP API use?

A

OAUTH 2.0

35
Q

If you were polling the GCP often and started to receive errors what could it be?

A

API has a daily limit.

36
Q

What is the GCP cloud shell?

A

It is a shell available in the CCP portal, it is a Linux machine with 5GB persistent storage. The home directory is where data is preserved.

37
Q

What is the format of the GCLOUD command?

A

gcloud compute instance create

gcloud group group command args

38
Q

How can you call an AP{I to exercise?

A

Call google API explorer, this is a GCP tool enabling you to call all the GCP API from a web console.

39
Q

What is the name of the service for running VM’s?

A

Google Compute Engine

40
Q

What is the name of the service for running applications?

A

Google app engine

41
Q

What is the name of the service for running containers?

A

Google container engine

42
Q

What is the name of the Google service for running function?

A

Google cloud functions

43
Q

What is google compute engine used for?

A

Running instances

44
Q

What is google container engine used for?

A

Running Kubernetes type containers.

45
Q

What is google app engine used for?

A

It is a PaaS for running apps like Python, Go, PHP, Java, .NET Core, Docker Image

46
Q

What is google cloud functions used for?

A

It’s functions as a service and is restricted to running node js or java. It is triggered by an event.

47
Q

What is a label and where is it used?

A

A label is a tag and is used to group and filter resources.

48
Q

What is a fast and easy way to grab an unknown CLI command?

A

Using the web portal you have a way to get what the gcloud CLI command would look like.

49
Q

What is the URL for the google login?

A

console.cloud.google.com

50
Q

Is a zone equal to a physical data center?

A

No, the are fault tolerant physical units, we can think of zones as existing in multiple data centers where each data center has multiple independent zones.

51
Q

Are zones separated by more than 160 KM

A

No, zones exist in more then one physical data center in a region, with each data center having multiple zones.

52
Q

When resources store data in a multi region, what is the expected minimum distance between regions?

A

Not less then 160 KM

53
Q

For a project can you turn off and on the GCP API’s per service?;

A

Yes, you can say turn off the API for Compute Engine.