GCP ACE · Question 41 · Domain 5.1: Managing Identity and Access Management (IAM)
You need to audit the IAM permissions for your GCP project. You want to view a list of all users, groups, and service accounts, along with the roles they have been granted at the project level.
Which gcloud command should you use?
Answer options:
gcloud iam roles list
gcloud projects get-iam-policy [PROJECT_ID]
gcloud iam service-accounts list
gcloud projects describe [PROJECT_ID]
50 questions · hints · full answers · grading