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…
Question
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)- A3% (1)
- B6% (2)
- C78% (25)
- D13% (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
Community Discussion
No community discussion yet for this question.