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.
An enterprise configured SAML 2.0 federation with a third-party Identity Provider (IdP) using Workforce Identity Federation to allow external corporate users to access Google Cloud resources. After rolling out an update to the IdP's claim schema, several users report that they cannot sign in, receiving authorization errors during the token exchange process.
The security team needs to inspect the incoming SAML assertion claims, identify any mismatched attribute mappings (such as google.subject and google.groups), and verify why the token exchange is failing.
Which troubleshooting approach should the security engineer take?
Security Token Service (STS) is the underlying Google Cloud service responsible for validating external identity provider tokens (such as SAML 2.0 assertions or OIDC identity tokens) and exchanging them for short-lived Google Cloud federated access tokens during Workforce Identity Federation flows. Enabling Data Access audit logs for the Security Token Service API (sts.googleapis.com) allows administrators to capture and inspect the payload metadata, claim evaluation results, and attribute mapping operations in real time.
google.subject to the incoming email claim and google.groups to group assertions). If an IdP schema change introduces an attribute claim mismatch, STS logs the failure details directly in Cloud Audit Logs.google.subject), invalid assertion structures, or schema expression evaluation errors (such as failed lowerAscii() transformations).Using Data Access audit logs for the Security Token Service API directly pinpoints the exact point of failure within the federated token exchange pipeline without requiring client-side packet capture or invasive identity provider reconfigurations.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.