examlab .net The most efficient path to the most valuable certifications.
In this note ≈ 19 min

Cost Management and Pricing Tools

3,780 words · ≈ 19 min read ·

Master Google Cloud cost management tools for the CDL exam: Billing Reports, Pricing Calculator, BigQuery Billing Export, Budgets and Alerts, Quotas, CUDs, SUDs, Spot VMs, and FinOps lifecycle.

Do 20 practice questions → Free · No signup · CDL

Why Cost Management Tools Matter on the CDL Exam

The Cloud Digital Leader (CDL) exam consistently tests whether a business decision maker can pick the right tool for the right phase of cloud spending. The exam will not ask you to memorise SKU pricing or the exact percentage discount for an n2-standard-4 machine. Instead, it tests whether you understand the purpose of each cost management tool — when to estimate, when to monitor, when to alert, when to cap, and when to discount.

Cost management on Google Cloud spans three families of tools that map directly to the FinOps lifecycle: Inform (visibility), Optimize (cut waste), and Operate (continuous management). On top of that lifecycle sits a layered governance model where the billing account pays for one or more projects, and where budgets, quotas, and discounts combine to keep costs predictable. A strong CDL candidate can describe each of these layers in plain business language without diving into command-line examples.

This study note walks through every cost management tool you need to recognise for the CDL exam: Billing Reports, the Pricing Calculator, BigQuery Billing Export, Budgets and Alerts, Quotas, programmatic budget actions, Active Assist Cost Recommendations, Committed Use Discounts (CUDs), Sustained Use Discounts (SUDs), Spot VMs, and Rightsizing. We finish with FAQs and an exam-style summary.

Google Cloud Billing Structure: Account, Projects, Resources

Before you can manage costs, you must understand how Google Cloud organises spending. The hierarchy has three layers that the CDL exam loves to test:

Billing Account

A Cloud Billing Account is the financial container. It is linked to a payment instrument — a credit card for self-serve customers, or an invoiced contract for enterprises — and it is the entity that actually receives the monthly invoice. A Billing Account lives at the Organization level and can be either Self-serve (online) or Invoiced (offline contract).

Projects

A Project is the unit of work. It is where resources are created, where APIs are enabled, and where IAM permissions are applied. A project must be linked to a Billing Account to use any paid service. If you unlink a project from its billing account, all paid resources stop working within hours.

Resources

A Resource is the actual thing being billed — a Compute Engine VM, a Cloud SQL instance, a Cloud Storage bucket, a BigQuery query. Resources accumulate charges per second (for compute) or per byte (for storage and egress).

One Billing Account, Many Projects

One Billing Account can pay for many Projects. A large enterprise typically has one master Billing Account that pays for dozens or hundreds of projects, with sub-accounts used by resellers or large business units to separate invoicing without losing the master contract.

A Cloud Billing Account is the payment entity that receives the invoice. A Project is the workload boundary that consumes services. A Resource is the billable item inside a project. One billing account can fund many projects, but every project must be linked to exactly one billing account. See https://cloud.google.com/billing/docs/concepts.

白話文解釋(Plain English Explanation)

The way Google Cloud bills you and the way you control that bill mirror everyday financial habits. To remember the cost management tools, anchor each one to a familiar life situation.

Analogy 1 — The Family Household Budget Book

Picture a family that keeps a household budget book. At the start of the month, the parents estimate how much they will spend on groceries, electricity, school fees, and entertainment. That estimate is the Pricing Calculator — a forecast made before any money is spent.

During the month, the parents look at their expense ledger to see what each family member actually spent. That ledger is the Billing Report, broken down by service (groceries, utilities, schools) and by person (project labels). If the children blow through their allowance early, the parents do not want to be surprised on payday — they set a Budget Alert that pings them when 50%, 90%, and 100% of the monthly budget has been spent. That alert is exactly what Google Cloud Budgets do. The catch is that the alert does not stop the children from spending more; it only informs the parents so they can have a conversation. To actually stop the spending, the parents would need to take away the credit card — that is a Quota. Some advanced families even automate it: when the alert fires, an automatic rule disables the family Netflix account. That is a programmatic budget action using Pub/Sub and Cloud Functions. The whole household budget loop — estimate, track, alert, cap — is FinOps in miniature.

Analogy 2 — The Restaurant Cost Control Playbook

A restaurant manager has a tough job. Every plate of food costs money in ingredients, but every empty seat costs money in rent and wages. To keep the restaurant profitable, the manager uses several tools that map perfectly to Google Cloud cost management.

First, the Menu Pricing Sheet estimates how much each dish costs to make before it is even cooked — that is the Pricing Calculator. Second, the manager has a Daily Sales Report that shows which dishes sold and how much ingredient was used — that is the Billing Report. Third, the manager negotiates a wholesale contract with the vegetable supplier: by promising to buy 1,000 kilograms of tomatoes per month for one year, the manager gets a 40% discount. That is a Committed Use Discount. Fourth, the manager uses clearance pricing for ingredients that are close to expiring — selling them at 90% off rather than throwing them away. That is Spot VMs, which sell spare Compute Engine capacity at up to 91% off, with the catch that Google can reclaim the capacity at any time, just like the clearance ingredient could be sold to someone else first. Fifth, the manager reviews the waste log every week to find dishes nobody ordered and ingredients that spoiled in the fridge. That waste audit is the Recommender, surfacing idle VMs and oversized instances.

Analogy 3 — The Credit Card Statement and Rewards Programme

When you receive a credit card statement, you see four things: the total balance, the breakdown by merchant category, the rewards points earned, and (if you opted in) alerts when a transaction exceeds a threshold. Google Cloud billing works the same way.

The total balance is your monthly invoice. The breakdown by merchant category is Billing Reports filtered by service or by project label. The rewards points are Sustained Use Discounts, which are automatic credits you earn for using a VM more than 25% of the month — you do not sign up, you do not apply a coupon, the rewards just accrue. The transaction alert is the Budget Alert. And the fact that the credit card will eventually decline a charge if you exceed your credit limit is the equivalent of a Quota — a hard cap on usage that does stop spending, in contrast to the soft alert. Just like a credit card statement does not stop you from buying things even when an alert fires, a Cloud Billing Budget alert does not stop your services. The actual stop happens at the quota layer.

Visibility Tools: Billing Reports and the Pricing Calculator

The first phase of FinOps is Inform. You cannot optimise what you cannot see.

Billing Reports

Billing Reports are built into the Google Cloud Console under Billing. They show cost over time as line charts and bar charts, with filters for service, project, label, SKU, and location. A CDL candidate should know that Billing Reports are the default "where did the money go" view, and that they support custom date ranges and forecasts for the next month.

Pricing Calculator

The Google Cloud Pricing Calculator is a public web tool at cloud.google.com that estimates monthly cost before you build anything. You input your expected configuration — number of VMs, machine type, disk size, network egress, BigQuery storage — and it returns a monthly estimate. CDL exam questions often phrase this as "before migrating, how do I estimate the monthly cost?" The answer is always the Pricing Calculator.

Cost Table and Cost Breakdown

Beyond charts, Billing offers a Cost Table (a spreadsheet view of every line item) and a Cost Breakdown report that separates list cost, discounts applied (CUDs, SUDs, promotional credits), and net charge. This is how finance teams reconcile what they were charged versus what the list price would have been.

BigQuery Billing Export and Custom Dashboards

For large organisations, the built-in Billing Reports are not flexible enough. Google provides Cloud Billing Export to BigQuery, which streams detailed usage data and resource-level data into a BigQuery dataset every few hours.

What Gets Exported

The export includes the SKU, service, project, labels, location, cost, credits, usage amount, and (in the detailed export) the specific resource ID. This is the raw material for custom analysis.

Building Custom Dashboards

Once the data is in BigQuery, finance and FinOps teams typically build dashboards in Looker Studio (the free Google offering) or Looker (the enterprise BI platform). Common dashboards include cost-per-team, cost-per-customer, cost-per-feature, and forecast-versus-actual.

For the CDL exam, remember the visibility pattern: Pricing Calculator for pre-purchase estimates, Billing Reports for built-in monitoring, and BigQuery Billing Export plus Looker Studio for custom analysis at scale. Choose Billing Reports for quick exec views and BigQuery Export when finance teams need joins with non-billing data such as HR headcount or revenue. See https://cloud.google.com/billing/docs/how-to/export-data-bigquery.

Governance Tools: Budgets, Alerts, and Quotas

The second pillar of cost management is governance — the rules and limits that prevent runaway spend. The CDL exam loves to test the difference between Budgets (informational) and Quotas (enforcing).

Budgets and Alerts

