Medium1 markMultiple Choice
Domain 1.2: Managing billing configurationDomain 1.2BillingBudgetsAlerts

GCP ACE · Question 04 · Domain 1.2: Managing billing configuration

Your development team is experimenting with new GCP services in a sandbox project. The finance team has mandated that the project must not exceed $500 per month. You need to ensure the team is notified if costs approach this limit, but you do not want to automatically shut down resources to avoid data loss.

What should you do?

Answer options:

A.

Set a project quota of $500 in the IAM & Admin console.

B.

Create a budget in Cloud Billing for the project, set the amount to $500, and configure threshold alerts to email the billing administrators.

C.

Create a budget in Cloud Billing and link it to a Cloud Function that disables billing when the $500 limit is reached.

D.

Export billing data to BigQuery and write a scheduled query to check if the cost exceeds $500.

How to approach this question

Recognize that GCP budgets send alerts by default but do not cap spending or shut down resources unless explicitly configured to do so via Pub/Sub.

Full Answer

B.Create a budget in Cloud Billing for the project, set the amount to $500, and configure threshold alerts to email the billing administrators.✓ Correct
Cloud Billing budgets allow you to track your Google Cloud spend. By default, when a budget threshold is met, an email alert is sent to the billing account administrators. It does not automatically cap spending or shut down resources, which perfectly matches the requirement.

Common mistakes

Assuming budgets automatically stop resources when the limit is reached. They only alert unless integrated with Pub/Sub and Cloud Functions.

Practice the full GCP Associate Cloud Engineer Practice Exam 3

50 questions · hints · full answers · grading

More questions from this exam