Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A security engineer is troubleshooting a newly deployed SAML 2.0 single sign-on (SSO) integration between an external Identity Provider (IdP) and Cloud Identity for workforce access to Google Cloud.
During testing, provisioned users authenticate successfully at the external IdP login screen. However, upon being redirected to Google Sign-In, the authentication process fails and returns an identity resolution error. A review of the SAML response XML and directory settings reveals the following:
contains a element with the value John.Doe@example.com.john.doe@example.com and an email alias jdoe@example.com.email set to john.doe@example.com and a groups claim containing gcp-engineers.What is causing this authentication failure, and how should it be resolved?
Cloud Identity SAML federation relies on the SAML 2.0 assertion and its element to map the authenticating subject directly to an existing corporate user account in the directory. Google Sign-In requires the NameID value to match the user's primary email address.
In Google Cloud and Cloud Identity federation:
NameID value is strictly case sensitive. When the IdP sends John.Doe@example.com, Google Sign-In cannot match it against the directory account john.doe@example.com because the character casing differs.jdoe@example.com) are not considered identities for SAML authentication lookup.email, givenName, or groups), Google Sign-In ignores auxiliary attributes during workforce sign-on subject identification. The NameID element remains the single authoritative claim used to identify the user.NameID and the primary email address prevents ambiguous account linking.Configuring the external IdP to normalize or transform the user principal attribute to exact lower-case john.doe@example.com addresses the root cause of the identity lookup failure without altering Google Cloud directory architecture or requiring non-standard attribute mappings.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.