A stateless application must run on VMs and automatically scale with traffic. Which deployment should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy to a Compute Engine managed instance group and enable autoscaling..
Why this is the answer
For a stateless application running on VMs that needs to scale with traffic, a Compute Engine managed instance group (MIG) with autoscaling is the most direct and appropriate solution. MIGs allow you to deploy and manage a group of identical VMs, and autoscaling automatically adjusts the number of instances based on demand. While Google Kubernetes Engine (GKE) can run stateless applications and scale, the question specifically mentions "VMs" as the deployment target, and GKE introduces an orchestration layer that isn't strictly necessary if the application simply needs VM-level autoscaling. Cloud Functions and Cloud Run are serverless platforms, not VM-based deployments, making them unsuitable for the requirement of running on VMs.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed