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

45 minutes, 0 second remaining!

GCP Professional Cloud Architect Practice Question

An e-commerce team is containerizing a Java API but will initially run it on Compute Engine virtual machines. The service must

  • stay available even during a complete zone outage,
  • scale out whenever either the average CPU load rises above 60 % or a Pub/Sub order-queue backlog grows,
  • support zero-downtime releases with an instant rollback path, and
  • automatically shrink to one VM during very low overnight traffic.

Which deployment strategy best satisfies these requirements?

  • Use an unmanaged instance group with an external HTTP(S) load balancer; trigger a Cloud Functions script to add or delete instances based on Pub/Sub backlog, and reboot instances in place for each release.

  • Create a regional managed instance group from an instance template, attach an autoscaler driven by CPU and a custom Cloud Monitoring metric for Pub/Sub backlog, and perform application releases with the SUBSTITUTE update method.

  • Create a single-zone managed instance group behind an internal load balancer, enable autoscaling on CPU utilization only, and handle releases with a blue-green approach by cloning the group and swapping backend services.

  • Deploy the container to Cloud Run, set minimum instances to 1, configure a Pub/Sub push subscription, and use traffic splitting for new revisions.

GCP Professional Cloud Architect
Managing implementation
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