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 is refactoring its security architecture on Google Cloud to adhere to the principle of least privilege and strict separation of duties. Currently, developers run automated deployment pipelines and scheduled tasks using their personal corporate user accounts, which requires assigning them broad, standing permissions. Furthermore, developers have generated and downloaded service account JSON keys to authenticate external CI/CD runners, and they occasionally impersonate service accounts directly in production to resolve urgent incidents.
The security engineering team has established the following mandatory requirements:
Which strategy should the security engineer implement to satisfy these requirements?
This strategy aligns workload execution, credential lifecycle management, and human privileged access with modern Google Cloud security best practices. It provisions dedicated service accounts specifically scoped to application lifecycles, replaces downloadable credential files with federated OpenID Connect (OIDC) or SAML tokens via Workload Identity Federation, blocks key export across the resource hierarchy using Organization Policies, and governs emergency human access via Privileged Access Manager (PAM).
iam.disableServiceAccountKeyCreation prevents the generation of downloadable private key JSON files, while Workload Identity Federation allows external runners to exchange short-lived tokens from external Identity Providers (such as GitHub Actions or Jenkins) for short-lived Google Cloud access tokens.This approach directly resolves both identity lifecycle and credential exposure challenges. It eliminates non-human dependencies on human accounts, removes vulnerable service account key files, and establishes a governed, audited path for human emergency access.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.