All exams← All Google Cloud Digital Leader notes

Infrastructure & application modernisation: Google Cloud Digital Leader revision notes

Revision notes

Why modernise infrastructure?

Many organisations start with on-premises data centres they own and run themselves.

This means buying servers, paying for power and cooling, and hiring staff to maintain everything.

Cloud modernisation moves some or all of this workload to Google Cloud, trading capital expense (CapEx) for operational expense (OpEx).

The exam expects you to know the migration paths and where each application type fits.

The main migration strategies

  • Lift and shift (rehost): move a VM as-is into Compute Engine with minimal changes. Fastest route, least benefit gained.
  • Improve and move (replatform): make small optimisations during the move, such as switching to a managed database.
  • Move and improve (refactor): re-architect the app to use cloud-native services, for example containerising it for Google Kubernetes Engine (GKE).
  • Rip and replace (rebuild): drop the old app and build a new cloud-native one, often serverless.
  • Remove (retire): decommission apps nobody uses any more, a quick win most companies skip.

Matching workloads to compute options

  • Compute Engine: full control of virtual machines, best for lift-and-shift and legacy workloads.
  • Google Kubernetes Engine (GKE): managed Kubernetes for containerised, portable, microservices-based apps.
  • Cloud Run: fully managed serverless containers, scales to zero, ideal for stateless HTTP workloads and modern app development.
  • App Engine: fully managed platform-as-a-service (PaaS) for deploying code with no infrastructure management, standard (sandboxed) or flexible (custom containers) environments.
  • Cloud Functions: event-driven, single-purpose functions, the smallest unit of serverless compute (Functions-as-a-Service).

Migration tools to know

  • Migrate to Virtual Machines (formerly Migrate for Compute Engine): migrates on-prem or other-cloud VMs into Compute Engine.
  • Database Migration Service (DMS): migrates MySQL, PostgreSQL and SQL Server into Cloud SQL with minimal downtime.
  • Transfer Appliance and Storage Transfer Service: move large volumes of data into Cloud Storage, physically or over the network.
  • BigQuery Data Transfer Service: automates moving data into BigQuery from SaaS apps and other warehouses.

Application modernisation concepts

  • Containers package an app with its dependencies so it runs consistently anywhere; this is the core enabler of app modernisation.
  • Microservices break a monolithic app into small, independently deployable services, improving scalability and release speed.
  • APIs (managed via Apigee) let modernised services talk to legacy systems during a phased migration.
  • Anthos extends Google Cloud management to on-premises and multi-cloud environments, supporting hybrid strategies.

Common mistakes

  • Confusing rehost (lift and shift) with refactor (move and improve) — rehost changes nothing about the app itself.
  • Assuming all legacy apps must be rebuilt; retiring unused apps is a valid and often overlooked strategy.
  • Forgetting Cloud Run scales to zero and charges only when handling requests, unlike Compute Engine.
  • Mixing up App Engine (PaaS, deploy code) with GKE (you manage containers and orchestration yourself).

Key facts

Flashcards

Name the five infrastructure migration strategies.
Lift and shift, improve and move, move and improve, rip and replace, and remove (retire).
tap to reveal
What does lift and shift (rehost) actually change about an application?
Nothing — the VM or app is moved as-is into Compute Engine with minimal changes.
tap to reveal
Which compute option scales to zero and only charges for requests handled?
Cloud Run.
tap to reveal
What is GKE best suited for?
Containerised, microservices-based applications needing managed Kubernetes orchestration.
tap to reveal
What are the two App Engine environments?
Standard (sandboxed, fully managed) and flexible (custom containers, more control).
tap to reveal
What is Cloud Functions and what triggers it?
A Functions-as-a-Service serverless product; it runs single-purpose functions triggered by events.
tap to reveal
Which tool migrates on-prem or other-cloud VMs into Compute Engine?
Migrate to Virtual Machines (formerly Migrate for Compute Engine).
tap to reveal
Which service migrates MySQL, PostgreSQL and SQL Server databases with minimal downtime?
Database Migration Service (DMS), migrating into Cloud SQL.
tap to reveal
What is Transfer Appliance used for?
A physical hardware device for shipping very large datasets into Cloud Storage when network transfer is impractical.
tap to reveal
What does Anthos provide?
Consistent application management across on-premises, Google Cloud and other clouds, enabling hybrid and multi-cloud strategies.
tap to reveal
Why are containers central to app modernisation?
They package an app with all its dependencies so it runs consistently across any environment, enabling portability and microservices.
tap to reveal
What is a microservices architecture, and why is it favoured over a monolith?
Breaking an app into small, independently deployable services, which improves scalability and speeds up releases.
tap to reveal
Which modernisation strategy is most often overlooked but delivers immediate cost savings?
Remove (retire) — decommissioning legacy apps nobody uses any more.
tap to reveal
What does Apigee manage in a modernisation context?
APIs, allowing modernised services to communicate with legacy systems during a phased migration.
tap to reveal
Rehost vs refactor: what is the key difference?
Rehost (lift and shift) moves the app unchanged; refactor (move and improve) re-architects it to use cloud-native services like containers on GKE.
tap to reveal
Practice questions

