PCSE Practice Question: Configuring Access Within a Cloud Solution Environment
An organization uses Cloud Identity to manage users and groups. They want to enforce that only users from their corporate domain (example.com) can be granted IAM roles on GCP resources. Which organization policy constraint should they use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
constraints/iam.allowedPolicyMemberDomains
The constraint 'constraints/iam.allowedPolicyMemberDomains' restricts which domains can be used in IAM policy bindings. By setting it to allow only 'example.com', any binding that includes a user from another domain will be denied.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
constraints/iam.disableServiceAccountKeyCreation
Why it's wrong here
This disables service account key creation, not domain restrictions.
- ✗
constraints/compute.restrictCloudArmorPolicies
Why it's wrong here
This restricts Cloud Armor policies, not IAM domain membership.
- ✓
constraints/iam.allowedPolicyMemberDomains
Why this is correct
This constraint restricts IAM members to specified domains.
- ✗
constraints/iam.workloadIdentityPoolProviders
Why it's wrong here
This restricts workload identity pool providers, not IAM domains.
Go deeper
Related to this question
About these practice questions
Courseiva writes every PCSE question from scratch — 960 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCSE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCSE exam.