GCP ACE · Question 04 · Domain 1.2: Managing billing configuration
Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if your spending exceeds 50%, 90%, and 100% of this budget. You also want to ensure that if the budget is exceeded, no further costs are incurred, even if it means shutting down resources.
How should you configure this?
Answer options:
Create a budget with alerts at 50%, 90%, and 100%. Check the 'Hard Cap' box in the billing console to automatically shut down resources at 100%.
Create a budget with alerts at 50%, 90%, and 100%. Configure the budget to send notifications to a Pub/Sub topic. Create a Cloud Function triggered by this topic to disable billing on the project.
Set up a billing export to BigQuery. Write a scheduled query that runs every hour to check the cost. If the cost exceeds $500, use a stored procedure to delete the project.
Create a budget with alerts at 50%, 90%, and 100%. Assign the Billing Account Administrator role to the project owner so they can manually stop instances when they receive the email.
50 questions · hints · full answers · grading