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.
A production Compute Engine virtual machine (VM) currently hosts a web service using an ephemeral external IP address. External client DNS records already point directly to this IP address.
You need to ensure that this VM retains the exact same external IP address permanently across any future stop and restart cycles without dropping active network traffic or disrupting connected users.
What should you do?
Cloud NAT (Network Address Translation) is a managed Google Cloud service that enables instances without external IP addresses to send outbound requests to the internet while blocking unsolicited inbound connections.
Private VM instances with only internal IP addresses needed secure outbound internet access for package updates, OS patches, or third-party API calls without receiving public ingress traffic.
This approach stops the virtual machine to assign a static internal IP address within the VPC subnet range instead of managing its external internet-facing address.
The workload was an internal database or private backend service communicating strictly with other VPC resources across a private subnet.
IP promotion in Google Cloud is the process of converting an existing ephemeral external IP address that is currently assigned to a running resource (such as a Compute Engine VM instance or forwarding rule) into a static reserved external IP address belonging to your project.
gcloud), or API.Promoting the existing ephemeral IP address achieves permanent reservation with zero reconfiguration of clients, zero downtime, and zero packet loss. Any alternative approach involving provisioning a brand new IP address would force DNS updates, create client disruption, and require manual reconfiguration.
This approach provisions an entirely new regional static external IP address from Google Cloud's pool, tears down the running production instance, and deploys a replacement VM associated with the newly reserved IP.
You were building a brand new infrastructure deployment from scratch and needed to assign a newly reserved static IP before launching the production service.
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