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.
Your enterprise uses automated CI/CD pipelines to dynamically provision ephemeral test environments for pull requests. Multiple engineering teams deploy dozens of short-lived Google Cloud projects daily. You must implement a governance, lifecycle, and cost control strategy that satisfies the following requirements:
What should you do?
This solution implements a complete automated lifecycle and governance framework for dynamic, short-lived environments. It combines principle-of-least-privilege Identity and Access Management (IAM), structured resource tagging, granular analytical billing exports, and serverless automation to manage ephemeral infrastructure safely at scale.
roles/billing.user) at the organization or billing account level allows the automation service account to attach the billing account to newly created projects without granting permissions to view invoices, modify billing admins, or adjust payment profiles.environment: ephemeral, team: core-platform, and ttl: 24h) ensures every dollar spent is tracked. Exporting billing data directly into BigQuery provides a robust, real-time analytics warehouse to slice and dice costs across teams, environments, and specific pipeline runs.This architecture establishes a secure, hands-off operational model. It avoids administrative bottlenecks and enforces resource disposal at the project root level, guaranteeing that all child cloud resources (disks, IPs, services) are destroyed together.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.