🔥 40% Off Crucial Exams Memberships — Deal ends today!

3 hours, 1 minute remaining!

GCP Associate Cloud Engineer Practice Question

Your team runs a stateless image-processing service in a managed instance group (MIG) that pulls jobs from a Cloud Pub/Sub subscription. CPU utilization is typically low, but the subscription backlog can grow quickly. You must configure the MIG (minimum 2, maximum 10 VMs) to add or remove instances so that the number of undelivered Pub/Sub messages stays close to 500 per VM. Which autoscaling configuration should you implement?

  • Configure autoscaling on average CPU utilization with a 60% target, assuming higher backlog will increase CPU and trigger scaling.

  • Replace Pub/Sub with an App Engine task queue and use a scheduled autoscaler to add VMs only during business hours.

  • Create an autoscaling policy that uses the Cloud Monitoring metric "pubsub.googleapis.com/subscription/num_undelivered_messages" with utilizationTargetType set to "GAUGE_PER_INSTANCE" and target set to 500.

  • Attach an internal HTTP(S) load balancer in front of the MIG and set the autoscaler to maintain 80% load-balancing serving capacity.

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