For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 6Question 04
    Medium1 markMultiple Choice
    Domain 1.2: Managing billing configurationBillingBudgetsPub/SubCloud Functions

    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:

    A.

    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%.

    B.

    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.

    C.

    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.

    D.

    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.

    How to approach this question

    Recognize that GCP budgets do not stop spending automatically. You must use programmatic billing controls (Pub/Sub + Cloud Functions) to cap costs.

    Full Answer

    B.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.✓ Correct
    Create a budget with alerts at 50%, 90%, and 100%. Use Pub/Sub to trigger a Cloud Function that disables billing for the project when the 100% threshold is reached.
    By default, Google Cloud budgets only trigger email alerts; they do not automatically stop resources or prevent spending. To enforce a hard cap, you must configure the budget to send programmatic notifications to a Cloud Pub/Sub topic. You can then write a Cloud Function that listens to this topic and uses the Cloud Billing API to disable billing for the project when the 100% threshold is reached. Disabling billing causes all billable services to stop.

    Common mistakes

    Assuming GCP has a simple 'hard cap' toggle switch for budgets.
    Question 03All questionsQuestion 05

    Practice the full GCP Associate Cloud Engineer Practice Exam 6

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01What is the primary purpose of a Google Cloud project?EasyQ02Your development team needs to manage Compute Engine instances in a specific project. They need t...MediumQ03You are automating the setup of a new Google Cloud project using a bash script. You need to enabl...EasyQ05Your finance team wants to perform granular analysis of your Google Cloud spending using SQL. The...HardQ06You have just installed the Google Cloud SDK on your local workstation. You want to authenticate ...Easy
    View all 50 questions →