Infrastructure & application modernisation: 5 practice questions

Q1. A company wants to move its on-premises virtual machines to Google Cloud with the least amount of code change and minimal re-architecture. Which migration approach best describes this?
  • A.  Rebuild
  • B.  Rearchitect for microservices
  • C.  Replace with SaaS
  • D.  Rehost (lift-and-shift)
Show answer & explanation
✓ Answer: D. Rehost (lift-and-shift)
Rehost, often called lift-and-shift, moves workloads to the cloud largely as-is, typically using tools like Migrate to Virtual Machines. It minimises code changes, unlike rearchitecting or rebuilding, which redesign the application.
Q2. Which Google Cloud compute service is best suited for running stateless containers that automatically scale to zero when there is no traffic, without requiring cluster management?
  • A.  Compute Engine
  • B.  Bare Metal Solution
  • C.  Google Kubernetes Engine (GKE) Standard
  • D.  Cloud Run
Show answer & explanation
✓ Answer: D. Cloud Run
Cloud Run is a fully managed serverless platform that runs stateless containers and scales down to zero instances automatically, so you pay only when requests are processed. GKE Standard requires you to manage node pools, and Compute Engine runs full VMs.
Q3. An organisation wants to run containerised workloads but needs full control over node configuration, networking, and the ability to run custom node images. Which Google Cloud product is the best fit?
  • A.  Cloud Functions
  • B.  Google Kubernetes Engine (GKE) Standard
  • C.  App Engine Standard
  • D.  Cloud Run
Show answer & explanation
✓ Answer: B. Google Kubernetes Engine (GKE) Standard
GKE Standard gives administrators control over node pools, machine types, and cluster configuration, which suits teams needing customisation. Cloud Run and Cloud Functions abstract away infrastructure entirely, offering less control.
Q4. What is the primary business benefit of 'refactoring' an application during cloud modernisation, as opposed to simply rehosting it?
  • A.  It eliminates the need for any testing after migration
  • B.  It guarantees a lower migration cost in all cases
  • C.  It requires no changes to the application code
  • D.  It takes advantage of cloud-native capabilities such as autoscaling and managed services to improve efficiency
Show answer & explanation
✓ Answer: D. It takes advantage of cloud-native capabilities such as autoscaling and managed services to improve efficiency
Refactoring makes targeted code changes so an application can better exploit cloud-native features like autoscaling, managed databases, or containers, improving efficiency and reducing operational overhead. Rehosting, by contrast, moves the application with little or no code change.
Q5. A retail company has a monolithic application that is difficult to update because a small change requires redeploying the entire system. Which modernisation strategy would most directly address this problem?
  • A.  Increasing the VM's disk size
  • B.  Switching to a different operating system
  • C.  Moving to a larger single VM
  • D.  Decomposing the application into microservices
Show answer & explanation
✓ Answer: D. Decomposing the application into microservices
Breaking a monolith into independently deployable microservices allows teams to update individual services without redeploying the whole application, improving agility. Simply resizing a VM or changing the OS does not address the coupling problem.
Test yourself
See the Google Cloud Digital Leader page

More Google Cloud Digital Leader topics