Associate Cloud Engineer ยท Billing, locations and environment tooling
Budgets and alerts
Creating budgets, threshold rules on actual and forecasted spend, email and Pub/Sub notifications, and why a budget alert does not stop spending by itself.
Key points
- A budget tracks spend against a set amount for a billing account, projects or services.
- Thresholds: actual or forecasted spend (forecasts need a recurring calendar period).
- New budgets start with 50%, 90% and 100% actual thresholds.
- Notifications: email to billing admins and users, optionally a Pub/Sub topic.
- An alerts-only budget never caps spending or stops services; automation on Pub/Sub must do that.
Source: https://docs.cloud.google.com/billing/docs/how-to/budgets
Practice questions
Which alert thresholds does a newly created budget include by default?
- 25%, 50% and 75% of forecasted spend
- 50%, 90% and 100% of actual spend
- 80% and 120% of forecasted spend
- 100% of actual spend only
Show answer
Answer: B. 50%, 90% and 100% of actual spend
New budgets default to actual-spend alerts at 50%, 90% and 100% of the amount.
Which are valid ways a budget can notify people or systems?
- Email to Billing Account Administrators and Users
- Messages to a Pub/Sub topic
- Automatic SMS to every project Owner
- Extra recipients through Cloud Monitoring email channels
- Automatic shutdown of running VMs
Show answer
Answer: A. Email to Billing Account Administrators and Users, B. Messages to a Pub/Sub topic, D. Extra recipients through Cloud Monitoring email channels
Email to billing admins and users, a Pub/Sub topic, and extra recipients through Cloud Monitoring email channels are supported. Budgets do not shut down VMs themselves, and there is no built-in SMS.
True or false: a budget with a custom date range can use forecasted threshold alerts.
Show answer
Answer: False
False. Forecasted thresholds need a recurring calendar period (monthly, quarterly or yearly); custom ranges do not support them.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
