You have recently been put in charge of managing identity and access management for your organization. You have several projects and want to use scripting and automation wherever possible. You want to grant the editor role to a project member. Which two methods can you use to accomplish this? (Choose two.)
A) GetIamPolicy() via REST API
B) setIamPolicy() via REST API
C) gcloud pubsub add-iam-policy-binding $projectname --member user:$username --role roles/editor
D) gcloud projects add-iam-policy-binding $projectname --member user:$username --role roles/editor
E) Enter an email address in the Add members field, and select the desired role from the drop-down menu in the GCP Console.
Correct Answer:
Verified
Q41: Your company's Google Cloud-deployed, streaming application supports
Q42: Your on-premises data center has 2 routers
Q43: You are creating a new application and
Q44: You created a new VPC for your
Q45: Your software team is developing an on-premises
Q47: You need to create a new VPC
Q48: You are increasing your usage of Cloud
Q49: You are disabling DNSSEC for one of
Q50: You need to define an address plan
Q51: You need to enable Cloud CDN for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents