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.
A DevOps team is establishing automated cost governance for a sandbox Google Cloud project to prevent runaway expenses. The solution must satisfy the following technical and operational requirements:
Which configuration should the DevOps engineer implement?
Google Cloud Billing budgets allow organizations to track resource costs against defined monetary targets. When coupled with Cloud Pub/Sub, budget alerts become programmatic triggers that publish real-time budget status messages as structured JSON objects, enabling serverless automation like Cloud Functions or Cloud Run to act as automated remediation runbooks.
>100%) allows the system to extrapolate current consumption trends out to the end of the calendar month and trigger alerts before the allocation is fully depleted.google.billing.v1.CloudBilling).alertThresholdExceeded and forecastThresholdExceeded fields for downstream parsing.costAmount, budgetAmount, and current billing period dates.Cloud Billing budgets do not natively cap infrastructure or enforce hard billing limits out of the box. Using Pub/Sub programmatic notifications with threshold rules is the official, Google-recommended pattern for building automated cost capping, shutdown runbooks, and proactive alerting pipelines.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.