GCP Fundamentals Flashcards

GCP Fundamentals

1
Q

What is SaaS

A

Software as a service

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

Google Cloud Datastore

A

Cloud Datastore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.

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

What is IaaS

A

Infrastructure as a Service. It provide raw compute, storage, and network organized in ways that are familiar from data centers

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

What is PaaS

A

Platform as a Service. It binds application code you write to libraries that give access to the infrastructure your application needs.

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

What is a Zone in GCP network

A

A zone is a single failure domain within a region - the fines level grain. Zones are grouped into Regions.

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

How to built a fault tolerant application

A

Spread the resources across multiple zones or across different regions.

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

Google pricing details

A

Billing by the second. Sustained use discounts. Automatic discounts for each incremental minute of use. Custom virtual machine types

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

Google security examples

A

Google custom security chip - Titan. Cryptographic signatures. Automatic encryption of PC traffic between data centers. GFE - Google front end: checks incoming connections for correct certificates

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

What are Google projects used for

A

To organize resources, group together related resources with common business objective.

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

What is the Google Cloud Platform resource hierarchy

A

Resources in a folder inherit the IM policies from the folder

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

What is the top of the Google Cloud Platform resource hierarcy

A

The organization node

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

Define a Identity and Access Management (IAM)

A

Who? -> Google account, a Google group, a Service account, an entire G Suite, or a Cloud Identity domain.
Can do what? -> defined by an IAM role. An IAM role is a collection of permissions grouped together for easier maintenance
On what resource?

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

What kinds of IAM roles exist?

A
  1. Primitive roles: owner, editor, viewer, billing administrator role.
  2. GCP predefined roles.
  3. Custom roles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you interact with Google Cloud Platform

A
  1. GCP Console - web interface
  2. Cloud Shell and Cloud SDK - command line interface: gcloud, gsutil, bq
  3. Cloud Console mobile app - for IOS and Android
  4. REST-based APIs - for custom applications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Cloud Launcher

A

It’s a tool for quickly deploying functional software packages on Google Cloud platform.

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

Virtual Private Cloud (VPC) Network

A

Google Cloud VPC networks are global; subnets are regional

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

What is HTTP load balancing used for

A

Cross-regional load balancing for web applications

18
Q

What is global SSL proxy load balancer used for

A

For Secure Sockets Layer traffic that is not HTTP

19
Q

What are the GPC interconnect options

A
  1. VPN
  2. Direct peering
  3. Carrier peering
  4. Dedicated interconnect
20
Q

What are the core Google storage options

A

Cloud Storage, Cloud SQL, Cloud Spanner, Cloud Data Store and Google Big Table.

21
Q

What is Cloud Storage

A

Binary loud-object storage - with high availability and high durability. Objects are immutable. Data in transit is encrypted by https

22
Q

How to control access to Cloud Storage

A

For most purposes, Cloud IAM is sufficient. Roles are inherited from project to bucket to object. If you need finer control, you can create access control lists ACLs that offer finer control

23
Q

Cloud Storage classes

A

regional, multi regional, nearline, and coldline

24
Q

Cloud Storage interactions options

A
  1. Online transfer service: self managed copy by command line or drag and drop
  2. Storage Transfer service: scheduled batch transfers
  3. Transfer Appliance: rackable appliances to securely ship your data
25
Q

What is Cloud Bigtable

A

Google’s NoSQL, big data database service, sparsely populated tables that can scale to billions of rows and thousands of columns allowing you to store petabytes of data. It’s ideal for data that has a single lookup key. Cloud Bigtable is ideal for storing large amounts of data with very low latency

26
Q

Benefits of using the CloudSQL managed service

A
  • > CloudSQL provide several replica services like read, failover, and external replicas.
  • > CloudSQL also helps you backup your data with either On-Demand or scheduled backups
  • > It can also scale both vertically by changing the machine type, and horizontally via read replicas
  • > they are accessible by other GCP services and even external services
27
Q

When to consider Cloud Spanner

A

you need horizontal scale ability - it offers transactional consistency at a global scale, schemas, SQL, and automatic synchronous replication for high availability

28
Q

When to consider Google Cloud Datastore

A
  • highly scalable NoSQL database
  • stores structured data from App Engine apps
  • fully managed service
  • automatically handles sharding and replication
  • offers transactions that affect multiple database rows
  • it lets you do SQL-like queries
29
Q

What is SSD

A

Solid State Drive

30
Q

What is GKE

A

Google Kubernetes Engine

31
Q

Command to create Kubernetes cluster

A

gcloud container clusters create k1

32
Q

What is a pod in Kubernetes

A

a pod is the smallest unit in Kubernetes that you create or deploy

33
Q

Command to scale Kubernetes

A

cubectl scale nginx replicas=3

34
Q

Command to autoscale when usage reaches 80%

A

cubectl autoscale nginx –min=10 –max=15 –cpu=80

35
Q

Command to view Kubernetes pods status

A

cubectl get pods

36
Q

What is a Kubernetes pod?

A

A group of containers

37
Q

What is a Kubernetes cluster?

A

A group of machines where Kubernetes can schedule workloads

38
Q

Command to check Kubernetes cluster

A

cubectl version

39
Q

What is TCP

A

Transmission control protocol. TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and also guarantees that packets will be delivered in the same order in which they were sent.

40
Q

What is UDP

A

UDP (User Datagram Protocol) is an alternative communications protocol to Transmission Control Protocol (TCP) used primarily for establishing low-latency and loss-tolerating connections between applications on the internet.