Chapter 2: Computing Services Flashcards

1
Q

What are GCP’s services in 7 categories?

A
  1. Computing resources
  2. Storage resources
  3. Databases
  4. Networking services
  5. Identity management and security
  6. Development tools
  7. Management tools
  8. Specialised services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the engines used in Computing resources?

A
  1. Compute Engine
  2. Kubernetes Engine
  3. App Engine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Compute Engine?

A

A service that allows users to create VMs. attack persistent storage to those VMs, and make use of other GCP services such as Cloud Storage.

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

What do VMs run within?

A

VMs run within a low-level service called a hypervisor. GCP uses a security hardened version of the KVM hypervisor. (Kernel Virtual Machine).

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

What are hypervisors? And how do they run VMs as instances of operating systems?

A

Low level service that runs on an operating system like Linux or Windows server.
Can run multiple operating systems (guest operating systems), while keeping the activities of each isolated from other guest operating systems.

Each instance of an executing guest operating system is a VM instance.

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

What do VMs have as parameters?

A
  1. The operating system
  2. Size of persistent storage
  3. Adding GPUs for compute-intensive operations like ML.
  4. Making the VM preemptible. (charged significantly less than normal, but could be shut down any time by Google)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Kubernetes Engine for?

A

Allows users to easily run containerised applications on a cluster of servers.

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

How do containers run?

A

Uses features of the host operating system. No need for a hypervisor.

The host operating system maintains isolation.

A container manager is used. Containers make use of the host operating system functionality, while the operating system and container manager ensure isolation between the running containers.

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

What is App Engine? And what are the 2 types of App Engine?

A

It’s GCP’s PaaS offering.

Serverless.

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

What can do you with a standard App Engine environment?

A

run applications in a language-specific sandbox, so that the application is isolated from the underlying server’s operating system as well as other apps running.

Suited for apps written in one of the supported languages and do not need operating system packages or other compiled software that would have to be installed when running the code.

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

What can do you with a flexible App Engine environment?

A

Run Docker containers in the App Engine environment.

Works well in cases where I have application code that need libraries or other third-party software installed.

Gives more flexibility, including the ability to work with background processes and write to local disk.

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

What is Cloud Functions?

A

lightweight computing option that is well suited to event driven processing. Not designed to execute long-running code.

Serverless.

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

What is Cloud Storage?

A

Object storage system.

Objects can be any type of file or binary large object, organised into buckets.

Cloud Storage is NOT a file-system. It is a service that receives, stores and retrieves files or objects from a distributed storage system.

Accessible from VM.

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

What are Persistent Disks?

A

Storage service attached to VMs in Compute Engine or Kubernetes Engine.

Provides block storage.

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

What are SSDs and HDDs?

A

solid-state drives
hard disk drives

SSDs are used for low latency apps, more expensive than HDDs.

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

What is Cloud Storage for Firebase for?

A

For mobile app development.

cloud object storage.

support uploads and downloads from mobile devices with possibly unreliable network connections.

17
Q

What is Cloud Filestore?

A

access to a file system housed on network-attached storage.

Provides a shared file system for use with Compute Engine and Kubernetes Engine.

Provides high numbers of input-output operations per second and variable storage capacity.

18
Q

What databases types does GCP provide?

A

relational databases and NoSQL databases.

Some are serverless and some not.

Some support atomic transactions, some are better with apps with less stringent consistency and transaction requirements.

19
Q

What are the databases provided by GCP? (6 of them)

A
  1. Cloud SQL
  2. Cloud Bigtable
  3. Cloud Spanner
  4. Cloud Datastore
  5. Cloud Memorystore
  6. Cloud Firestore
20
Q

What is Cloud SQL?

A

Managed relational database service.

Allows users to set up MySQL or PostGreSQL databases on VMs without having to attend to database administration tasks (such as backing up databases or patching database software)

21
Q

What are relational databases well suited to? And give one example.

A

Applications with relatively consistent data structure requirements.

e.g. A banking database may track account numbers, customer names, addresses, and so on. All records in the database will need the same information, making it a good fit for a relational database.

22
Q

What is Cloud Bigtable?

A

Used for petabyte-scale applications that can manage up to billions of rows and thousands of columns.

