Dan Sullivan's book Flashcards

1
Q

Public cloud providers offer services that fall into four broad categories:

A
  1. Compute resources
  2. Storage
  3. Networking
  4. Specialized services such as machine learning services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of compute resources:

A
  1. Virtual machines
  2. Managed kubernetes clusters
    3.Serverless computing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are virtual machines?

A

Basic unit of computing resources and a good starting point for experimenting with the cloud.

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

What are the three serverless computing options within GCP?

A
  1. App engine
  2. cloud run
  3. cloud functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is app engine used for?

A

App engine is used for paplicatins ad containres that urn for extended periods of time (sucha s websites)

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

What is cloud run

A

Used to run containers when the full features of kubernetes engine are not needed. Use it for containers when you want a fully managed service and rapid autoscaling.

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

What is cloud functions?

A

Platfomr for running code in response to an event, sucahs uploading a file or addinga message to amessag queue.

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

The public cloud offerse a few types of storage services that are useful for a wide range of application requirements. These types include:

A
  1. Object sotrage
  2. File storage
  3. Block storage
  4. Caches
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Object storage:

A

Object storage is a system that manages the use of storage in terms of objects or blobs. Thes files are not sotred in a conventional filesystem. Objects are grouped into buckets. Each object is individually addressable, usually by a URL.

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

Object storage size limits

A

Object storage is no tlimited by the size of distks or solid-state drivers (SSD) attached to a server. Multiple copies of objects are stored to improve availability and durability.

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

what is file storage?

A

file storage services provide a hierarchical storage system for files. Filesystems storage provides network-shared filesystems. The file storage system decouples the filesystem from specific VMs. The filesystem, its directories, and its files exist independently of GMs or applications that may access those files.

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

When you create an instance, you can specify several parameters including:

A
  1. the operating system
  2. the size of persistent storage
  3. Whether you’ll add graphcial processing units for compute instensive operationslike machine learning
  4. whether you’ll make the VM preemptible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is block storage

A

uses a fized-size data structured called a block to organize data. Block storage is commonly used in ephemeral and persistent disks attached to VMs.

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

what are caches?

A

caches are in-memory data stores that maintain fast access to data. The latency of in-memory stores is designed to be submilliseconds.

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

What does it imply to make the VM preemptible?

A

it means you may be charged significanly less for hte VM tahn normal (around 80 % less) but your VM could be shut down at ny time by google. It will be shut down after the preemptible VM has run for at least 24 hours.

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

What is kubernetes engine?

A

It is a tool to easily run containerized applications on a cluster of servers.

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

Why are containers often compared to VMs?

A

Containers are often compared to VMs because they are each used for isolating computing processing and resources. Containers take a different approach than VMs for isolatuing computing processes.

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

What is infrastructure as as service or (IaaS)?

A

A model that gives the cloud user the greatest control of all the computing services. Users can chose the operating system to run, which packages to install, and when to back up a perform other maintenance operations.

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

What is platform as a service (PaaS)

A

provides a runtime environment to execute applications without the need to manage underlying services, networks and storage systems.

17
Q

What are Anthos clusters?

A

Anthos clusters are clusters that extend GKE for hybrid and multicloud environemnts by providing services to create, scale, and upgrade conformant Kubernetes clusters along with a common orchestration layer.

18
Q

How can Anthos clusters be connected?

A

Anthos clusters can be connected using standard networking options, including VPNs, dedicated interconnect, and partner interconnects.

19
Q

What are key benefits to using Anthos to manage multiple kubernetes clusters?

A
  1. Centralized management of configuration as code
  2. Ability to roll back deployment with Git
  3. A single view ofcluster infrasturcture and applications
  4. Centralized and auditable workflows
  5. Instrumentation of code using Anthos service mesh
  6. Anthos service mesh authorization and routing
20
Q

What is the term ‘Anthos clusters’?

A

The term Anthos clusters refers to Google Kubernetes Engine clusters that have been extended to function on-premises or in multi-cloud environments.

21
Q

What is App Engine?

A

App engine is a google cloud compute PaaS offering. With App engine, developers and application administrators don’t need to concern themselves with configuring GMs or specifying kubernetes clusters. Instead, developers create applications in a popular programming language such as Java, Go, Python, or Node.js and deploy that code to a serverless application environment.

