GCP Associate Cloud Engineer

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Why can't Cloud Storage objects be changed?

They are immutable.

Enable binary logging

The way to enable point-in-time recovery for MySQL databases on Cloud SQL

The compute services provided by Google Cloud:

Compute Engine, App Engine, Kubernetes Engine, and Cloud Functions

Cloud Spanner

Google's horizontally scalable SQL database, it's good A mission-critical, scalable database, with high (global) availability, and transactional consistency.

Deployment manager

Google's infrastructure as code service

Traffic Splitting

The App Engine feature that allows fast rollbacks, A/B testing, and canary deployments

Content-Type

The Cloud Storage metadata key to set to the MIME (Multipurpose Internet Mail Extensions) type

Startup script

The Compute Engine metadata key that allows you to run code at startup

Billing account

The entity that is attached to a project so that you can pay for resources -> you must have billing.user permission to attach this to a project (there's a handful of other permissions that work as well)

App Engine Flexible Enviroments

The fully managed platform that supports running web applications inside a Docker container

Cloud Memorystore

The fully managed version of Redis

HTTP(S) load balancer

The load balancer to use for global HTTP(S) traffic.

Deployments

The name of the Kubernetes Controller that provides declarative updates for pods

Container Registry

The place where container images need to exist in order for Kubernetes to work with them

Secrets

The resource for storing sensitive information in Kubernetes

Container-Optimized OS (COS) or Ubuntu

The two available operating systems to use on a Kubernetes Engine node

Cloud Shell

Tool that exists in the Console allowing terminal access

How to write to Stackdriver logs from a Cloud Function

Use the logging package or write to standard out

Bigtable

Use when you need: A scalable, fully managed, NoSQL wide-column database that is suitable for both low-latency single-point lookups and precalculated analytics. It's sparsely populated and non-relational. It's good for: - Heavy read and write, events such as Adtech, financial - IoT, finance, ad tech - monitoring - geospatial datasets - graphs

Cloud Functions

A service used for executing code in response to events

Billing export formats

CSV file, JSON file, BigQuery

NoSQL's realtime database

Firebase Realtime Database

Cloud Launcher

"One-click" way to install common applications to Compute Engine instances

The command to list subnets

' gcloud compute networks subnets list`

The flag to use that will allow you to determine the price of a BigQuery query without actually running the query

'--dry-run`

Compute Services that directly support running Docker containers

- App Engine - Flexible Environments - Kubernetes - Compute Engine - Use COS to run a single container per instance - Cloud Functions - Not yet GA

Interfaces for interacting with Google Cloud

- Directly to the REST API - Cloud SDK - Client libraries - Console

Pod

A Kubernetes concept that represents the smallest unit of deployment

SSH over port 22

A common protocol and port used to connect to Linux instances

Service Account Key

A downloadable key allowing code to authenticate against Google Cloud services

Web Preview

A feature of Cloud Shell that allows you to browse to port 8080

Signed URLs

A feature of Cloud Storage that allows objects to be accessed temporarily

Flow logs

A feature that allows you to see all network traffic

Custom machine type

A feature that allows you to set the exact amount of memory and CPU

Custom logging metric

A mechanism that allows you to extract data from logs and track it

Custom monitoring metric

A mechanism that allows you to track custom information in code and save it to Stackdriver

Snapshots

A point-in-time backup of a persistent disk

Services (K8s)

A resource that exposes deployments

BigQuery

A scalable, fully managed enterprise data warehouse (EDW) with SQL and fast ad HOC queries Good for: - OLAP workloads up to petabyte scale - Big data, exploration and processing

App Engine

A service used to run web applications on a managed platform

Service Accounts

A special identity used for authenticating between different services

Billing Alerts

A tool that warns you when you're spending too much

Preemptible instances

A type of short-lived, reduced price instance commonly used for batch processing

Unmanaged instance groups

A way to group different instances together. You can group instances that have already been created with new instances, or change just one instance at a time

Managed Instance Groups

A way to run Compute Engine instance based on templates

A way to analyze spending data

Billing Exports sent to BigQuery

DaemonSet

DaemonSets run a pod on each node in the cluster. Using a DaemonSet allows you to deploy your pod in the same way you deploy your other containers. This makes it easy to do without adding new tools. It ensures a single instance of a pod will run on each node. It's a type of Kubernetes deployment

The way to ensure the nodes in a Kubernetes Engine cluster are running the latest version of Kubernetes

Enable the "Automatic node upgrades" option

Cloud SQL

Fully managed MySQL and postgreSQL database services (transactional, relational database) Good for: - Web frameworks (such as CMS, eCommerce) - structured data - OLTP workloads

Datastore

Fully managed NoSQL database with a limited query syntax, commonly paired with App Engine. Good For: Hierarchical, mobile, web such as user profiles, game state

Identity providers that Cloud IAM can use

G Suite, and Cloud Identity, Google Groups, Gmail accounts, Service Accounts

Supported persistent disk types

HDD, SSD, and Local SSD

When creating firewall rules, the lower the number the ______ the priority

Higher

App Engine traffic can be split by these types:

IP address, Cookie, Random

Cloud functions should be written in an __________ way

Idempotent

IAM stands for what?

Identity and Access Management

Environment variables

Key-value pairs of configuration data that are accessible from code running in a Cloud Function

Metadata

Key-value pairs that you can set and interact with in a Compute Engine instance

Scaling modes supported by App Engine

Manual, Automatic, and Basic* *Only with standard environments

Network tags

Means of dynamically identifying instances to apply firewall rules

Persistent Volumes

Mounted directories that are accessible from inside containers

Types of available roles

Primitive roles, predefined roles, and custom roles

A common protocol and port used to connect to a Windows instance

RDP over port 3389

Pub/Sub

Service that can ingest event streams. Commonly used with IoT

Stackdriver

Service that supports monitoring, logging, and debugging

Tool for live code debugging

Stackdriver Debug - doesn't support all languages.

The types of App Engine environments:

Standard and Flexible

Project or Instance metadata is...

Where SSH keys for connecting to Compute Engine instances are stored.

The format used for Kubernetes resource files.

YAML

The templates that Deployment Manager supports

YAML, Jinja, and Python

The way to change an App Engine region

You can't. You need to create a new project, with the new configuration settings that you need

Open port 22 to the internet on command line:

[gcloud compute firewall-rules create "a-firewall-rule" --network $SERVICES_NETWORK --allow tcp:22]

When using [gcloud compute ssh], which flag shows the underlying SSH command?

`--dry-run`

Flag to use when deploying to app engine that will prevent the version from getting 100% of the traffic

`--no-promote`

A `kubectl` flag that allows you to specify the JSON path of properties in JSON output

`-o` along with the `jsonpath` value. `kubectl get svc -o jsonpath`

`gcloud-wide` flag to suppress interactive prompts

`-q or --quiet`

The command to deploy an App Engine application

`gcloud app deploy app.yaml`

The command to list networks

`gcloud compute networks list`

Command to list gcloud configurations

`gcloud config configurations list`

The command to list the current configuration for `gcloud`

`gcloud config list`

The command to create a Kubernetes Cluster

`gcloud container clusters create`

The command to create a Deployment Manager deployment

`gcloud deployment-manager deployments create`

The command to update a Deployment Manager deployment

`gcloud deployment-manager deployments update`

The command to deploy a Cloud Function

`gcloud functions deploy`

Command to create a new service account

`gcloud iam service-accounts create...`

The command to add an IAM binding policy

`gcloud projects add-iam-policy-binding`

The command to list projects

`gcloud projects list`

The command to enable an API

`gcloud services enable [ID]`

The command to create a new Spanner database

`gcloud spanner databases create`

The command to set the CORS configuration on a bucket

`gsutil cors set...`

The command to copy files to and from Cloud Storage

`gsutil cp`

Command to list buckets

`gsutil ls`

Command to make a bucket

`gsutil mb gs://bucket-name/`

The command to interact with Cloud Storage

`gsutil`

Command to update a Kubernetes deployment that was created with the `kubectl create` command

`kubectl apply`

The command for creating a new Kubernetes Secret

`kubectl create secret`

Command to run commands from inside a container that is running on Kubernetes

`kubectl exec`

The command to list Kubernetes deployments

`kubectl get deployments`

The command to get Pod logs in Kubernetes

`kubectl get logs`

The App Engine, app.yaml handler property that allows directories to be static

`static_dir`


Kaugnay na mga set ng pag-aaral

CH 18 - PERSONAL SELLING AND SALES MANAGEMENT

View Set

Health Assessment Test 1 Study Material

View Set

Chapter 9 exam - Retirement Plans (10 cau)

View Set

marriage and family sociology chapter 14

View Set

PrepU -- Chapter 6: Values, Ethics, Advocacy

View Set