Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a hybrid cloud environment where your startup is migrating applications to GCP, with some resources remaining on-premises, how can you ensure GCP applications don't require configuration changes if the on-premise database's IP address changes?
A
Store the IP of the database as a custom metadata entry inside each instance, and query the metadata server.
B
Write code in applications to query the Compute Engine internal DNS to retrieve the IP of the database.
C
Configure Cloud NAT for all subnets of your VPC, which will be used by VMs for egress traffic.
D
Create a private zone on Cloud DNS. Configure the applications using the DNS name.