Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your team is deploying an internal database workload on a Compute Engine virtual machine (VM) in a custom VPC network. The database must maintain a consistent, persistent private IP address so that other microservices within the VPC can reliably reach it across restarts, maintenance events, and redeployments. The target subnet has a primary IPv4 CIDR range as well as configured secondary CIDR ranges.
Which requirement must be met when reserving and assigning a static internal IP address for the VM instance's primary network interface?
Global IP reservations in Google Cloud apply exclusively to external (public) IPv4 and IPv6 addresses used with global load balancers, such as the Global External Application Load Balancer. Global IP addresses do not belong to any individual subnet or region.
You were reserving a static public IP address for a global frontend service, such as configuring a Global External Application Load Balancer to accept worldwide public internet traffic.
Secondary CIDR ranges are additional IP address ranges attached to an existing VPC subnet. They are primarily designed for allocating alias IP ranges to virtual machines, which is standard practice in containerized environments like Google Kubernetes Engine (GKE) where pods require separate IP addresses on the same host network interface.
You were assigning an unreserved, dynamically allocated alias IP range to a VM interface or provisioning pod address spaces in a GKE cluster rather than creating a reserved static internal IP address for a VM's primary interface.
A static internal IP address is a private IPv4 address reserved from a specific subnet in a Virtual Private Cloud (VPC) network. Unlike ephemeral internal IP addresses, which can change when a VM instance is stopped and restarted or deleted and recreated, a reserved static internal IP address remains assigned to your project and bound to your specified resource until explicitly released.
nic0) must be drawn from the subnet's primary CIDR range.
Reserving the internal IP directly from the primary subnet CIDR block aligns with Google Cloud networking architecture, guarantees predictable routing across the VPC, and satisfies the requirement for persistent communication across application services.
Google Cloud provides two distinct ways to obtain a static internal IP address: reserving a new address in advance (standalone reservation) or promoting an existing ephemeral internal IP address to static.
Google Cloud enforced mandatory post-provisioning promotion, preventing pre-allocation in CI/CD and orchestration pipelines, which is not how Google Cloud VPC IP management functions.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated