🔥 40% Off Crucial Exams Memberships — Deal ends today!

10 minutes, 8 seconds remaining!

GCP Associate Cloud Engineer Practice Question

You must quickly list every principal that currently has the Owner role on the production project whose ID is my-prod. Which gcloud command meets this requirement without returning any additional metadata or roles?

  • gcloud projects get-iam-policy my-prod --flatten="bindings[].members" --filter="bindings.role=roles/owner" --format="table(bindings.members)"

  • gcloud projects get-iam-policy my-prod --filter="member:roles/owner" --format="json"

  • gcloud projects get-iam-policy my-prod --format="value(bindings.members)" --role="roles/owner"

  • gcloud iam roles list --project=my-prod --filter="permissions:resourcemanager.projects.setIamPolicy"

GCP Associate Cloud Engineer
Configuring access and security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot