Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
To ensure service discovery within your VPC by associating each Compute Engine instance with an internal DNS record in a custom zone, adhering to Google's recommended practices, what is the best approach?
A
Deploy a BIND DNS server within the VPC, establish a Cloud DNS forwarding zone to direct DNS queries to BIND, and register each instance's record in the BIND DNS server.
B
Establish a new VPC, restrict all external access via a firewall rule, and configure two Cloud DNS zones—one in the new VPC and another in the primary VPC that forwards requests to the first. Register each instance's record in the initial zone.
C
Configure your Compute Engine instances with custom hostnames.
D
Set up a Cloud DNS zone, designate its visibility as private, link it to your VPC, and register each instance's record within this zone.