Question 162 of 284
Single answerYour company has embraced a hybrid cloud strategy where some of the applications are deployed on Google Cloud. A Virtual Private Network (VPN) tunnel connects your Virtual Private Cloud (VPC) in Google Cloud with your company's on-premises network. Multiple applications in Google Cloud need to connect to an on-premises database server, and you want to avoid having to change the IP configuration in all of your applications when the IP of the database changes.
What should you do?
AConfigure Cloud NAT for all subnets of your VPC to be used when egressing from the VM instances.
✓BCreate a private zone on Cloud DNS, and configure the applications with the DNS name.
CConfigure the IP of the database as custom metadata for each instance, and query the metadata server.
DQuery the Compute Engine internal DNS from the applications to retrieve the IP of the database.
✓
Correct Answer: B
Create a private zone on Cloud DNS, and configure the applications with the DNS name.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.