Based on a NoSQL model known as a wide-column data model.

Suited for applications that require low-latency write and read operations. Designed to support millions of operations per second.

Bigtable integrates with other Google Cloud services as well as open source tools for data processing etc.

23
Q

What is Cloud Spanner?

A

Globally distributed relational database that combines the key benefits of relational databases:

such as strong consistency and transactions.

Ability to scale horizontally like a NoSQL database.

high availability database, good option for enterprise apps that demand scalable, highly available relational database services.

24
Q

What is Datastore?

A

NoSQL document database.

Uses the concept of a document as the basic building block.

Documents allow for flexible schemas, e.g. a document about a book may have key-value pairs listing author, title and date.

Useful when the app must accommodate a range of attributes.

Although it is a NoSQL database, it supports transactions, indexes and SQL-like queries.

suited for apps that demand high scalability and structured data and do not always need strong consistency when reading data.

25
Q

What is consistency when reading data?

A

Consistency in database systems refers to the requirement that any given database transaction must change affected data only in allowed ways. Any data written to the database must be valid according to all defined rules.

26
Q

What is Cloud Memorystore?

A

In-memory cashe service.

Managed Redis service for caching frequently used data in memory. Provides sub-millisecond access to data.

27
Q

What is Cloud Firestore?

A

managed NoSQL database service designed as a backend for highly scalable web and mobile applications..

Has libraries that provide offline support, synchronisation and other features for managing data across mobile devices, IoT devices and backend data stores.

e.g. apps on mobile can be updated in real time as data in the backend changes.

28
Q

What is Virtual Private Cloud?

A

when a com[any moves to a public cloud, although multiple companies will use the same cloud infrastructure, each enterprise can logically separate its cloud resources by creating a VPC.

A distinguishing feature of GCP’s VPC is: A VPC can span the globe without relying on the public Internet.

Backend can also access Google services without creating a public IP address.

29
Q

What is Cloud Load Balancing?

A

global load balancing to distribute workloads across cloud infrastructure.

30
Q

What is Cloud Armor?

A

As it suggests.

31
Q

What is Cloud CDN?

A

Content Delivery Networks

Users anywhere can request from systems distributed in various regions.

Enables low-latency response to these requests by caching on a set of endpoints across the globe.

32
Q

What is Cloud Interconnect?

A

A set of GCP services for connecting existing networks to the Google network.
Two types of connections: interconnects and peering.

33
Q

What is Cloud DNS?

A

A domain name service.

High availability, low-latency service for mapping from domain names (example.com) to IP address (74.120.28.18)

Automatic scaling.

34
Q

What is Cloud Identity and Access Management?

A

Allows users to defined fine-grained access controls.

Identities are abstractions about users of services.

Roles are sets of permissions that can be assigned to an identity.

35
Q

What are some of the development tools in GCP?

A

Cloud SDK is a command-line interface for managing GCP resources.

36
Q

What are the management tools and their uses?

A
  1. Stackdriver: collects metrics, logs and event data from apps and infrastructure and integrates the data to help DevOps ppl.
  2. Monitoring
  3. Logging: enables users to store and analyse and alert o log data from both GCP and AWS logs.
  4. Error reporting
  5. Trace: captures latency data
  6. Debugger
  7. Profiler: collect CPU and memory utilisation info across the call hierarchy of an app.
37
Q

What is Apigee API Platform?

A

Management service for GCP customers providing API access to their apps.

Apigee allows the developers to deploy, monitor and secure their APIs.

Provides routing and rate-limiting based policies customers can define.

38
Q

What are the Data Analytics services and their uses?

A
  1. BigQuery: a petabyte-scale analytics database service for data warehousing.
  2. Cloud Dataflow: a framework for defining batch and stream processing pipelines.
  3. Cloud Dataproc: managed Hadoop and Spark service
  4. Cloud Dataprep: allows analysts to explore and prepare data for analysis.
39
Q

What are the AI and Machine Learning services?

A
  1. Cloud AutoML: for clients/ developers without machine learning experience to develop ML models.
  2. Cloud Machine Learning Engine: platform for building and deploying scalable machine learning systems to production.
  3. Cloud Natural Language Processing: analyses human languages and extracting information from text.
  4. Cloud Vision: image analysis platform.