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.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
Your enterprise uses automated CI/CD pipelines that dynamically provision ephemeral Google Cloud projects to run integration tests and validate containerized workloads. These temporary environments create Compute Engine instances, Cloud Storage buckets, and analytical clusters before being destroyed.
Your security team mandates the following governance requirements for all ephemeral environments:
Which combination of Google Cloud security controls and configuration management policies should you implement?
Configure OS Login with 2-step verification at the organization node, configure Cloud Identity Access Bindings with overlapping groups for temporary access, and rely on standard VPC firewall rules to prevent data exfiltration.
Assign service accounts domain-wide delegation for ephemeral provisioning, export Cloud Audit Logs to BigQuery for hourly policy compliance scans, and block key creation using Compute Engine instance metadata.
Enforce the iam.disableServiceAccountKeyCreation organization policy constraint on the ephemeral folder, include new ephemeral projects in a VPC Service Controls perimeter, and use Privileged Access Manager (PAM) for just-in-time elevated developer access.
Grant developers the roles/resourcemanager.organizationAdmin role permanently, deploy Cloud NAT gateways in each ephemeral project for network isolation, and store generated service account keys in Secret Manager.
Configure OS Login with 2-step verification at the organization node, configure Cloud Identity Access Bindings with overlapping groups for temporary access, and rely on standard VPC firewall rules to prevent data exfiltration.
Assign service accounts domain-wide delegation for ephemeral provisioning, export Cloud Audit Logs to BigQuery for hourly policy compliance scans, and block key creation using Compute Engine instance metadata.
Enforce the iam.disableServiceAccountKeyCreation organization policy constraint on the ephemeral folder, include new ephemeral projects in a VPC Service Controls perimeter, and use Privileged Access Manager (PAM) for just-in-time elevated developer access.
This architecture combines Organization Policies, VPC Service Controls (VPC SC), and Privileged Access Manager (PAM) to establish an automated, zero-trust security baseline for short-lived cloud environments.
iam.disableServiceAccountKeyCreation constraint at the folder level ensures that any dynamically provisioned project inside that folder automatically inherits the restriction, blocking the generation of long-lived service account keys.This approach aligns with Google Cloud security best practices by automating guardrails via the resource hierarchy and enforcing strict perimeter boundaries, ensuring temporary environments maintain the same security rigor as production systems.
Grant developers the roles/resourcemanager.organizationAdmin role permanently, deploy Cloud NAT gateways in each ephemeral project for network isolation, and store generated service account keys in Secret Manager.