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

1 hour, 51 minutes remaining!

GCP Professional Cloud Architect Practice Question

Your company is launching a new checkout microservice to a multi-tenant GKE Autopilot cluster that already runs dozens of workloads. Container images are built with Cloud Build and pushed to Artifact Registry. Compliance policy requires every change to be declared and peer-reviewed in the main Git repository. Product owners insist that in production only 10 % of user traffic should reach the new version for 30 minutes, after which the rollout must either complete automatically or revert if the request-error rate rises above 2 %. Which deployment approach best satisfies the requirements while minimising ongoing operational overhead?

  • Create Cloud Deployment Manager templates that patch the Kubernetes Deployment, schedule a Cloud Scheduler job to run a script every 5 minutes that parses log-based metrics and calls gcloud container clusters rollback when the 2 % error threshold is crossed.

  • Use Cloud Functions to call the Cloud Run Admin API, create a new revision of the microservice, split traffic 90/10 for 30 minutes, and publish a Pub/Sub message to trigger full promotion or manual rollback based on BigQuery analysis of logs.

  • Define a Cloud Deploy delivery pipeline that uses a canary strategy for the target GKE cluster with 10 % and 100 % phases, a 30-minute dwell time, and an automatic rollback condition tied to a Cloud Monitoring alert on request-error rate. Store the pipeline YAML alongside the application code in the Git repository.

  • Invoke kubectl apply from Cloud Build to update the Deployment image, rely on Kubernetes HorizontalPodAutoscaler to limit initial load, and perform rollback manually with kubectl set image if monitoring dashboards show errors.

GCP Professional Cloud Architect
Ensuring solution and operations excellence
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