PCSE Practice Question: Configuring Access Within a Cloud Solution Environment
A company uses Cloud Identity with SAML 2.0 federation from an external IdP. They want to enforce that users must be members of a specific group in the IdP to access GCP resources. Which two configurations are necessary? (Choose two.)
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
✓
Create a corresponding group in Cloud Identity and map it to the IdP group.
To enforce group-based access, you need to create a corresponding group in Cloud Identity and map it to the IdP group (option A) so that IAM policies can reference it. You also need the IdP to send group membership in the SAML assertion (option E) so that Cloud Identity can determine which groups the user belongs to and apply the appropriate IAM policies.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a corresponding group in Cloud Identity and map it to the IdP group.
Why this is correct
Cloud Identity groups can be used in IAM policies to grant access based on group membership.
- ✗
Disable direct user accounts in Cloud Identity.
Why it's wrong here
Not necessary; federated users are mapped to Cloud Identity accounts.
- ✗
Use IAP to enforce group membership.
Why it's wrong here
IAP can enforce access but requires the group to be in Cloud Identity.
- ✗
Create an organization policy to restrict access to only those users.
Why it's wrong here
Organization policies are not used for user access control based on groups.
- ✓
Configure the IdP to send group membership in the SAML assertion.
Why this is correct
The IdP must include group information in the SAML response.
Go deeper
Related to this question
About these practice questions
This PCSE question is part of Courseiva's 960-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.