GCP ACE · Question 44 · Domain 5.1: Managing Identity and Access Management (IAM)
You need to audit the IAM policies for a project named 'finance-prod-123'. You want to see a list of all users and the roles they have been granted in this project using the Cloud SDK.
Which TWO commands could you use to view this information? (Select TWO)
Answer options:
gcloud iam roles list --project=finance-prod-123
gcloud projects get-iam-policy finance-prod-123
gcloud projects get-iam-policy finance-prod-123 --format=json
gcloud compute project-info describe finance-prod-123
gcloud auth list
50 questions · hints · full answers · grading