Google Cloud Flashcards
What is the role of a google cloud engineer?
- Deploy applications
- Monitor opperations of multiple projects
- Maintain enterprise solutions and ensure they meet
target performance metrics - works with public cloud and on premis solutions
- Able to use google console and CLI
- Perform common platform based task
- Maintain one or more deployed solutions
- Leverages google managed and self managed
services on google cloud
What are the exam sections?
- Setting up a cloud environment
- setting up cloud projects and accounts
- Managing billing configuration
- Installing and cofiguring the cli
- Planning and configuring a cloud solution
-Planning and estimating gcp product use with
pricing calculator
-Planning and configuring compute resources
-planning and configuring data storage options
-planning and configuring network resources - Deploying and implementing a cloud solution
- deploying and implementing compute engine
resources - deploying and implementing kubernetes engine
resources - deploying and implementing app engine and cloud
function resources
-deploying and implementing data solutions
-deploying and implementing network solutions
-deploying a solutions using cloud launcher
-deploying an application using deployment manager
- deploying and implementing compute engine
- Ensuring succesful opperation of a cloud solution
-Managing compute engine resources
-managing kubernetes engine resources
-managing app engine resources
-managing data solutions
-managing networking resources
-monitoring and loggin - Configuring access and security
-managing identity and access management
-managing service accounts
-viewing audit logs for projects and managed services
3 elements of data flows
Network: Moving data
Compute: Processing data
Storage: Remembering data
How to check that you are in the correct directory in cloud cli?
gcloud config list
or
gcloud config get-value project
What is the name of the program used to connect with google storage in the cli?
gsutil
gsutil: command that displays google storage buckets?
gsutil ls
gsutil: command that displays google storage bucket content?
gsutil ls gs://bucket-name/
gsutil: How to create a new bucket?
gsutil mb -l bucket-location gs://bucket-name
gsutil: How to get the labels of a bucket?
gsutil label get gs://bucket-name
gsutil: How to get the labels from a bucket and store it in a file?
gsutil label get gs://bucket-name >bucketlabels.json
gsutil:how to set a lable in a bucket using a file?
gsutil label set filethatcontainslabels.json gs://bucket-name
gsutil: how to add aditional labels to a bucket?
gsutil label ch -l “lablename:labelvalue” gs://bucket-name
gsutil: which bucket attribute can only be set programatically and how do you set it?
Version
gsutil versioning set on gs://bucket-name
gsutil versionsing get gs://bucket-name
gsutil: How to copy files into a bucket?
gsutil cp filename.txt gs://bucketname
gsutil:How to get archive info (oject versionsing) info?
gsutil ls -a gs://bucketname
gsutil: How to copy the content of one bucket over to another bucket?
gsutil cp gs://bucketname/** gs://destinationbucket-name
gsutil: When copying content from one bucket to another one also copies over their share settings?
false.
gsutil:How to set public acces on a file in a bucket?
gsutil acl ch -u AllUsers:R gs://bucket-name/filename.jpg
compute: How to check if an instance of virtual machine allready exists?
gcloud compute intances list
How to get a list of enabled services
gcloud services list –enabled
How to get a list of available services for compute?
gcloud services list –available | grep compute
How to enable a specific service in gcloud?
gcloud services enable name-of-service
compute: how to create a new virtual machine?
gcloud compute instances create vmname
compute: how to delete a virtual machine?
gcloud compute instances delete vmname
gcloud syntax?
gcloud
gcloud global flags
- -help or -h
- -project
- -account
- -filter
- -format
- -quite or -q
How to use gcloud to configure properties
gcloud config set
How to see a list of all the configurations
gcloud config configurations list
How to use gcloud to change a cofiguration
gcloud config configurations create ITS_NAME
gcloud config configurations activate ITS_NAME