Google Associate Cloud EngineerSetting up a cloud solution environmentHard
A company has multiple Google Cloud projects, each with its own dedicated billing account. They want to set up an alert that notifies an administrator whenever the monthly spend for any single project exceeds $500. Which combination of Google Cloud services would be most effective for creating this type of budget alert?
- ACloud Monitoring and Cloud Logging with custom metrics.
- BCloud Scheduler to run a custom script that queries billing data.
- CCloud Billing with Budget Alerts configured per project.
- DCloud Functions triggered by Pub/Sub messages from project activity.
Show answer & explanationAnswer & explanation
Correct answer: C. Cloud Billing with Budget Alerts configured per project.
Cloud Billing natively supports creating budget alerts that can be configured at the project level. These alerts can notify users when actual or forecasted spend exceeds a defined threshold, making it the most direct and effective solution.
Why the other options are wrong
- A. While possible, this is overly complex compared to the native billing alert feature and requires custom metric creation.
- B. This is a custom, more complex solution requiring development and maintenance, whereas native budget alerts exist.
- D. This is a highly complex and indirect way to achieve budget alerts, not designed for simple spend threshold notifications.
GCP Billing Budget Alerts
Google Cloud Billing allows users to create budgets and set up alerts that notify them when their spending (actual or forecasted) approaches or exceeds a specified threshold.
- Can be set at the billing account or project level.
- Alerts can be based on actual or forecasted spend.
- Notifications sent via email or Pub/Sub.
Memory trick: To manage your money, you need a budget and a bell.