PCSE Practice Question: Configuring Access Within a Cloud Solution Environment
An administrator needs to restrict which external identities can be used to access Google Cloud resources. The organization uses SAML federation with an external identity provider. Which organization policy constraint should be used?
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 constrain constraints/iam.allowedPolicyMemberDomains restricts which domains can be granted IAM roles. By setting this to the domain of the external IdP, the administrator ensures only federated identities from that domain can be used.
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.allowedPolicyMemberDomains
Why this is correct
This constraint limits the domains that can be used in IAM policies.
- ✗
constraints/iam.disableServiceAccountKeyCreation
Why it's wrong here
This restricts service account keys, not external identities.
- ✗
constraints/compute.requireShieldedVm
Why it's wrong here
This enforces Shielded VM, unrelated to identity domains.
- ✗
constraints/iam.disableCrossProjectServiceAccountUsage
Why it's wrong here
This restricts cross-project service account usage, not external identities.
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.