22
Q

what are the two types of app engine?

A
  1. standard
  2. flexible
23
Q

what is a standard app egine?

A

In the standard environment, you run applications in a language-specific sandbox, so your application is isolated from the underlying server’s operating system as well as from other applications running on that server.

24
Q

What is the standard environment of standard app engine well suited for?

A

The standard environment is well suited to applications that are written in one of a supported languages and do not need operating system packages or other compiled software that would have to be installed along with the application code.

24
Q

Wha tis the flexible environment of app engine for?

A

In the flexible environment, you run containerized applications in the App Engine environment.

24
Q

what cases does the flexible environment work well for?

A

The flexible environment works well in cases where you have application code but also need libraries or other third-party software installed. The flexible environment gives you more options, including the ability to work with background processes and write to local disk.

25
Q

What is cloud run?

A

Cloud Run is a Google Cloud service for running stateless containers.

26
Q

what is a difference between App engine standard and cloud run?

A

Unlike App Engine Standard, Cloud Run does not restrict you to using a fixed set of programming languages. Cloud Run services have regional availability.

27
Q

What are cloud functions?

A

Cloud functions are a lightweight computing option that is well suited to event-driven processing. Cloud functions run code in response to an event, like a file being uploaded to cloud storage or a message being written to a message queue.

28
Q

What should the lenght of code be for cloud functions?

A

The code that executes in the Cloud Functions environment must be short-running—this computing service is not designed to execute long-running code. If you need to support long-running applications or jobs, consider Compute Engine, Kubernetes Engine, or App Engine.

29
Q

what are cloud functions often used for?

A

Cloud Functions is often used to call other services, such as third-party application programming interfaces (APIs) or other Google Cloud services, like a natural language translation service.

30
Q

What is cloud storage?

A

Cloud Storage is Google Cloud’s object storage system. Objects can be any type of file or binary large objects, or blob. Objects are organized into buckets, which are analogous to directories in a filesystem.

31
Q

There are different location types of cloud storage.

A
  1. region
  2. zones
32
Q

Regional cloud storeage

A

Regional storage keeps copies of objects in a single Google Cloud region. Regions are distinct geographic areas that can have multiple zones, or deployment areas.

33
Q

What is a zone in terms of cloud storage?

A

A zone is considered a single failure domain, which means that if all instances of your application are running in a zone and there is a failure, then all instances of your application will be inaccessible.

34
Q

what is regional storage wll suited for?

A

Regional storage is well suited for applications that run in the same region and need low-latency access to objects in Cloud Storage.

35
Q

when to use nearline and when to use coldline?

A

Use nearline when you will access objects less than once per month, and use coldline when you will access objects less than once every 90 days.

36
Q

what is teh archive storage class?

A

The archive storage class is low-cost archival storage designed for high durability and infrequent access. This class of storage is suitable for data that is accessed less than once per year.

37
Q

What is a persistent disk?

A

Persistent disks are storage services that are attached to VMs in Compute Engine or Kubernetes Engine. Persistent disks provide block storage on solid-state drives (SSDs) and hard disk drives (HDDs). SSDs are often used for low-latency applications where persistent disk performance is important. SSDs cost more than HDDs, so applications that require large amounts of persistent disk storage but can tolerate longer read and write times can use HDDs to meet their storage requirements.

38
Q

what are the advantages of persistent disks on the google cloud?

A

An advantage of persistent disks on the Google Cloud is that these disks support multiple readers without a degradation in performance. This allows for multiple instances to read a single copy of data. Disks can also be resized as needed while in use without the need to restart your VMs.

39
Q

Advantages of cloud storage for firebase

A

The Cloud Storage for Firebase API is designed to provide secure transmission as well as robust recovery mechanisms to handle potentially problematic network quality. Once files, like photos or music recordings, are uploaded into Cloud Storage, you can access those files through the Cloud Storage command-line interface and software development kits (SDKs).

40
Q

Cloud firestore

A

Sometimes, developers need to have access to a filesystem housed on network-attached storage. For these use cases, the Cloud Filestore service provides a shared filesystem for use with Compute Engine and Kubernetes Engine.

41
Q
A