GCP Associate Cloud Engineer Practice Question

You plan to expose an Internal HTTP(S) Load Balancer for a private GKE cluster that lives in the subnet "web-subnet" (10.0.0.0/20) of VPC "prod-vpc" in region us-central1. The application team requires that the virtual IP 10.0.100.10 remain fixed even if the load balancer is recreated. Which gcloud action should you perform before creating the load balancer to meet this requirement while following Google-recommended practice?

  • Skip reserving an address and set the annotation loadBalancerIP: "10.0.100.10" on the Kubernetes Service; the IP will be held automatically.

  • Add 10.0.100.10 as a reserved address in a Cloud NAT gateway attached to prod-vpc.

  • Run: gcloud compute addresses create lb-ip --global --addresses 10.0.100.10

  • Run: gcloud compute addresses create lb-ip --region us-central1 --subnet web-subnet --addresses 10.0.100.10 --purpose SHARED_LOADBALANCER_VIP

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