Google Cloud Flashcards

1
Q

What is the role of a google cloud engineer?

A
  1. Deploy applications
  2. Monitor opperations of multiple projects
  3. Maintain enterprise solutions and ensure they meet
    target performance metrics
  4. works with public cloud and on premis solutions
  5. Able to use google console and CLI
  6. Perform common platform based task
  7. Maintain one or more deployed solutions
  8. Leverages google managed and self managed
    services on google cloud
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the exam sections?

A
  1. Setting up a cloud environment
    • setting up cloud projects and accounts
    • Managing billing configuration
    • Installing and cofiguring the cli
  2. 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
  3. 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
  4. 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
  5. Configuring access and security
    -managing identity and access management
    -managing service accounts
    -viewing audit logs for projects and managed services
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3 elements of data flows

A

Network: Moving data
Compute: Processing data
Storage: Remembering data

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

How to check that you are in the correct directory in cloud cli?

A

gcloud config list

or

gcloud config get-value project

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

What is the name of the program used to connect with google storage in the cli?

A

gsutil

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

gsutil: command that displays google storage buckets?

A

gsutil ls

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

gsutil: command that displays google storage bucket content?

A

gsutil ls gs://bucket-name/

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

gsutil: How to create a new bucket?

A

gsutil mb -l bucket-location gs://bucket-name

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

gsutil: How to get the labels of a bucket?

A

gsutil label get gs://bucket-name

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

gsutil: How to get the labels from a bucket and store it in a file?

A

gsutil label get gs://bucket-name >bucketlabels.json

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

gsutil:how to set a lable in a bucket using a file?

A

gsutil label set filethatcontainslabels.json gs://bucket-name

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

gsutil: how to add aditional labels to a bucket?

A

gsutil label ch -l “lablename:labelvalue” gs://bucket-name

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

gsutil: which bucket attribute can only be set programatically and how do you set it?

A

Version

gsutil versioning set on gs://bucket-name

gsutil versionsing get gs://bucket-name

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

gsutil: How to copy files into a bucket?

A

gsutil cp filename.txt gs://bucketname

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

gsutil:How to get archive info (oject versionsing) info?

A

gsutil ls -a gs://bucketname

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

gsutil: How to copy the content of one bucket over to another bucket?

A

gsutil cp gs://bucketname/** gs://destinationbucket-name

17
Q

gsutil: When copying content from one bucket to another one also copies over their share settings?

A

false.

18
Q

gsutil:How to set public acces on a file in a bucket?

A

gsutil acl ch -u AllUsers:R gs://bucket-name/filename.jpg

19
Q

compute: How to check if an instance of virtual machine allready exists?

A

gcloud compute intances list

20
Q

How to get a list of enabled services

A

gcloud services list –enabled

21
Q

How to get a list of available services for compute?

A

gcloud services list –available | grep compute

22
Q

How to enable a specific service in gcloud?

A

gcloud services enable name-of-service

23
Q

compute: how to create a new virtual machine?

A

gcloud compute instances create vmname

24
Q

compute: how to delete a virtual machine?

A

gcloud compute instances delete vmname

25
Q

gcloud syntax?

A

gcloud

26
Q

gcloud global flags

A
  • -help or -h
  • -project
  • -account
  • -filter
  • -format
  • -quite or -q
27
Q

How to use gcloud to configure properties

A

gcloud config set

28
Q

How to see a list of all the configurations

A

gcloud config configurations list

29
Q

How to use gcloud to change a cofiguration

A

gcloud config configurations create ITS_NAME

gcloud config configurations activate ITS_NAME