A cloud engineering team needs to implement automated cost-management controls and detailed analytics for their organization's Google Cloud infrastructure. They want to receive programmatic triggers to automatically stop non-essential compute workloads when monthly spend reaches of the set budget, while also retaining granular daily cost data for custom SQL queries. Which of the following configuration steps must be performed to meet these requirements? (Select TWO.)
- Connect a Cloud Pub/Sub topic to the billing budget to receive threshold notification messages for automated execution.Cevap
- Enable Cloud Billing export to a BigQuery dataset from the Billing section of the Google Cloud Console.Cevap
- CConfigure the budget alert rule settings to automatically cap project quotas and stop virtual machines upon reaching .
- DAssign the Project Owner role on the application target project to grant permission to configure billing exports for the Billing Account.
Cevap
The required steps are: connecting a Cloud Pub/Sub topic to the billing budget to receive programmatic notifications, and enabling Cloud Billing export to a BigQuery dataset within the Billing section of the Google Cloud Console.
Attaching a Cloud Pub/Sub topic to a budget enables programmatic notifications, allowing serverless code like Cloud Functions to disable billing or stop workloads when thresholds are met. Additionally, setting up Cloud Billing export to BigQuery allows raw daily cost data to be stored and analyzed using standard SQL queries.
Adım Adım Çözüm
Anahtar Kavram
Budget programmatic notifications via Cloud Pub/Sub and Cloud Billing BigQuery export configuration.