1.1 Setting up Cloud Projects and Accounts Flashcards

1
Q

Command: create project

A

`gcloud projects create –organization=[ORGANIZATION_ID] [PROJECT_ID]

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

Command: assign pre-defined IAM roles within a project

A

`gcloud [GROUP] add-iam-policy-binding [RESSOURCE_NAME] –member user:[USER_EMAIL] –role [ROLE_ID]

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

Command: enable APIs

A

gcloud services enables [APINAME.googleapis.com]

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

Command: find existing and APIs

A

gcloud services list --available --sort-by="NAME"

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

Command: find enabled APIs

A

gcloud services list --enabled --sort-by="NAME"

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

Google best practices for Stackdriver monitoring more than one project

A

Create empty project for Stackdriver only

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