Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Security Engineer practice bank has 1,343 more like it. Try 10 free: instant score, no account.
A security engineer is designing an authentication architecture for enterprise workloads running in Amazon Web Services (AWS) and Microsoft Azure that need to access Cloud Storage buckets in Google Cloud.
To comply with organizational security policies, the architecture must satisfy the following requirements:
Which solution should the engineer implement to meet these requirements?
This option relies on generating downloadable service account keys (asymmetric RSA private keys), storing them in a secrets management service (such as HashiCorp Vault or Google Cloud Secret Manager), and automating their rotation via scheduled Cloud Functions.
.json credential files) across external cloud environments.The workloads ran in legacy environments that do not support OpenID Connect (OIDC) or native cloud identity metadata systems and have no viable mechanism for federated token exchange.
Workload Identity Federation is a Google Cloud IAM capability that enables workloads running outside Google Cloud (such as in AWS, Microsoft Azure, GitHub Actions, or on-premises environments) to impersonate service accounts or directly access Google Cloud resources by exchanging external identity tokens for short-lived, ephemeral Google Cloud access tokens.
.json service account keys stored on external infrastructure. Trust is established cryptographically via identity federation.google.subject, google.groups, or attribute.custom_name), allowing access to be bound directly to specific principalSet:// strings in IAM allow policies.principal:// and principalSet:// without requiring service account impersonation.This approach aligns with Google Cloud security best practices by eliminating static secrets while preserving fine-grained authorization across hybrid and multi-cloud architectures.
Managed Workload Identities in TRUST_DOMAIN mode allow Google Cloud workloads (such as Compute Engine instances) to obtain strongly attested identities and Certificate Authority Service (CAS) provisioned certificates to perform mutual TLS (mTLS) authentication between services.
TRUST_DOMAIN mode are designed for workloads within Google Cloud Compute Engine, not for exchanging native AWS STS or Azure Entra ID OIDC tokens from external clouds.TRUST_DOMAIN mode issue X.509 certificates via private CA pools for internal mesh/service-to-service mTLS.The goal was to establish mutual TLS (mTLS) service-to-service encryption and workload attestation between internal Compute Engine virtual machines.
Workforce Identity Federation is designed to allow human users (such as corporate employees, contractors, and partners) in an external Identity Provider (IdP) like Microsoft Entra ID or Okta to authenticate into the Google Cloud console and Google Cloud CLI without needing separate Google Workspace or Cloud Identity user accounts.
Human administrators and engineers in an external enterprise directory needed single sign-on (SSO) access to the Google Cloud Console and Google Cloud CLI.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated