Google Cloud Platform Fundamentals - Core Infrastructure: Introducing Google Cloud Platform Flashcards

1
Q

What is Cloud Computing?

A

Cloud computing is a way of using IT which has 5 traits:

  • On-demand self-service: No human intervention to get resources
  • Broad network access: Access resources over the net from anywhere
  • Resource pooling: Provider has a big pool of resources they share with customers (economies of scale get passed on from provider to customers)
  • Rapid elasticity: Get more resources quickly as needed
  • Measured service: Pay only for what you consume or reserve
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does IaaS stand for?

A

Infrastructure as a Service

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

What does PaaS stand for?

A

Platform as a Service

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

What does SaaS stand for?

A

Software as a Service

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

How are Google Cloud Platform resources organised?

A
By zones (e.g.: europe-west-2a, europe-west-2b, europe-west-2c) 
within regions (e.g.: europe-west2)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is a GCP zone the same as a datacentre?

A

No - a given zone can be distributed across multiple buildings.

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

Why would you want your resources to be located on zones within the same region?

A

All the zones within a region have fast network connectivity between them
Distributing on multiple zones may give you more resiliency

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

What is the average round trip latency between zones within the same region?

A

Under 5ms

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

Why would you want your resources to be distributed on more than one zone?

A

To make your application more resilient/fault tolerant.

It helps protect against un-expected failure.

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

Can you run your application on more than one GCP region?

A

Yes

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

Why would you want to configure your application to run on more than one region?

A

Latency: creating resources close to the customers you want to serve reduces latency.
Resiliency: e.g.: in case a natural disaster takes region down.

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

Do all GCP resources have to be provisioned to a specific zone?

A

No - some GCP resources support being configured as “multiregion” (e.g.: Google Cloud Storage)

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

What does it mean if a GCP resource has been configured to a given multiregion?

A

It means the resource is stored redundantly
in at least two geographic locations …
…separated by at least 160 kilometers

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

Roughly how many regions does GCP have?

A

15

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

Name GCP’s Infrastructure as a Service (IaaS) offering

A

Google Compute Engine (IaaS)

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

Is per-second billing available on GCPs Infrastructure as a Service (IaaS) offering available?

A

Yes - Google was the first to implement per-second billing on it’s IaaS offering (Google Compute Engine)

17
Q

What type of workloads might benefit from fine-grained billing?

A

Ones which come in bursts as opposed to steady constant streams: only pay for the time you use rather than a whole hour.

18
Q

Name 2 GCP services that support per-second billing

A

Google Compute Engine

Google Kubernetes Engine

19
Q

Which GCP service offers “sustained use discounts”?

A

Google Compute Engine

20
Q

What is a “sustained use discounts”?

A

An automatic discount
that you get for running a virtual machine instance
for more than 25% of the billing month

21
Q

How long do you need to be running your virtual machines during a given billing month to benefit from the sustained use discounts?

A

More than 25% of the month

22
Q

How can you estimate your costs before setting up your application in GCP?

A

GCP has an online calculator to help you estimate your costs.

23
Q

What makes GCP pricing customer friendly?

A

Supports:

  • Billing in sub-hour increments
  • Customer VM types (only pay for the resources your workloads need)
  • Discounts for:
    • Sustained use (when VMs are used for > 25% of the month)
    • Committed use (pay less for steady long-term workloads)
    • Preemptible use (pay less for interuptable workloads)
24
Q

What is a preemptible workload?

A

A workload that can be interrupted mid run.

25
Q

Why choose Google Cloud Platform?

A
It enables developers to:
* Build
* Test
* Deploy
On Google's infrastructure which is:
* Highly secure
* Reliable
* Scalable
26
Q

Google Cloud Platform’s products and services can be broadly grouped into 6 categories; name them.

A
  • Compute,
  • Storage,
  • Big data,
  • Machine Learning,
  • Networking,
  • and Operations and tools
27
Q

What tools does GCP provide to help protect you from running up an unexpected big bill?

A

GCP provides four tools to help:

  • Budgets and alerts,
  • Billing export,
  • Reports,
  • and quotas.
28
Q

What can you define GCP budgets against?

A

Per Billing account

Or per GCP Project

29
Q

What are the 2 different ways you can define your GCP budget limit as?

A

You can set your budget limit as:

  • A fixed amount
  • Or tied to another metric (e.g.: a percentage of of the previous month’s spend)
30
Q

What type of value do you use to define your budget alert triggers?

A

A % (e.g.: alert me when I’ve spent 90% of my budget)

31
Q

What are the preset values for GCP budget alerts?

A

50%
90%
100%
But these values can be customised.

32
Q

Why would you use GCP Billing export?

A

Billing export lets you store detailed billing information in places where it’s easy to retrieve for more detailed analysis,

33
Q

Where might you export your GCP Billing data to so that you can analyse your spend?

A

You could export it to a Big Query dataset

Or to a Cloud storage bucket

34
Q

What is GCP Reports?

A

GCP Reports is a visual tool that allows you to monitor your expenditure

35
Q

Why would you set-up GCP quotas?

A

To protect both account owners and the GCP community as a whole
by preventing the overconsumption of resources,
whether because of error or malicious attack

36
Q

What are the 2 types of quotas you can define in GCP?

A
  • Rate quota

* Allocation quota

37
Q

At what level do quotas get defined (e.g.: resource, folder, project, organisation)?

A

At the GCP Project level

38
Q

What do rate quotas define/limit?

A

The number of calls per period of time.
The rate quota is reset after the period of time has elapsed.

For example, by default, the Kubernetes Engine service sets a quota of 1,000 calls to its API from each GCP project every 100 seconds.
After that 100 seconds, the limit is reset.

39
Q

What do allocation quotas define/limit?

A

They limit the number of resources you can have in your project

For example, by default, each GCP project has a quota, allowing it no more than five virtual private cloud networks.