Courseiva
How Google Cloud Resources Are ManagedhardMultiple ChoiceObjective-mapped

Cloud Digital Leader How Google Cloud Resources Are Managed Practice Question

A company wants to receive near-real-time notifications when spending in a project exceeds 50%, 75%, and 100% of a monthly budget of $50,000. They also want to automatically disable billing for the project if spending exceeds $60,000. Which configuration should they use?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Create a budget with thresholds at 50%, 75%, 100% and set up a Cloud Function that listens to Pub/Sub messages from the budget to automatically disable billing when a 120% threshold is exceeded.

Budgets can be set with multiple threshold rules for notifications. However, automatically disabling billing requires a separate automation (e.g., Cloud Functions triggered by Pub/Sub) because budgets do not perform actions beyond notifications and Pub/Sub messages.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use the Cost Management dashboard to monitor spending and disable billing manually.

    Why it's wrong here

    The Cost Management dashboard is a visualization tool that shows historical and current spend, but it has no programmatic triggers or outbound integrations. Relying on a human to watch it and manually disable billing cannot satisfy a near-real-time automated response requirement. This approach also bypasses Cloud Billing budgets and Pub/Sub, which are the foundational services designed to emit threshold-based events for automation.

  • Create a budget alert at 100% only and manually disable billing when alerted.

    Why it's wrong here

    Creating a single budget alert at 100% gives only one notification point and does not provide early warning or an automated action. Manually disabling billing after being alerted requires human intervention, which slows remediation and risks missing the window if no one is monitoring. Additionally, budget alerts alone only send notifications—they do not terminate resource usage unless you build a separate automation to consume that alert and call the Cloud Billing API.

  • Create a budget with thresholds at 50%, 75%, 100% and set the 'disable billing' action on the budget.

    Why it's wrong here

    Cloud Billing budgets support threshold rules that trigger notifications, but they do not have a built-in action called 'disable billing'. This option conflates budget thresholds with an action that does not exist in the GCP product. To disable billing programmatically, you must deploy a separate service, such as a Cloud Function invoked via Pub/Sub, which calls the billing account update endpoint to explicitly disable the account.

  • Create a budget with thresholds at 50%, 75%, 100% and set up a Cloud Function that listens to Pub/Sub messages from the budget to automatically disable billing when a 120% threshold is exceeded.

    Why this is correct

    This is the correct architecture: Cloud Billing budgets can send threshold-alert messages to a Pub/Sub topic when spend crosses defined percentages (e.g., 50%, 75%, 100%, 120%). A Cloud Function subscribes to that topic, parses the budget notification payload, and if the cost exceeds the intended final threshold (120%), it invokes the Cloud Billing API to disable the billing account. This provides near-real-time, automated enforcement without manual steps, while the earlier thresholds serve as warnings that can trigger other notifications or actions.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

About these practice questions

One of 829 original GCDL practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This GCDL practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCDL exam.