GCP Associate Cloud Engineer Practice Question

Your team deploys a new microservice to an existing GKE Autopilot cluster. The Deployment YAML does not specify any CPU or memory requests or limits. After the rollout you run kubectl describe pod and notice each container now shows requests: cpu 250m, memory 512Mi, even though the developers expected to use far less. You must explain what happened and how they can request smaller values. Which statement correctly describes the situation?

  • The Horizontal Pod Autoscaler assigned initial resource requests automatically; defining an HPA with lower target utilization will allow the Pods to start with smaller requests.

  • Autopilot adds default requests of 0.25 vCPU and 512 MiB when none are specified; these defaults are also the minimum allowed, so requesting less is not possible.

  • Autopilot derives resource requests from the container image size; shrinking the image or using a scratch base will let the team achieve the 50 m/128 Mi requests they wanted.

  • Kubernetes reserves 10 % of each node for system daemons, so the scheduler rounded the developers' numbers up; creating a custom RuntimeClass is needed to override the reservation.

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