An enterprise manages its Google Cloud infrastructure using a multi-layer resource hierarchy. At the organization root level, an Organization Policy enforces the Domain Restricted Sharing constraint (`constraints/iam.allowedPolicyMemberDomains`) with an allowed list containing Primary Domain Customer ID `C01111111`.
To allow integration with a partner company, a cloud administrator updates the policy for `constraints/iam.allowedPolicyMemberDomains` on the `Partner-Projects` folder by setting `inheritFromParent: true` and adding Customer ID `C02222222` to the allowed list.
A project administrator for `Project-X` (located inside the `Partner-Projects` folder) attempts to perform two separate IAM policy updates on `Project-X`:
1. Granting `roles/storage.admin` to an identity belonging to Customer ID `C01111111`.
2. Granting `roles/storage.admin` to an identity belonging to Customer ID `C03333333`.
Which outcome will occur when the project administrator attempts these IAM role assignments?
- The grant for Customer ID C01111111 succeeds because setting inheritFromParent to true merges allowed values from the organization and folder levels, while the grant for Customer ID C03333333 is blocked by the effective organization policy constraint.Answer
- BBoth grants fail because defining an Organization Policy constraint at the folder level overrides and completely replaces all allowed domain configurations set at the organization root.
- CBoth grants succeed because project administrators holding administrative permissions on a project can override Organization Policy guardrails when granting IAM roles.
- DThe grant for Customer ID C03333333 succeeds if assigned using Primitive roles like Owner or Editor, but fails if assigned using Predefined IAM roles.