
Ultimate access to all questions.
Your company operates under a hybrid cloud strategy, deploying some applications on Google Cloud while maintaining a connection to an on-premises network using a Virtual Private Network (VPN) tunnel. In this setup, multiple applications hosted in your Google Cloud Virtual Private Cloud (VPC) need to communicate with a database server located on-premises. You aim to avoid modifying the IP configuration across all your applications whenever there is a change in the database server's IP address. What approach should you take to address this requirement?
A
Configure Cloud NAT for all subnets of your VPC to be used when egressing from the VM instances.
B
Create a private zone on Cloud DNS, and configure the applications with the DNS name.
C
Configure the IP of the database as custom metadata for each instance, and query the metadata server.
D
Query the Compute Engine internal DNS from the applications to retrieve the IP of the database.