An organization is configuring billing controls for a newly provisioned Google Cloud environment. The cloud operations team must set up programmatic alert notifications whenever project spending exceeds defined monthly thresholds and export detailed usage data to BigQuery for analytical reporting. Which TWO steps or configuration requirements are necessary to achieve this setup? (Select TWO.)
- Grant the user configuring the budgets and exports the Billing Account Costs Manager or Billing Account Administrator role on the target Cloud Billing account.Answer
- Pub/Sub integration must be enabled on the budget to publish message payloads to a Cloud Pub/Sub topic for downstream programmatic handling.Answer
- CEnable automated resource capping directly within the budget threshold rules to shut down Compute Engine instances when of the budget is spent.
- DGrant the user configuring the billing export the Project Viewer role on the target project to automatically inherit Cloud Billing export administrative access.
Answer
The correct requirements are assigning the Billing Account Costs Manager or Administrator role on the Cloud Billing account, and connecting the budget to a Cloud Pub/Sub topic for programmatic alerts.
Configuring Cloud Billing budgets, setting up alerts, and enabling BigQuery billing exports require permissions on the Cloud Billing account itself (such as Billing Account Costs Manager or Billing Account Administrator). Furthermore, for programmatic alert actions (e.g., executing custom code on threshold breach), budgets must publish notifications to a Cloud Pub/Sub topic.
Step-by-Step Solution
Key Concept
Cloud Billing budget alerts send emails or Pub/Sub notifications but do not cap resources automatically; setup requires Cloud Billing IAM permissions.
Estimated Time:1m 30s