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

44 minutes, 54 seconds remaining!

GCP Associate Cloud Engineer Practice Question

You deployed a Deployment with three replicas on GKE. The container spec does not include any CPU requests or limits. You created a Horizontal Pod Autoscaler that should increase replicas from 3 up to 10 when average CPU utilization exceeds 70 %. During a stress test, Cloud Monitoring shows each Pod constantly using about 600 mCPU, yet the HPA never scales beyond three replicas. Which change will allow the HPA to scale the workload based on CPU usage?

  • Modify the HPA to use a custom metric instead of the default CPU utilization metric.

  • Enable node-pool cluster autoscaling so that new Pods have capacity to schedule.

  • Define an explicit, non-zero CPU request (and optional limit) for the container in the Deployment spec.

  • Install the Ops Agent as a DaemonSet so the HPA can read CPU metrics from Cloud Monitoring.

GCP Associate Cloud Engineer
Ensuring successful operation of 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