A Budget is a target amount of spending for a billing account, a project, or a subset of services. You configure threshold rules — typically at 50%, 90%, 100%, and 120% of the budget — and Google sends email notifications to billing administrators when the actual or forecasted spend crosses those thresholds.

The critical fact: A Budget does NOT cap spending. It is informational only. Your services keep running even if you go three times over budget. The exam phrases this as "will my application stop if I hit my budget?" The answer is no.

Quotas

A Quota is a hard limit on resource usage. Quotas are enforced at the API level: when a request would exceed the quota, the API returns an error. Quotas exist at two scopes:

  • Rate quotas — requests per minute (e.g., Compute Engine API requests).
  • Allocation quotas — total resources at any one time (e.g., CPUs per region).

Because quotas cap usage, they indirectly cap spend. If you set a quota of 10 vCPUs in a region, no developer can spin up an 11th VM, no matter how mistakenly. Quotas are the primary defence against bugs, runaway scripts, and compromised credentials.

A common CDL exam trap is the question "How do I prevent my project from exceeding $1,000 in a month?" The intuitive answer is "set a budget" — but Budgets only send alerts, they do not cap spend. To actually stop spending, you need either Quotas (which cap usage) or programmatic budget actions that trigger a Pub/Sub message and a Cloud Function to disable billing on the project. Pick the answer that mentions Pub/Sub or Quotas, not the one that only mentions a Budget. See https://cloud.google.com/billing/docs/how-to/budgets.

Programmatic Budget Actions

For organisations that want automated cost control, Cloud Billing budgets can publish to a Pub/Sub topic every time a threshold is crossed. A Cloud Function can subscribe to that topic and take action — for example, disabling billing on the project (which stops all paid services), shutting down specific VMs, or sending a Slack notification to the engineering channel. This combination of Budget + Pub/Sub + Cloud Function is how mature FinOps teams move from "alert" to "auto-stop."

Optimization Tools: Cost Recommendations and Active Assist

The third pillar is optimization — finding ways to spend less without harming performance.

Active Assist Cost Recommendations

Active Assist is Google Cloud's family of AI-powered recommendations. The Recommender for cost surfaces multiple opportunities:

  • Idle VM Recommender — VMs with under 5% CPU utilisation for two weeks.
  • Idle Disk Recommender — persistent disks not attached to any instance.
  • VM Rightsizing Recommender — VMs whose CPU and memory are oversized for their actual workload.
  • Unattached IP Address Recommender — static IPs not currently in use (which still cost money).
  • Committed Use Discount Recommender — suggests CUDs based on your stable baseline usage.

These recommendations appear in the Console next to each resource and in a central Recommender dashboard. They are surface-level signals, not auto-applied changes, so a human always reviews before deleting or resizing.

Rightsizing

Rightsizing is the practice of matching the machine type to the actual workload. A VM that consistently uses 10% of its CPU is oversized; moving from an n2-standard-8 to an n2-standard-2 cuts the bill by 75% with no performance impact. The Rightsizing Recommender does the maths for you and proposes the smaller machine type, including estimated monthly savings.

Set a recurring monthly calendar reminder to review the Active Assist Recommender for cost recommendations across all projects. Even mature FinOps teams accumulate idle VMs and unattached disks; a 30-minute monthly review typically uncovers 5–15% of waste. Pair this review with labelling discipline — when every resource has an owner, env, and team label, the Billing Report immediately shows whose budget the waste belongs to. See https://cloud.google.com/recommender/docs/whatis-activeassist.

Discount Programs: CUDs, SUDs, and Spot VMs

Google Cloud offers three discount mechanisms that can dramatically lower your bill. The CDL exam tests whether you can match each discount to the workload type that benefits from it.

Committed Use Discounts (CUDs)

Committed Use Discounts require you to commit to a baseline of vCPU, memory, or specific Google Cloud services (such as Cloud SQL, GKE Autopilot, or Cloud Run) for 1 year or 3 years. In exchange, Google discounts the list price by 25% to 57% depending on the term and resource type. CUDs come in two flavours:

  • Resource-based CUDs — commit to a specific machine family in a specific region. Higher discount, less flexible.
  • Spend-based CUDs (Flex CUDs) — commit to a dollar-per-hour spend on a service. Slightly lower discount, but the commitment automatically applies across machine families and regions.

CUDs are ideal for stable, predictable, always-on workloads — the production database, the main web tier, the analytics warehouse. Every CDL question that mentions "the workload runs 24/7 for years" points to CUDs.

Sustained Use Discounts (SUDs)

Sustained Use Discounts are automatic discounts on Compute Engine usage. If you run a VM for more than 25% of a billing month, Google automatically starts applying a discount on the remaining hours, reaching up to 30% for VMs that run all month. You do not sign anything; you do not change any configuration. SUDs simply appear as credits on your bill.

SUDs are perfect for workloads that are long-running but not committed — a VM that runs for the whole month but where you do not want to lock in a 1-year contract.

Spot VMs

Spot VMs are spare Compute Engine capacity sold at 60% to 91% off list price. The trade-off is pre-emption risk: Google can reclaim a Spot VM at 30 seconds' notice when on-demand demand spikes. Spot VMs are ideal for fault-tolerant, batch, stateless workloads — rendering jobs, scientific simulations, batch ETL, stateless web tier behind a load balancer with health checks.

CUDs require a 1-year or 3-year commitment for 25% to 57% off, suited to stable workloads. SUDs are automatic past 25% of a month on Compute Engine, no commitment needed. Spot VMs offer up to 91% off on a per-use basis but can be pre-empted at any time. Match the discount to the workload: production database = CUD, long-running monitoring server = SUD, batch render farm = Spot. See https://cloud.google.com/compute/docs/instances/spot.

The FinOps Lifecycle: Inform, Optimize, Operate

All of the tools above plug into Google Cloud's three-phase FinOps lifecycle, which the CDL exam expects you to recite in order.

Phase 1 — Inform (Visibility)

Make cost visible. Use Labels on every resource (env:prod, team:checkout, owner:jane). Use Billing Reports for built-in views. Use BigQuery Billing Export and Looker Studio for custom dashboards. Use the Pricing Calculator before launching new workloads. The deliverable of Inform is "every team knows what they spend."

Phase 2 — Optimize (Cut Waste)

Use Active Assist Recommender to find idle VMs and unattached disks. Use Rightsizing to shrink oversized machines. Apply CUDs to stable workloads. Move batch jobs to Spot VMs. Re-architect to managed services (Cloud Run, BigQuery) when self-managed VMs are over-provisioned. The deliverable of Optimize is "the bill drops by 20-40% without harming performance."

Phase 3 — Operate (Continuous Management)

Set Budgets and Alerts so finance teams are warned early. Set Quotas so technical mistakes cannot blow up the bill. Establish a monthly FinOps review with finance, engineering, and product. Tie cost KPIs to OKRs so engineering leaders own their cloud bill. The deliverable of Operate is "cost discipline becomes business as usual."

Memorise the FinOps lifecycle for the CDL exam: Inform → Optimize → Operate. Inform uses Billing Reports, Pricing Calculator, and BigQuery Export. Optimize uses Active Assist Recommender, Rightsizing, CUDs, SUDs, and Spot VMs. Operate uses Budgets, Alerts, Quotas, and programmatic budget actions. The exam often gives a business scenario ("our team has no idea what we spend") and asks which FinOps phase to start in — the answer is almost always Inform first. See https://cloud.google.com/finops.

How Cost Tools Map to Business Roles

Different stakeholders use different tools. The CDL exam may ask which tool a CFO versus an engineer versus a finance analyst should use.

The CFO View

Executives want monthly trends and forecasts. They use the Billing Reports overview dashboard, the forecast widget for next-month spend, and executive Looker Studio dashboards built on BigQuery Billing Export.

The Engineering Lead View

Engineering leaders want cost per team or per service. They rely on labels filtered in Billing Reports, per-project budgets, and Active Assist recommendations for their team's projects.

The Finance Analyst View

Finance analysts want invoice reconciliation and chargeback. They use the Cost Table, the Invoices section in Billing, and BigQuery Billing Export for custom chargeback queries.

The DevOps Engineer View

DevOps engineers want resource-level optimization. They use the Recommender in each project, Rightsizing suggestions on each VM, and Quotas to prevent runaway scripts.

Cost management does not live in isolation. The CDL exam connects it to two adjacent areas:

Common Pitfalls to Avoid on the CDL Exam

Even strong candidates lose points on cost management questions. The most common confusions are:

Confusing Budgets with Quotas

