Skip to main content

Associate Cloud Engineer practice question · Planning and implementing a cloud solution

A company's on-premises DNS servers are authoritative for several internal domains.

A company's on-premises DNS servers are authoritative for several internal domains. VMs in a Google Cloud VPC network must resolve names in those domains, and Cloud DNS should send those queries to the on-premises servers instead of answering them itself. What should the company configure in Cloud DNS?

  • AA forwarding zone for those domains whose targets are the on-premises name servers
  • BA peering zone for those domains that points at the VPC network used by the on-premises servers
  • CA private zone for those domains, authorized for the VPC network, with copies of the on-premises records
  • DA DNS server policy with inbound forwarding enabled on the VPC network
Show the answer and explanation

Correct answer: A) A forwarding zone for those domains whose targets are the on-premises name servers

Use a Cloud DNS forwarding zone, with the on-premises name servers as targets, to send queries for specific domains from a VPC network to those servers. Inbound server policies handle the opposite direction, and peering zones point to other VPC networks.

Why each option is right or wrong

  • A) Correct. A forwarding zone is a special type of private zone. It holds no records. Instead, it lists forwarding targets, and queries for its namespace go to those name servers. This is the standard way to set up outbound forwarding to on-premises DNS.
  • B) Incorrect. A peering zone sends lookups to another VPC network (the producer network) and resolves them with that network's name resolution order. It doesn't send queries directly to on-premises name server IP addresses.
  • C) Incorrect. In a private zone, Cloud DNS answers queries itself from records stored in the zone. That is exactly what the company wants to avoid, and the copied records would need to be kept in sync by hand.
  • D) Incorrect. Inbound forwarding lets on-premises systems send queries to Cloud DNS. That is the opposite direction from what's needed here.
Exam domain
Planning and implementing a cloud solution · ~30% of Associate Cloud Engineer
Question type
Multiple choice (one answer)

Practise the full Associate Cloud Engineer exam

This question is one of a small free sample from the CertRidge Associate Cloud Engineer bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Google Cloud; never copied from the real exam.