HA VPN and Cloud Router (default). On‑prem DNS at 192.168.20.88 behind a firewall. Compute Engine at 10.204.0.0/24 must resolve corp.altostrat.com while still resolving Google hostnames; follow Google best practices. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a private forwarding zone in Cloud DNS for corp.altostrat.com that forwards to 192.168.20.88. Configure your on‑prem firewall to accept traffic from 35.199.192.0/19. Set a custom route advertisement on the Cloud Router for 35.199.192.0/19..
Why this is the answer
The correct option uses a private forwarding zone in Cloud DNS to direct queries for corp.altostrat.com to the on-premises DNS server. This allows Compute Engine instances to resolve both internal and Google hostnames without modifying /etc/resolv.conf. The on-premises firewall must accept traffic from 35.199.192.0/19, which is the IP range used by Cloud DNS for forwarding. A custom route advertisement for 35.199.192.0/19 on the Cloud Router ensures the on-premises network knows how to route replies back to Cloud DNS. The first incorrect option incorrectly specifies the source IP range for the firewall and custom route advertisement as 10.204.0.0/24, which is the Compute Engine subnet, not the Cloud DNS forwarder. The third incorrect option suggests modifying /etc/resolv.conf, which is not a Google best practice as it can break resolution of Google-managed hostnames. The fourth incorrect option incorrectly describes the Cloud DNS configuration, mixing concepts of private zones and DNS policies in a way that doesn't achieve the desired forwarding.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed