Soru

Zorluk: ZorCreating Billing Budgets, Alerts, and BigQuery Exports

An enterprise cloud engineer is tasked with configuring financial management controls for a Google Cloud organization. The requirements specify that historical cost metrics must be saved daily to BigQuery for SQL-based cost analysis, and an event-driven mechanism must be established to broadcast real-time messages when monthly project expenditure hits 80% of a defined financial limit. Which TWO configuration steps are required to fulfill these requirements?

  1. Create a target dataset within BigQuery and enable Cloud Billing export to BigQuery from the Cloud Billing console.Cevap
  2. Configure a Cloud Billing budget with threshold rules set at 80% and attach a designated Cloud Pub/Sub topic under programmatic notifications.Cevap
  3. C
    Enable automated resource capping directly inside the budget settings to stop project compute instances when the 80% threshold is reached.
  4. D
    Enable the BigQuery API at the Google Cloud Organization node level to allow cross-project cost export ingestion.

Cevap

The correct steps are creating a BigQuery dataset and enabling billing export in the Cloud Billing console, alongside configuring a Cloud Billing budget threshold linked to a Cloud Pub/Sub topic for programmatic notification.
Exporting daily Cloud Billing data requires creating a BigQuery dataset in a destination project and configuring standard/detailed export in the Cloud Billing console. For event-driven programmatic alerts, Cloud Billing budgets must be connected to a Cloud Pub/Sub topic under programmatic notification settings.

Adım Adım Çözüm

1
Identify BigQuery export requirements
Creating a BigQuery dataset in the management project and linking it via Cloud Billing export enables automatic daily transfer of raw billing logs.
Cloud Billing export relies on standard BigQuery dataset destinations for raw and detailed usage data streaming.
2
Identify event-driven budget notification requirements
Setting an 80% threshold budget linked to a Cloud Pub/Sub topic publishes JSON alert payloads whenever the threshold is breached.
Native GCP billing budget alerts are passive notifications unless integrated with Cloud Pub/Sub for automated programmatic processing.
3
Evaluate distractor misconceptions
Eliminate choices suggesting native budget resource capping or organization-level API enablement.
GCP budgets never stop resources automatically, and APIs cannot be enabled directly on organization nodes.

Anahtar Kavram

Configuring Cloud Billing BigQuery export and programmatic Pub/Sub budget notifications
Tahmini Süre:2m 30s
Bu soruyu puanla