Topic 1 Question 34
You want to verify the IAM users and roles assigned within a GCP project named my-project. What should you do?
Run gcloud iam roles list. Review the output section.
Run gcloud iam service-accounts list. Review the output section.
Navigate to the project and then to the IAM section in the GCP Console. Review the members and roles.
Navigate to the project and then to the Roles section in the GCP Console. Review the roles and status.
ユーザの投票
コメント(17)
Correct answer is C as IAM section provides the list of both Members and Roles.Option A is wrong as it would provide information about the roles only.Option B is wrong as it would provide only the service accounts.Option D is wrong as it would provide information about the roles only.
👍 62coldpar2020/03/15C is the correct answer
👍 10Agents892020/04/15I chose C after experimenting in the console.
A. Wrong, this just shows you all the roles, not users etc. It's not useful. B. Wrong, This will just show service accounts, not users and roles like the question asks C. Correct. I logged onto console and followed the steps and was able to see all the assigned users and roles. D. Wrong. We need to see how the roles are used. I couldn't even see a "Roles" option directly, you need to browse to IAM then to the Roles subsection, which is not useful anyway.
👍 5obeythefist2022/03/02
シャッフルモード