Hard1 markMultiple Choice
GCP ACE · Question 40 · Domain 4.5: Managing networking resources
You need to assign a permanent, public IP address to a Compute Engine instance running a legacy application. The IP address must not change even if the instance is stopped and started.
Which TWO steps are required to accomplish this? (Select TWO)
You need to assign a permanent, public IP address to a Compute Engine instance running a legacy application. The IP address must not change even if the instance is stopped and started.
Which TWO steps are required to accomplish this? (Select TWO)
Answer options:
A.
Reserve a static external IP address in the same region as the instance.
B.
Reserve a static internal IP address.
C.
Edit the instance's network interface and assign the reserved static external IP.
D.
Configure Cloud NAT to map the instance to the public IP.
E.
Assign the 'Compute Network Admin' role to the VM's service account.
How to approach this question
Identify the process for assigning static public IPs to VMs.
Full Answer
By default, VMs get ephemeral external IPs that change if the VM is stopped. To get a permanent IP, you must first reserve a Static External IP address in the specific region. Then, you edit the VM's network interface configuration to use that specific reserved IP instead of an ephemeral one.
Common mistakes
Confusing internal vs external IPs, or thinking Cloud NAT provides dedicated ingress IPs.
Practice the full GCP Associate Cloud Engineer Practice Exam 4
50 questions · hints · full answers · grading
More questions from this exam
Q01You have recently joined a new team and need to set up a new Google Cloud project for a developme...EasyQ02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...Medium
Expert