GCP General Flashcards
What is the purpose of Google Compute Engine?
Creating VM’s, it much like AWS EC2
What is the purpose of Google Cloud Storage?
It is object storage used for storing unstructured data like files, images, videos. It is much like AWS S3.
What is the purpose of Google Cloud SQL?
It is a fully-managed MySQL/PostgresSQL database service.
What is the purpose of Google App Engine?
It is a PaaS platform for running cloud native, highly available and scalable application, it is a PAAS much like AWS Beanstalk.
What is the purpose of Google Cloud Kubernetes engine?
It is a managed Kuberentes service for running container-based applications.
What is Google Cloud Functions?
It is a function as a service. (Lambda)
What is the main unit in GCP used to group resources?
Project
Is a project tied to a region?
No, it is independent of the region.
If you run an application for 1Hr and 5 min and shut it down, how long are you billed for?
5min, GCP is a per min billed platform. AWS and Azure are per hour pricing.
To receive discounts on pricing do you have to make an upfront commitment like you do with Azure and AWS using reserved instances?
No, you automatically receive a discount based on sustained usage by aggregating the instance usage over the month.
When I store data on GCP do I need to enable encryption for data at rest and in transit?
No, all data in GCP is automatically encrypted for both transit and at rest.
What are the big category areas in GCP?
Compute
- Compute Engine
- Container Engine
- Cloud App engine
- Cloud Functions
Storage
- Cloud storage (Object storage)
- Bigtable (Wide column DB)
- Cloud SQL (MySQL and Postgres)
- Cloud Datastore (Document DB)
- Spanner (SQL like DB)
Big data
- Pub/Sub (High performance messaging)
- Dataflow (ETL)
- BigQuery (Data wherehouse, SQL query)
- Dataproc
- Datalab
Machine Learning -Vision API Machine Learning Speech API Translate API
For GCP what is the structure hierarchy?
Orgnizatiuons->Folders->Projects-Resources
For GCP what is the hierarchy parent of a resource?
Project
For GCP what is the hierarchy parent of a project?
Folder
Can I attach a Project to two organizations?
No, an organization can only be attached to a single organization.
Is the project a core organizational component of GCP?
Yes, the project is the core hierarchy component used for,
- Permission
- Billing
- API’s
What are the 3 projetc attributes?
- Frendly name : ‘keith-project-01’
- Project ID: also known as an app ID
- Project number: Used to identify resources belong to a project
Can you change the project frendly name?
Yes
Can you change the project frendly name?
No
Can you have duplicate projetc name on GCP?
No the name has to be unique.
Where cna I quickely find my projetc ID?
When you open a projetc in GCP portal, the project panel is in the top righ. It contanns,
- Frendly name
- Project ID
Can you rename a GCP projetc?
Yes
When you shutdown a project can it be stgopped with in 30days.
Yes, the billing owner will be notified and has the poition to stop the shutdown.
When you shutdown a GCP project, whne will the project be deleted and gone for ever?
30day from shutdown.
How can i restore a projetc form the console screen?
In IAM -> Managed resources -> there is a link resources pending deletion.
In GCP what is IAS?
IAS is identity and acces managment, it is like IAM in AWS.
What is the GCP hierarchy?
Organizations
Folders
Projects
Resources
What is a GCP organization?
The organization represents a company.
Is the GCP organization a root node?
Yes, it is the start of the hierarchy.
What are the 3 types of interaction with GCP?
GCP web portal, CLI and API.
What are gcloud, gsutil, bq?
gcloud is many common GCP tasks
gsutil is google cloud storage
bq is goodle cloud big query
What format does the API use?
JSON
What authorization and authentication does the GCP API use?
OAUTH 2.0
If you were polling the GCP often and started to receive errors what could it be?
API has a daily limit.
What is the GCP cloud shell?
It is a shell available in the CCP portal, it is a Linux machine with 5GB persistent storage. The home directory is where data is preserved.
What is the format of the GCLOUD command?
gcloud compute instance create
gcloud group group command args
How can you call an AP{I to exercise?
Call google API explorer, this is a GCP tool enabling you to call all the GCP API from a web console.
What is the name of the service for running VM’s?
Google Compute Engine
What is the name of the service for running applications?
Google app engine
What is the name of the service for running containers?
Google container engine
What is the name of the Google service for running function?
Google cloud functions
What is google compute engine used for?
Running instances
What is google container engine used for?
Running Kubernetes type containers.
What is google app engine used for?
It is a PaaS for running apps like Python, Go, PHP, Java, .NET Core, Docker Image
What is google cloud functions used for?
It’s functions as a service and is restricted to running node js or java. It is triggered by an event.
What is a label and where is it used?
A label is a tag and is used to group and filter resources.
What is a fast and easy way to grab an unknown CLI command?
Using the web portal you have a way to get what the gcloud CLI command would look like.
What is the URL for the google login?
console.cloud.google.com
Is a zone equal to a physical data center?
No, the are fault tolerant physical units, we can think of zones as existing in multiple data centers where each data center has multiple independent zones.
Are zones separated by more than 160 KM
No, zones exist in more then one physical data center in a region, with each data center having multiple zones.
When resources store data in a multi region, what is the expected minimum distance between regions?
Not less then 160 KM
For a project can you turn off and on the GCP API’s per service?;
Yes, you can say turn off the API for Compute Engine.