GCP Associate Cloud Engineer Practice Question

Your company is launching a promotional campaign that may create short-lived traffic spikes. You need a pool of identical Compute Engine VMs in zone us-central1-a that automatically keeps at least 2 instances running and can grow up to 20 when average CPU usage across the group rises above 60 percent. Future rollout changes must be done with rolling updates. Which approach satisfies the requirements while minimizing manual operations?

  • Launch two Spot VMs from a custom image and place them behind a regional external HTTP(S) load balancer, which will automatically add more instances when traffic increases.

  • Create an instance template for the VM configuration, then create a zonal managed instance group in us-central1-a that sets a minimum size of 2, maximum size of 20, and an autoscaling policy targeting 60 percent average CPU.

  • Deploy the application to a GKE Autopilot cluster and use a Horizontal Pod Autoscaler set to 60 percent CPU to scale the workloads instead of using Compute Engine instances.

  • Create a regional managed instance group with a fixed target size of 2 instances and rely on live migration to handle traffic spikes.

GCP Associate Cloud Engineer
Planning and implementing a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot