Associate Cloud Engineer
You are a Cloud Billing administrator for your company. Your company uses numerous Google Cloud projects and needs to implement a cost-control mechanism. Project teams must be notified promptly when their spending approaches its limit. You need to send near real-time notifications to a team’s Slack channel when their project’s spending reaches a predefined budget threshold. Your solution must be easy to support and require minimal maintenance. What should you do?
- A. Create a detailed billing export to BigQuery. Create a Cloud Composer directed acyclic graph (DAG) that runs on a schedule to analyze the BigQuery data and post notifications to Slack.
- B. Create a programmatic budget notification to send messages to a Pub/Sub topic. Create a Cloud Run function that is triggered by messages on the topic and posts the notifications to Slack.
- C. Create a programmatic budget notification to send messages to a Pub/Sub topic. Create a Compute Engine managed instance group to pull messages from the Pub/Sub subscription and post them to Slack.
- D. Create a detailed billing export to BigQuery. Create a Cloud Scheduler job that triggers a Cloud Run function to analyze the BigQuery data and post notifications to Slack.