Associate Cloud Engineer
You are managing a new project for a web application on Google Cloud. The web application is running on a Compute Engine VM, and your team has a strict budget. You have already created a budget in Cloud Billing and set an alert rule to send an email when 90% of the budget is consumed. You must ensure that project spending automatically stops if it exceeds the budgeted amount. What should you do?
- A. Create a new Cloud Billing account, and associate the project with it to prevent new spending from affecting your project’s budget.
- B. Create a Pub/Sub topic, and connect it to the budget. Create a Cloud Run function that subscribes to the Pub/Sub topic and executes code to stop the VM.
- C. Use the Cloud Billing dashboard to identify the forecasted spend of your project, and then update the budget and alert to match the forecasted spend.
- D. Rely on the budget’s configuration to automatically disable billable resources when the spend reaches 100%.