↑ ↓ to move, Enter to open, Esc to close

    GCP-CDLDigital Leader

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    Exams / GCP-CDL / D3 Scaling with Google Cloud Operations

    D3.2

    Scaling with Google Cloud Operations (part 2 of 2)

    • 11 min read
    • 11 sections
    • 31 questions
    • Exam domain: Scaling with Google Cloud Operations

    Builds on part 1's CapEx/OpEx, committed-use/Spot pricing, SLI/SLO/SLA, observability tools, and Customer Care tiers.

    Sustained use discounts: the automatic counterpart to CUDs

    Part 1 covered committed use discounts (CUDs), which require purchasing a 1- or 3-year commitment to a steady baseline. Sustained use discounts (SUDs) are different: Compute Engine applies them to eligible usage with no purchase or configuration at all.

    "Compute Engine automatically calculates and applies SUDs to resource usage within a Cloud Billing account, so there is no action" — Sustained use discounts

    Committed use discount (CUD) Sustained use discount (SUD)
    Action required Purchase a 1- or 3-year commitment None — automatic
    Fits Known, steady baseline Any eligible usage that happens to run a large share of the billing month
    Risk Pay for the term even if usage drops None (it only ever adds a discount)

    A question that asks "what must I do to receive sustained use discounts?" is testing whether you know the answer is nothing — that's precisely what separates SUDs from CUDs.

    Windows Server licensing: PAYG vs. BYOL

    For Windows Server workloads on Compute Engine, the licensing model matters for cost just as much as the discount model:

    "A core license is charged for each virtual CPU enabled in the" [instance, under Compute Engine's on-demand Windows licensing] — Microsoft licensing on Google Cloud FAQ

    Model How it charges Fits
    Pay-as-you-go (PAYG) Per-vCPU Windows license fee only while the VM runs Intermittently used workloads (e.g. shut down nights/weekends) — no idle license cost, no renewal needed
    Bring-your-own-license (BYOL) Customer keeps/renews its own Microsoft licenses, often tied to sole-tenant nodes Workloads that run close to continuously, where the customer's existing license investment is fully used

    A workload that is deliberately shut down outside business hours gets no benefit from BYOL (the license still has to be renewed regardless of usage) — PAYG, which only charges for the hours the VM actually runs, is the cost-optimal choice there.

    Canary releases: the SRE way to ship risky changes

    Rolling out a new, potentially risky feature (e.g. a new authentication system) to everyone at once maximizes the blast radius if something goes wrong. SRE practice instead favors a canary release: ship to a small subset first, observe, then widen the rollout.

    "A canary deployment gives you a chance to partially release your application." — Use a canary deployment strategy

    New risky changeCanary: release to asmall subset firstProgressively widen rolloutRoll back — limited blast radiusNo problems foundProblem detected

    The same small-change principle applies to ordinary bug fixes, not just major releases: shipping small, frequent, reversible changes limits how much can go wrong in any one release and shortens recovery time.

    "Reduce the potential impact of any change by making the size of the change smaller so recovery takes less time and causes less business impact." — AWS Well-Architected Framework: Plan for unsuccessful changes

    Why on-premises infrastructure is hard to scale

    Part 1 already noted that fixed on-prem hardware is "either idle most of the time or overwhelmed at peaks." The underlying reason is lead time: an on-premises team must forecast demand and physically acquire and deploy capacity before it's needed.

    "In traditional on-premises compute environments, you must identify" [and provision enough capacity in advance to serve peak demand] — AWS Well-Architected Framework: Obtain resources upon detection that more resources are needed

    This is why "increasing compute capacity is time-consuming and costly" is the generic answer whenever a question asks why on-prem scaling is difficult — not compliance, not serverless limits, not multi-cloud complexity, unless the question specifically raises those.

    FinOps: decentralized, variable cloud spend

    Cloud spend is characteristically decentralized (many teams, projects, and accounts) and variable (usage-based, not a fixed recurring charge) — unlike a single, fixed on-premises budget line.

    "Rather than simply cutting costs, FinOps establishes shared financial accountability for variable cloud consumption through real-time cost visibility, resource optimization, accurate forecasting, and data-driven trade-offs between speed, cost, and performance." — What is FinOps?

    Because that spend is variable, it needs frequent review (daily/weekly), not just an annual budget check — the same "review proactively, not just at bill time" idea from part 1's CapEx/OpEx section, restated for ongoing operational practice:

    "Create a daily or frequent routine to use AWS Cost Explorer or any other dashboard such" [as AWS Quick Sight] — AWS Well-Architected Framework: Monitor cost proactively

    Getting visibility and control over that variable spend

    Need Google Cloud feature
    See cost/usage trends over time Billing dashboards / Reports
    Attribute cost to a team, project, or environment Resource labels
    Flag idle/oversized/inefficient resources automatically Intelligent (cost) recommendations
    Give each department its own cost view for accountability Cost attribution by business unit/department
    Estimate the cost of a not-yet-deployed workload Google Cloud Pricing Calculator
    Fix a mistaken committed-use-discount purchase Cloud Billing Support

    "Use the Reports page to view and analyze your Google Cloud usage cost and" [trends] — Analyze billing data and cost trends with Reports "Labels let you organize your Google Cloud projects and track costs" — Create and update labels for projects "Stay smart about your spending with intelligent recommendations tailored to your business that help optimize usage, save time on management, and minimize costs." — Google Cloud Cost Management "Identify organization categories such as business units, departments" [to allocate cost against] — AWS Well-Architected Framework: Identify cost attribution categories "With the pricing calculator, you can estimate costs for a wide range of" [Google Cloud services] — Estimate your monthly costs "If you accidentally purchased a commitment or made a mistake configuring your" [commitment, contact Cloud Billing Support] — Spend-based committed use discounts

    A commission-based business whose revenue (and so demand) fluctuates can't reliably forecast cost, but it can still optimize usage as it happens — which is exactly what intelligent recommendations are for, as opposed to reorganizing who makes financial decisions or shifting to a capex model.

    Observability recap: definitions, and uptime checks

    Part 1's observability table (Logging / Monitoring / Trace / Profiler) still applies; two conceptual points round it out:

    • Logging, generically, means recording application, OS, and infrastructure events as log entries (commonly text) for later troubleshooting and auditing — distinct from monitoring (metrics), version control (source code), or expenditure tracking.
    • Monitoring, generically, means collecting predefined and custom metrics from applications and infrastructure to observe their health and performance.

    Cloud Monitoring's uptime checks extend the "centralized managed infrastructure view" from part 1's observability table: they periodically probe an endpoint to confirm it's responding, feeding the same centralized dashboards.

    "Cloud Monitoring collects, stores, and analyzes metric data to help you" [visualize how your applications and services are performing] — Monitoring overview "Uptime checks let you periodically query public or private endpoints that" [respond to HTTP, HTTPS, or TCP requests] — Synthetic monitoring overview

    And service availability itself is measured the same way an SLA defines it — as a percentage of uptime over a period, not a region count, a raw incident count, or response speed:

    ""Monthly Uptime Percentage" means total number of minutes in a month, minus the number of minutes of Downtime suffered from all Downtime Periods in a month, divided by the total number of minutes in a month." — Compute Engine SLA

    SLI/SLO recap from part 1, worded the way exam items phrase it directly:

    "Service-level indicator (SLI): a measurement of performance." — Service monitoring "Service-level objective (SLO): a statement of desired performance." — Service monitoring

    Google Cloud Customer Care: Premium support and "always-on"

    Part 1's Customer Care table already shows Premium as the tier with the fastest response plus a named Technical Account Manager (TAM):

    "Designed for enterprises with critical workloads, with the fastest response time, Customer Aware Support, and a named Technical Account Manager." — Premium Support

    Enhanced Support speeds up response for production workloads, but a TAM there is only an additional purchase — Premium is the only tier that includes one by default. An organization extending its own customer helpline hours is responding to the same underlying trend that drives tiers offering round-the-clock coverage:

    "24/7 response for high- and critical-impact issues" — Premium Support

    Managed services: what they take off your plate

    Evaluating "managed services" for a migration, the routine task they commonly deliver automatically is patching and upgrading the underlying platform — not access management, archiving policy, or cost decisions, which stay with the customer:

    "Patches classified as Critical or Security are automatically downloaded and applied on the VM." — Automatic Guest Patching for Azure Virtual Machines

    Dataflow: managed, autoscaling batch and streaming pipelines

    Part 1's serverless-compute table covered App Engine and Cloud Functions for event-driven code. For data pipelines (continuous or batch), the equivalent "no infrastructure to manage" product is Dataflow: it is fully managed and its horizontal autoscaling adds or removes worker VMs automatically as load changes.

    "Dataflow is a fully managed service." — Dataflow overview "number of worker instances for your job, adding or removing workers as needed." — Horizontal autoscaling

    Need to process high-volumebatch/streaming data,no servers/clusters to manage?Dataflow — autoscaling workersDataprocPub/SubYesNeeds an explicitHadoop/Spark clusterJust ingesting/deliveringmessages

    Dataproc also runs big-data processing, but its clusters are explicitly provisioned by the user (even though Google manages them); Dataflow is the one with zero clusters to create. App Engine's instance autoscaling (part 1) is the same underlying idea applied to a web app instead of a data pipeline — it is why App Engine suits an application with sharp seasonal traffic spikes (e.g. seasonal retail sales): instances are created and torn down automatically as traffic changes.

    "App Engine can automatically create and shut down instances as traffic" [fluctuates] — How instances are managed

    Firestore: NoSQL for web and mobile apps

    When a question asks for a flexible, scalable NoSQL database with strong web/mobile support, the answer is Firestore — not Cloud Spanner (relational), Cloud Storage (object storage, not a database), or BigQuery (analytics warehouse).

    "a highly available NoSQL database that can support mission-critical workloads." — Firestore overview

    Scaling and sustainability together

    Part 1 opened with why organizations move to public cloud (elasticity, no idle/overwhelmed hardware). The same elasticity argument extends to sustainability: a public cloud provider can scale capacity quickly while also running more energy-efficient data centers than most individual organizations could build themselves.

    "We set a goal to match our energy consumption with carbon-free energy (CFE), every hour and in every region by 2030." — Carbon free energy for Google Cloud regions

    Refactoring an application to use less energy, or greening an existing on-premises data center, doesn't solve the "scale quickly" half of the requirement — only moving the workload to a public cloud does both at once.

    And the general case for public cloud elasticity — "near-unlimited resources without buying new equipment" — is the same one from part 1, restated as its own exam pattern:

    "For organizations looking for an alternative to traditional on-premises IT architectures or other types of cloud computing, the public cloud offers nearly infinite scalability and self-service provisioning to meet workload and user demands." — What is public cloud?

    Exam traps

    • SUD vs. CUD: SUDs require no purchase, no configuration — they're automatic. If a question asks "what must I do to get sustained use discounts," the answer is "nothing."
    • Windows licensing: workload shut down outside business hours + license renewal due: Compute Engine PAYG licensing (per-vCPU while running), not BYOL (still requires renewing/keeping your own licenses).
    • New risky feature, SRE principles: canary release to a subset first, never "roll out to everyone" or "don't ship it."
    • Small, frequent, reversible changes minimize bug-recovery time — not pausing all releases, not bundling large changes together.
    • On-prem scaling is hard because capacity must be forecast and physically provisioned ahead of demand (time + cost) — this is the default reason unless the question raises a more specific constraint.
    • Cloud spend is decentralized + variable — review it frequently, not annually; cost remains part of the budget even for a cloud-only organization.
    • Cost visibility = billing dashboards/reports (trends) + resource labels (attribution); cost optimization when demand is unpredictable = intelligent recommendations; pre-deployment cost estimate = the Pricing Calculator; fix a bad CUD purchase = Cloud Billing Support (not Technical Support or Trust and Safety).
    • Uptime checks are a Cloud Monitoring feature, not Logging/Trace/Profiler — "centralized infrastructure view including uptime checks" always points to Monitoring.
    • Availability = percentage of uptime over a period (SLA-style calculation), not region count, latency, or incident count.
    • Premium support is the only tier that includes a named Technical Account Manager by default; Enhanced only offers TAM as an extra purchase.
    • Managed services' hallmark automatic task is patching/upgrading — access, archiving, and cost decisions remain the customer's.
    • Dataflow = no clusters at all (autoscaling workers); Dataproc = managed but still explicitly provisioned clusters. Don't mix them up when a question says "don't want to manage clusters."
    • Firestore = NoSQL document database for mobile/web; don't confuse with Cloud Spanner (relational) or Cloud Storage (object storage, not a database).
    • Scale quickly and sustainably: public cloud with energy-efficient data centers, not on-prem efficiency upgrades or software refactoring alone.

    Docs

    The rest of this chapter is part of the GCP-CDL premium course

    Unlock every chapter, all 289 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters