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 designing a credential delegation workflow for an automated pipeline that impersonates a privilege-bearing service account using the IAM Service Account Credentials API (iamcredentials.googleapis.com). The pipeline must generate specific short-lived credentials to fulfill three separate operational requirements:
Which combination of IAM Service Account Credentials API methods and short-lived credential types should the engineer use?
Each short-lived credential format generated by the IAM Service Account Credentials API (iamcredentials.googleapis.com) is tailored for specific authentication, authorization, and cryptographic use cases across Google Cloud.
generateIdToken method generates a signed JSON Web Token (JWT) containing an aud (audience) claim matching the target service URL.signBlob method uses the service account's Google-managed private key held in escrow to sign the arbitrary payload without exporting or exposing the private key.Authorization: Bearer header. Calling generateAccessToken creates a temporary, short-lived OAuth 2.0 access token restricted by requested OAuth scopes.aud claim, preventing replay attacks against other services.signBlob delegates time-bounded bucket access to external parties without granting them IAM roles or service account credentials.Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.