Professional Cloud DevOps 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 DevOps team is architecting a multi-cloud continuous deployment pipeline using Argo CD hosted on an external Kubernetes cluster. The pipeline needs to deploy application artifacts and fetch sensitive database credentials directly from Google Cloud Secret Manager across projects.
Corporate security policy strictly prohibits the creation, distribution, and storage of downloadable long-lived service account keys (.json key files) within external CI/CD systems.
Which solution should the team implement to authenticate the external pipeline to Google Cloud while maintaining least-privilege access control?
Workload Identity Federation allows workloads running outside of Google Cloud—such as on-premises environments, external Kubernetes clusters, AWS, or Azure—to impersonate Google Cloud IAM service accounts by exchanging external credentials (like OpenID Connect tokens) for short-lived Google Cloud access tokens, removing the need for long-lived service account keys.
roles/secretmanager.secretAccessor) role on the specific secret resources required by the deployment..json service account private keys.Workload Identity Federation provides a native, highly secure mechanism for federating identity across hybrid and multi-cloud environments. It satisfies corporate governance by preventing static secret exposure while strictly enforcing least-privilege IAM roles at the resource level.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.