Budgets alert, Quotas cap. The exam will phrase the same idea many ways — "stop spend," "automatically prevent overspend," "limit resource creation" — and the trap is to pick Budget when the only correct answer is Quota or a programmatic budget action.

Confusing CUDs with SUDs

CUDs are contractual; SUDs are automatic. CUDs apply to many services; SUDs apply to Compute Engine specifically. CUDs require explicit purchase; SUDs require nothing.

Forgetting Spot VM Pre-emption

Spot is cheap precisely because Google can take the capacity back. Never put a stateful database on Spot VMs. The exam tests this by describing a critical workload and asking if Spot is appropriate — the answer is no for anything that cannot tolerate restart.

Forgetting to Label Resources

Labels are the foundation of all per-team visibility. Without team, env, and owner labels, Billing Reports can only show cost by service or project, not by who is actually responsible. Most exam questions about "who is spending the most" point to labels.

Picking the Wrong FinOps Phase

If the scenario says "we have no idea what we spend," the answer is Inform. If it says "our bill is too high," the answer is Optimize. If it says "we want to keep cost stable over time," the answer is Operate. Match the phase to the verb in the question.

Frequently Asked Questions

Q: What is the difference between a Cloud Billing Budget and a Quota?

A: A Budget sends email alerts when spending crosses thresholds but does not stop services. A Quota is a hard limit on resource usage enforced at the API layer, so it prevents creation of more resources and therefore caps spend. Use Budgets for awareness; use Quotas (or programmatic budget actions) for enforcement.

Q: How do I estimate the monthly cost of a workload before I migrate?

A: Use the Google Cloud Pricing Calculator at cloud.google.com. Input your expected VMs, storage, network egress, BigQuery storage and queries, and managed service usage. The calculator returns a monthly estimate that includes Sustained Use Discounts where applicable.

Q: When should I choose Committed Use Discounts over Sustained Use Discounts?

A: Choose CUDs when the workload is stable and predictable for at least 1 year — production databases, always-on web tiers, baseline analytics. CUDs require an explicit 1-year or 3-year purchase and deliver 25–57% off. SUDs apply automatically on Compute Engine usage past 25% of a billing month and require no commitment, so they are the default for long-running but uncommitted workloads.

Q: Are Spot VMs safe to use in production?

A: Spot VMs can be used in production for fault-tolerant, stateless, batch workloads — rendering, scientific computing, batch ETL, stateless workers behind a queue. They are not appropriate for stateful databases, customer-facing real-time tiers without redundancy, or any workload that cannot survive a 30-second pre-emption notice.

Q: How do I export billing data for custom analysis?

A: Enable Cloud Billing Export to BigQuery under Billing settings. Google streams standard usage cost data and (optionally) detailed resource-level data into a BigQuery dataset every few hours. From there, query with SQL or build dashboards in Looker Studio or Looker for chargeback, forecasting, and trend analysis.

Q: How do I actually stop spending when a budget is exceeded?

A: Standard budget alerts only send emails. To actually stop spending, configure the budget to publish to a Pub/Sub topic, subscribe a Cloud Function to that topic, and have the function call the billing API to disable billing on the project or shut down specific resources. This pattern — Budget + Pub/Sub + Cloud Function — is the official way to convert an alert into an auto-stop.

Q: What is Rightsizing and how do I find rightsizing opportunities?

A: Rightsizing means matching the machine type to actual usage. The Active Assist VM Rightsizing Recommender automatically analyses CPU and memory utilisation of each Compute Engine VM and proposes smaller machine types where the current size is over-provisioned. Each recommendation includes the estimated monthly savings, so engineers can prioritise the highest-impact moves first.

Summary: Cost Tools as Levers, Not Decorations

For the Cloud Digital Leader exam, cost management is not about memorising prices — it is about knowing which lever to pull. Pricing Calculator estimates before launch. Billing Reports and BigQuery Export inform during operation. Budgets and Alerts warn early, Quotas cap hard, and programmatic budget actions auto-stop. Active Assist Recommender finds waste. CUDs, SUDs, and Spot VMs discount the bill. All of this is sequenced by the Inform → Optimize → Operate FinOps lifecycle.

Master that mental model and you can answer almost any CDL cost management question without ever knowing the exact dollar price of an n2-standard-4. The exam rewards the business decision maker who knows which tool to point at which problem, in which order, with which trade-off — not the one who memorised the SKU catalogue.

Official sources

More CDL topics