Cloud Digital Leader Practice Question: Google Cloud products, services, and solutions
A retail company wants to migrate its on-premises e-commerce platform to Google Cloud. The application is stateless and runs on virtual machines. The company wants to minimize operational overhead and allow the application to automatically scale based on CPU utilization. Which Google Cloud service should they use?
⚠ Common exam trap
It's easy for candidates to choose GKE or Cloud Run because they associate 'autoscaling' with Kubernetes or serverless, but the question specifies 'virtual machines' and 'minimize operational overhead,' which points to a VM-native solution like Compute Engine with MIGs, not containerization or serverless platforms.
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
✓
Compute Engine with managed instance groups and autoscaling
The application runs on virtual machines and is stateless, making Compute Engine with managed instance groups and autoscaling the most direct fit. Managed instance groups automatically handle scaling based on CPU utilization without requiring containerization or code changes, minimizing operational overhead while preserving the existing VM-based architecture.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Google Kubernetes Engine (GKE)
Why it's wrong here
GKE requires packaging the application into containers and managing a Kubernetes cluster, which introduces significant operational complexity for a traditional VM-based workload. Migrating a legacy e-commerce platform to GKE would demand a containerization effort, cluster maintenance, and expertise in Kubernetes, all of which are beyond a simple lift-and-shift migration. In contrast, moving the existing VMs directly to Compute Engine preserves the current architecture while still offering scalability through managed instance groups.
- ✗
Cloud Run
Why it's wrong here
Cloud Run is a serverless platform that executes stateless containers and automatically scales to zero, making it unsuitable for running persistent VM instances or stateful, long-running e-commerce workloads that require a full OS environment. It does not provide virtual machine access or allow the installation of custom operating systems, so an existing on-premises VM cannot be directly migrated to Cloud Run without rearchitecting the application into containerized, request-driven components.
- ✓
Compute Engine with managed instance groups and autoscaling
Why this is correct
Compute Engine with managed instance groups (MIGs) provides a straightforward lift-and-shift path for existing e-commerce VMs while enabling automatic scaling based on resource utilization such as CPU or memory. MIGs offer managed instance health checks, auto-healing, and autoscaling, allowing the infrastructure to adapt to traffic spikes without requiring any application refactoring. This makes it the most appropriate choice for migrating a legacy workload that needs to retain its VM-based architecture and control over the operating system.
- ✗
App Engine Standard Environment
Why it's wrong here
App Engine Standard Environment is a fully managed platform-as-a-service (PaaS) that constrains applications to specific runtimes and sandboxed environments, and it does not allow users to run arbitrary virtual machines or access the underlying OS. Migrating a VM-based e-commerce application would require rewriting it to conform to App Engine's runtime and scaling model, which defeats the purpose of a lift-and-shift migration. Its built-in scaling and managed services benefit new cloud-native apps, not existing VM-hosted systems.
Go deeper
Related to this question
Learn chapter
Cloud Digital Transformation
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
Key term
Compute Engine
Compute Engine is Google Cloud's Infrastructure-as-a-Service (IaaS) offering that lets you create and run virtual machines on Google's infrastructure.
About these practice questions
Courseiva writes every GCDL question from scratch — 829 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.