Reliability Flashcards

1
Q

Throttling

A

Responding to excessive API requests by dropping requests until rate falls below limit

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

3 parts of JSON Web Token (JWT)

A

Header

  • Identifies token is a JWT
  • Algorithm used to sign sign token

Payload
- Set of claims about issuer, subject, token

Signature

  • Output of signature algorithm
  • Shows signer knows secret and JWT token not altered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Storage Transfer Service

A

From HTTP/S, S3, Cloud Storage
To Cloud Storage
Transfer jobs run in GCP

*recommended for importing from other CSPs

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

Google Transfer Appliance

A

40TB
300TB
Cloud Storage

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

Time to transfer:

1 TB over 1 Gbps

A

3 hours

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

Time to transfer:

1 PB over 100 Gbps network

A

30 hours

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

Max volume and bandwidth for gsutil to transfer data

A

< 10 TB

At least 100 Mbps bandwidth

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

Data volume - when to use Transfer Appliance

A

> 20 TB

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

SLO

A

Agreed upon target for a measurable attribute of a service specified in a SLA

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

SLI

A

Metric that reflects how well a SLO is being met

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

Cloud Functions

A

Serverless service for running functions

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

Cloud Run

A

Serverless service for running stateless containers
Available as managed service or within Anthos

*Process up to 80 concurrent requests by default - up to 1,000

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

Compute Engine Machine Families (4)

  1. Optimized
  2. Key attribute
A

General purpose - best price performance
Compute Optimized - best performance per core
Memory Optimized - best memory per core (up to 12 TB)
Accelerator/GPU Optimized - parallel processing

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

Compute Engine persistent disk types (5)

*Strength

A

Standard persistent - efficient and reliable
Balanced persistent - fast, but cost effective (same IOPs as SSD persistent, but less per GB)
SSD persistent - single digit ms latency
Extreme persistent - for HPC in-memory databases, configurable IOPs
Local SSDs - Hot cache, flash optimized, low latency - higher higher throughput and lower latency than standard SSD

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

Instance Group Types

A

Managed

Unmanaged

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

Instance Template

  • Definition
  • What it contains
A

Used to create VM instances and MIGs

Machine Type
Boot disk or container image
Network settings
Labels
Startup scripts
Other properties of VM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Cloud Functions events (5)

A
Cloud Storage
Pub/Sub
HTTP calls
Firestore - document create, update, delete, write
Cloud Logging
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q
Cloud SQL
Type
Replication
Failover
Max size
Scaling
A

MySQL, SQL Server, PostegreSQL

Read replica in same or different region

Google managed failover (primary to replica)

30 TB

Vertical scaling only - can enable auto scaling storage

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

Database Migration Service

A

Continuous replication for MySQL and PostgreSQL to Cloud SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
Cloud Spanner
Type
Use Case
Availability
Query language
Consistency
Regions
Scaling
A

Relational database for horizontal, global scaling

Apps that need strong consistency and global scale - Financial trading systems, logistics apps, global inventory tracking

99.999% availability

SQL and Google SQL

External consistency

Regional (3 copies in multiple zones)
Multi-region (3 copies in other regions)

Auto backup and replication

Auto sharding; increase CPU and RAM of instances to scale up

21
Q
Bigtable
Type
Integration
Use Cases
Query language
Locations
Replications and failover
Scaling
A

NoSQL, wide-column, PB scale, low latency

Apache HBase interface

Storing data for ML building
Streaming IoT data
Time series, marketing, financial, graph data

cbt

Data auto replicated between clusters

Scale clusters by adding nodes (tables are highly scalable)

22
Q

Firestore
Type
Transactions

A

NoSQL, Document database for mobile, web, IoT apps

Supports ACID compliant transactions

23
Q

Memorystore

A

Managed service for Redis and Memcached

24
Q

Which IaaS can access Memorystore

A

Compute Engine
GKE
Cloud Functions
App Engine (requires Serverless VPC Access)

25
Firestore modes (2)
Datastore Mode - new server-based projects Firestore Mode (native) - new web or mobile apps
26
Databases with time partitioned tables
BigQuery | Bigtable
27
Storage/database services that distribute data globally
Cloud Storage Cloud Spanner Cloud Firestore
28
VPC private IP ranges
10. 0.0.0/8 10. 0.0.0 - 10.255.255.255 172. 16.0.0/12 172. 16.0.0 - 172.31.255.255 192. 168.0.0/16 192. 168.255.255
29
BQ data batch loading options (4)
Load Jobs from Cloud Storage or local filesystems BQ Data Transfer Service - loading from Google Ads, Ad Managers, Google Saas apps, 3rd party services BQ Storage Write API Firestore export
30
BQ data streaming options (2)
BQ Storage Write API Dataflow job to write directly to BQ tables
31
BQ analysis pricing models (2) + free usage
* 1st TB free per month On-demand - number of bytes processed each query Flat rate (purchase slots/vCPU to run queries): - Flex slots - commit to initial 60 sec - Monthly - commit to initial 30 days - Annual - commit to 365 days
32
BQ storage pricing models (2)
*First 10 GB free per month Active storage - table or table partitions modified in last 90 days Long term storage - table or table partition NOT modified for 90 consecutive days
33
Transfer Service for On-Premises Data
For moving billions of files and 100s of TB in single transfer Agent based
34
Google Transfer Appliance (size options) (2)
40 TB or 300 TB
35
Cloud Logging export options (3) - Where - Format
Cloud Storage - JSON files BQ - log tables Pub/Sub - JSON messages
36
Use gsutil to transfer if less than __ TB and at least ___ bandwidth
10 TB | 100 Mbps
37
Use Transfer Appliance if > than __
20TB
38
Workloads for GCP orchestration services (3)
Cloud Scheduler - schedule driven, single service Workflows - Complex, microservices Cloud Composer - data, ETL workloads
39
Helm
Package manager to configure and deploy K8 apps
40
GCP storage for ML learning data and artifacts
Cloud Storage | BQ
41
Cloud DLP classifies data in (3)
Cloud Storage BQ Datastore
42
Container Analysis
Auto scans container images in Artifact Registry and Container Registry for known vulnerabilities Continuously analysis metadata for new vulnerabilities
43
Video Intelligence API
Annotate videos stored locally or in Cloud Storage, or live streamed with contextual info at per video, per segment, per shot, per frame levels
44
Recommended org wide quotas (3)
APIs per second VMs created Data queried per day in BQ
45
Recommendation Hub
UI that shows summary of all available recommendations in a project
46
Active Assist
Suite of tools to generate insights and recommendations to optimize cloud projects
47
Requester Pays
Storage configuration to bill department or team who requests data versus owner
48
Services with Committed Use Discounts. (spend based commitment) (5)
``` Cloud SQL Cloud Spanner Google Cloud VMWare Engine Cloud Run GKE ```