Hard1 markMultiple Choice
Subtask 2.1: Network topologiesNetworkingCloud DNSHybrid Cloud

GCP PCA · Question 24 · Network topologies

You are designing a hybrid DNS architecture. On-premises servers need to resolve internal GCP hostnames (e.g., my-db.us-central1.c.my-project.internal), and GCP VMs need to resolve on-premises hostnames (e.g., app.corp.local). How should you configure Cloud DNS?

Answer options:

A.

Create an inbound server policy in Cloud DNS, and create a private forwarding zone pointing to the on-premises DNS servers.

B.

Create a public DNS zone for both environments and use internet routing.

C.

Configure the GCP VMs to use the on-premises DNS servers directly via DHCP.

D.

Create an outbound server policy in Cloud DNS and configure VPC Peering.

How to approach this question

Understand the two-way nature of hybrid DNS: inbound policies for on-prem->GCP, and forwarding zones for GCP->on-prem.

Full Answer

A.Create an inbound server policy in Cloud DNS, and create a private forwarding zone pointing to the on-premises DNS servers.✓ Correct
Create an inbound server policy in Cloud DNS, and create a private forwarding zone pointing to the on-premises DNS servers.
Hybrid DNS requires two components. 1) Inbound server policy: Creates an IP in your VPC that on-prem DNS servers can query to resolve GCP names. 2) Forwarding zone: Tells Cloud DNS that any query for `corp.local` from a GCP VM should be forwarded over the Interconnect/VPN to the on-prem DNS servers.

Common mistakes

Only configuring one side of the connection, or trying to override the default GCP metadata DNS server on the VMs.

Practice the full GCP Professional Cloud Architect Practice Exam 6

50 questions · hints · full answers · grading

More questions from this exam