↑ ↓ 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 / D2 Modernize Infrastructure and Applications with Google Cloud

    D2.3

    Modernize Infrastructure and Applications with Google Cloud (part 3 of 3)

    • 9 min read
    • 11 sections
    • 24 questions
    • Exam domain: Modernize Infrastructure and Applications with Google Cloud

    Migration tools: destination is the key distinction

    Google groups its migration tooling by where the workload ends up, not by source platform:

    Tool Source Destination
    Migrate to Virtual Machines ("Migrate for Compute Engine") VMs (incl. VMware vSphere) Compute Engine VM instances (lift-and-shift)
    Migrate to Containers ("Migrate for Anthos") VM-based applications Containers on GKE or Cloud Run (modernize)

    "Migrate to containers versus lift-and-shift to Compute Engine" — Migrate to Containers, benefits of migrating to containers

    Both tools can read from the same kind of VM sources (including VMware), so "source platform" is not the distinguishing fact to test on — the destination (VM vs. container) is.

    Existing VM workloadCompute Engine VMinstanceContainer on GKE / Cloud RunMigrate to Virtual MachinesMigrate to Containers

    Container images: Artifact Registry (Container Registry is retired)

    A CI/CD pipeline that builds a container image and deploys it to Cloud Run needs a registry that Cloud Run can pull from directly, with no extra conversion step. Older material names Container Registry for this — but that product has been shut down:

    "Effective March 18, 2025, Container Registry" — Artifact Registry, transition from Container Registry

    Artifact Registry is the current, supported Google Cloud registry for container images and other build artifacts:

    "Artifact Registry lets you centrally store artifacts and build" — Artifact Registry overview

    A Compute Engine image or disk is a VM boot artifact, not a container image, so it cannot serve this role; Cloud Storage is general object storage, not a container registry.

    GKE: iterate, orchestrate, and manage at scale

    GKE's core selling point across several question styles is the same: a managed Kubernetes platform that lets teams move fast without operating cluster infrastructure themselves.

    • Resolving application errors faster: GKE supports a tight deploy → test → iterate loop.

      "When you develop a new feature, you need to quickly deploy your changes into development environment in order to test and iterate on them." — Modern CI/CD with GKE

    • Orchestrating many new containerized apps:

      "looking for a scalable, automated, managed Kubernetes solution." — GKE overview

    • Centralized, consistent management across hybrid/multicloud Kubernetes fleets: that's GKE Enterprise, built on GKE fleet management, not a single-cluster or single-region GKE deployment.

      "makes it simpler to automate DevOps tasks across multiple clusters, including clusters outside Google Cloud." — GKE fleet management overview

    • Running Kubernetes clusters on other public clouds (AWS, Azure): that's GKE Multi-Cloud.

      "With GKE Multi-Cloud, you can create Kubernetes clusters in both AWS and Azure" — GKE Multi-Cloud documentation

    What does the scenario need?GKE: fast deploy-test-iterateGKE: managed KubernetesplatformGKE Enterprise / fleetmanagementGKE Multi-CloudFaster dev/test/iterate loopOrchestrate many newcontainerized appsOne consistent plane acrosshybrid/multicloud fleetsKubernetes clusters runningon AWS/Azure

    Hybrid cloud vs. multi-cloud

    Both combine environments, but which ones differs:

    Term What is combined Example trigger phrase
    Hybrid cloud On-premises/private infrastructure + public cloud, managed together "must keep some systems on-premises for compliance", "private cloud infrastructure and public cloud services"
    Multi-cloud Two or more public cloud providers, used together "three cloud vendors", "GKE Multi-Cloud across AWS and Azure"

    "Hybrid architecture combines services in Azure with infrastructure and workloads in datacenters, at edge locations, and in other clouds." — Azure hybrid and multicloud strategy

    Using GKE Enterprise/GKE Multi-Cloud to run Kubernetes across several public cloud vendors is multi-cloud, even though the management plane is unified — unification of management does not turn multi-cloud into hybrid-cloud; what matters is whether on-premises/private infrastructure is part of the mix.

    Databases: match the workload to the managed service

    Need Service
    Cost-effective relational/transactional DB, single region Cloud SQL (MySQL, PostgreSQL, SQL Server)
    Quick modernization of an on-premises SQL Server with minimal rework Managed migration to Cloud SQL for SQL Server via Database Migration Service
    Live cross-provider migration, minimal downtime, encrypted in transit Database Migration Service
    Globally distributed, strictly consistent, huge scale Cloud Spanner (not covered by this module's questions, see part 2)

    "Cloud SQL is a fully managed relational database service for MySQL," — Cloud SQL overview

    "This page describes how to migrate your self-managed or Amazon RDS" [SQL Server databases to a Cloud SQL for SQL Server instance] — Migrate your SQL Server databases to Cloud SQL

    Database Migration Service performs a continuous migration: an initial snapshot, then ongoing replication of changes until cutover, which is what minimizes downtime and disruption for users during a live migration — and it protects data in transit:

    "Database Migration Service migrates data securely by using SSL/TLS certificates to" [encrypt network connections] — Database Migration Service overview

    Serverless compute: Cloud Functions / Cloud Run functions

    When a question needs a serverless execution environment to connect cloud services, with unpredictable resource needs, the answer is Cloud Functions (rebranded Cloud Run functions): it scales automatically from zero, so the organization never has to forecast or pre-provision capacity.

    "Serve users from zero to planet-scale without even thinking about any infrastructure" — Cloud Run functions

    Compute Engine and GKE both still require some capacity decisions (VM sizing, cluster/node sizing); Bare Metal Solution is dedicated physical hardware sized in advance — the opposite of elastic serverless scaling.

    Specialized and VMware workloads

    Requirement Service
    Preserve complex existing software licensing and architecture for specialized workloads Bare Metal Solution (bring-your-own-license)
    Large VMware estate, keep existing VMware tools/processes/skills Google Cloud VMware Engine

    "Bare Metal Solution uses a bring-your-own-license (BYOL) model." — Bare Metal Solution overview

    "This service helps you to retain operational continuity with your existing VMware environments, and enables seamless integration with Google Cloud services." — Google Cloud VMware Engine overview

    Compute Engine is virtualized and cannot host the VMware stack (vSphere/vCenter/vSAN/NSX) natively, so it does not fit either of these "keep everything as-is" requirements.

    App Engine: traffic splitting to validate features

    App Engine can run several versions of an app at once and split incoming traffic between them. Splitting by HTTP cookie consistently routes the same user to the same version, which lets an organization run different versions for different user groups — exactly what's needed to validate new features with a subset of real users (an A/B-test / incremental rollout pattern):

    "Using cookies to split traffic makes it easier to accurately assign users to" [a version] — Split traffic in App Engine

    This is the opposite of running different versions for the same user, which traffic splitting is specifically designed to avoid.

    APIs: integration without manual, case-by-case linking

    An API is the contract that lets two programs exchange data automatically:

    "APIs are used to integrate new applications with existing software systems." — AWS, What is an API?

    The classic exam scenario: a legacy inventory system is out of sync with a public-facing website (so a customer finds a product online that is actually out of stock in-store). The fix is to connect the legacy system to the website programmatically, through an API, rather than updating each inventory record manually and individually.

    Apigee is Google Cloud's API-management layer on top of this: once an organization manages all of its APIs through Apigee, it gets near real-time monitoring and analytics to measure and track API performance, not just the ability to expose the APIs themselves:

    "API Monitoring provides near real-time insights into API traffic and performance, to" — Apigee, Overview of API Monitoring

    Cloud economics and general benefits (vendor-neutral)

    Several questions in this module are framed around general cloud-adoption benefits rather than a specific Google Cloud product. The recurring facts:

    • Offloading infrastructure work lets teams focus on differentiating work:

      "Focus on projects that differentiate your business, not the" [undifferentiated heavy lifting] — AWS, Six advantages of cloud computing

    • Moving off on-premises infrastructure reduces the organization's own operational/staffing burden for that infrastructure:

      "Traditionally, enterprises purchased and maintained their own computing devices in an on-premises data center." — AWS, What is IaaS?

    • Public cloud access is not tied to one geographic location — providers let customers reach new regions quickly:

      "With the cloud, you can expand to new geographic regions and deploy globally in minutes." — AWS, What is cloud computing?

    • IaaS = rented, pay-as-you-go infrastructure, with the customer still configuring the servers (unlike PaaS/SaaS, which abstract that away):

      "Infrastructure as a Service (IaaS) is a business model that delivers IT infrastructure like compute, storage, and network resources on a pay-as-you-go basis over the internet." — AWS, What is IaaS?

    None of these benefits include a 100% availability guarantee in every region, or an excuse to relax security controls (including during migrations) — those are traps, not real cloud benefits.

    Network latency vs. bandwidth

    If users far from an application's hosting region report slow responses despite a fast internet connection, the cause is network latency (the delay caused by distance/round-trip time), not bandwidth (connection capacity) — a fast connection does not shorten the physical distance data has to travel:

    "Network latency is the delay in network communication." — AWS, What is Network Latency?

    Exam traps

    • "Migrate for Compute Engine" vs. "Migrate for Anthos" differ by destination (VM vs. container), not by source platform, licensing, or open/closed source.
    • "Store container images for Cloud Run": Artifact Registry today; Container Registry was shut down on March 18, 2025 (an older question naming it is testing the same registry concept under a retired product name).
    • GKE Enterprise / fleet management = one consistent management plane across hybrid/multicloud Kubernetes fleets; GKE Multi-Cloud = running clusters on other public clouds (AWS/Azure).
    • On-premises + public cloud = hybrid cloud; two or more public clouds together = multi-cloud, even when managed through one tool like GKE Enterprise.
    • Quick, low-effort SQL Server modernization: managed migration to Cloud SQL for SQL Server, not a refactor to a different database or an export to Cloud Storage/BigQuery.
    • Cross-provider database migration needing minimal downtime and encryption in transit: Database Migration Service (continuous replication + SSL/TLS), not a manual batch insert.
    • Unpredictable resource needs, serverless, connects cloud services: Cloud Functions / Cloud Run functions, which scale from zero with no pre-provisioning.
    • Preserve complex licensing/architecture for specialized workloads: Bare Metal Solution (BYOL); preserve an entire VMware estate/tooling → Google Cloud VMware Engine.
    • App Engine traffic splitting assigns different versions to different user groups (consistently, via cookies), not different versions to the same user.
    • Legacy system out of sync with a website: connect them programmatically via an API, not manual, case-by-case linking.
    • Apigee's tested benefit here is measuring/tracking API performance (API Monitoring/Analytics), not privacy, dev-speed analysis, or selling APIs.
    • Slow response despite fast bandwidth, users far from the server: network latency, not bandwidth or server capacity.
    • Generic "why adopt the cloud" questions never resolve to 100% availability or relaxed security — look for "focus on differentiating work," "no infrastructure to manage," or "global reach" instead.

    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