Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
An organization runs automated deployment pipelines in an external CI/CD environment hosted outside of Google Cloud. The pipeline jobs need to authenticate to Google Cloud to deploy artifacts and update infrastructure.
To follow security best practices, your security team has mandated the following requirements:
Which access pattern should you implement to satisfy these requirements?
Workforce Identity Federation is Google Cloud's identity federation solution designed for human users, including employees, contractors, and partners. It allows users to authenticate to the Google Cloud Console, Cloud Shell, and gcloud CLI using an external enterprise identity provider (such as Okta, Microsoft Entra ID, or PingIdentity) via standard Single Sign-On (SSO) and multi-factor authentication (MFA).
You needed human developers and cloud engineers to access Google Cloud resources and console interfaces using their corporate single sign-on credentials without creating dedicated Cloud Identity or Google Workspace accounts.
A service account private JSON key contains an asymmetric RSA private key downloaded from the Google Cloud console. External workloads can store this private key locally and use it to sign a service account JSON Web Token (JWT) assertion, which is subsequently transmitted to Google's OAuth 2.0 token endpoint to obtain short-lived service account access tokens.
You were integrating a legacy external platform that lacks OpenID Connect (OIDC) or SAML capabilities, preventing the use of Workload Identity Federation, and your security policy explicitly permitted managing static private keys.
The Compute Engine metadata server is an internal, link-local HTTP service hosted inside Google Cloud virtualized infrastructure at http://metadata.google.internal/computeMetadata/v1/ (IP address 169.254.169.254). Compute Engine instances, Google Kubernetes Engine nodes, and serverless compute environments query this endpoint to inspect instance attributes and retrieve short-lived OAuth2 access tokens for attached service accounts.
169.254.0.0/16 IP block is non-routable over external network paths, meaning any HTTP request originating from external runners will immediately fail.Metadata-Flavor: Google) to safeguard internal instances against Server-Side Request Forgery.The build runners were self-hosted virtual machines running on Compute Engine or worker nodes in a Google Kubernetes Engine (GKE) cluster inside your Google Cloud project, allowing build scripts to read access tokens directly from the local metadata server.
Workload Identity Federation is Google Cloud's recommended identity mechanism that enables external software workloads—such as automated CI/CD runners, on-premises applications, and multi-cloud services—to access Google Cloud APIs without managing downloadable service account keys. It establishes a secure trust relationship between Google Cloud and an external Identity Provider (IdP) that supports OpenID Connect (OIDC) or SAML 2.0.
JSON credential files) in external platforms.google-github-actions/auth tools.
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