Topic 1 Question 162
Your 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?
Configure Cloud NAT for all subnets of your VPC to be used when egressing from the VM instances.
Create a private zone on Cloud DNS, and configure the applications with the DNS name.
Configure the IP of the database as custom metadata for each instance, and query the metadata server.
Query the Compute Engine internal DNS from the applications to retrieve the IP of the database.
ユーザの投票
コメント(17)
B, Forwarding zones Cloud DNS forwarding zones let you configure target name servers for specific private zones. Using a forwarding zone is one way to implement outbound DNS forwarding from your VPC network.
A Cloud DNS forwarding zone is a special type of Cloud DNS private zone. Instead of creating records within the zone, you specify a set of forwarding targets. Each forwarding target is an IP address of a DNS server, located in your VPC network, or in an on-premises network connected to your VPC network by Cloud VPN or Cloud Interconnect.
A does not apply, that is to provide internet access to resources C, does not apply D, I don't get it
so B
👍 29kopper20192021/04/17https://cloud.google.com/dns/docs/best-practices#best_practices_for_dns_forwarding_zones_and_server_policies Cloud DNS offers DNS forwarding zones and DNS server policies to allow lookups of DNS names between your on-premises and Google Cloud environment. You have multiple options for configuring DNS forwarding. The following section lists best practices for hybrid DNS setup. These best practices are illustrated in the Reference architectures for hybrid DNS. So I think B is correct
👍 8pondai2021/03/25Options A, B, C do not make sense to me, I think there is a typo in option D: D: Query the [Compute Engine] internal DNS from the applications to retrieve the IP of the database.
D: Query the ON-PREMISE internal DNS from the applications to retrieve the IP of the database.
👍 3AkshayKalbhor2021/06/28
シャッフルモード