nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #91

One instance in your VPC is configured to run with a private IP address only. You want to ensure that even if this instance is deleted, its current private IP address will not be automatically…

The correct answer is C. Change the instance's current internal IP address to static. You cannot change the internal IP address of an existing VM. You can do that for an external IP tho! The only way to preserve a VM's existing internal IP is by upgrading it to a static IP! https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address…

Submitted by jakub_pl· Apr 18, 2026Implementing a Google Cloud network

Question

One instance in your VPC is configured to run with a private IP address only. You want to ensure that even if this instance is deleted, its current private IP address will not be automatically assigned to a different instance. In the GCP Console, what should you do?

Options

  • AAssign a public IP address to the instance.
  • BAssign a new reserved internal IP address to the instance.
  • CChange the instance's current internal IP address to static.
  • DAdd custom metadata to the instance with key internal-address and value reserved.

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    78% (25)
  • D
    13% (4)

Explanation

You cannot change the internal IP address of an existing VM. You can do that for an external IP tho! The only way to preserve a VM's existing internal IP is by upgrading it to a static IP! https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address https://cloud.google.com/compute/docs/ip-addresses/reserve-static-external-ip-address

Topics

#Internal IP addresses#Static IP addresses#IP address management#Compute Engine networking

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice