GCP Professional Cloud Architect Practice Question

Your online learning platform runs a regional GKE Standard cluster. A Deployment currently scales with a Horizontal Pod Autoscaler (HPA) that targets 60 % CPU, but load tests show pods crash at 80 % memory while CPU stays below the threshold, so no scale-out occurs. You must redesign scaling so that pods add replicas when either CPU or memory exceeds 70 %, and node pools automatically grow and shrink with minimal operational effort. Which solution best meets these goals?

  • Replace the HPA with a KEDA scaler that watches a Cloud Monitoring memory metric and turn on node auto-provisioning instead of the cluster autoscaler.

  • Keep the CPU-based HPA, add a Vertical Pod Autoscaler in recommend mode to right-size memory requests, and disable the cluster autoscaler to prevent conflicts.

  • Migrate the service to Cloud Run, set concurrency to 1, and cap the revision at 1 000 instances to obtain automatic scaling.

  • Create an HPA that targets 70 % on both cpu and memory resource metrics, and enable the cluster autoscaler on the node pool.

GCP Professional Cloud Architect
Designing and planning a cloud solution architecture
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