Question 26 of 169
Choose 2You 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.)
AGetIamPolicy() via REST API
✓BsetIamPolicy() via REST API
Cgcloud pubsub add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor
✓Dgcloud projects add-iam-policy-binding Sprojectname --member user:Susername --role roles/editor
EEnter an email address in the Add members field, and select the desired role from the drop-down menu in the GCP Console.
✓
Correct Answer: B, D
setIamPolicy() via REST API
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.