CLOUD-NETWORK practice question 8 of 30

You are designing a hybrid cloud environment for your organization. Your Google Cloud environment is interconnected with your on-premises network…

Full set: 233 questions
You are designing a hybrid cloud environment for your organization. Your Google Cloud environment is interconnected with your on-premises network using Cloud HA VPN and Cloud Router. The Cloud Router is configured with the default settings. Your on-premises DNS server is located at 192.168.20.88 and is protected by a firewall, and your Compute Engine resources are located at 10.204.0.0/24. Your Compute Engine resources need to resolve on-premises private hostnames using the domain corp.altostrat.com while still resolving Google Cloud hostnames. You want to follow Google-recommended practices. What should you do?
Answer options
A: Create a private forwarding zone in Cloud DNS for ‘corp.altostrat.com’ called corp-altostrat-com that points to 192.168.20.88. Configure your on-premises firewall to accept traffic from 10.204.0.0/24. Set a custom route advertisement on the Cloud Router for 10.204.0.0/24
B: Create a private forwarding zone in Cloud DNS for ‘corp.altostrat.com’ called corp-altostrat-com that points to 192.168 20.88. Configure your on-premises 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. Correct answer
C: Create a private forwarding zone in Cloud DNS for ‘corp .altostrat.com’ called corp-altostrat-com that points to 192.168.20.88. Configure your on-premises firewall to accept traffic from 10.204.0.0/24. Modify the /etc/resolv conf file on your Compute Engine instances to point to 192.168.20 88
D: Create a private zone in Cloud DNS for ‘corp altostrat.com’ called corp-altostrat-com. Configure DNS Server Policies and create a policy with Alternate DNS servers to 192.168.20.88. Configure your on-premises 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.
Correct Answer:
B. Create a private forwarding zone in Cloud DNS for ‘corp.altostrat.com’ called corp-altostrat-com that points to 192.168 20.88. Configure your on-premises 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.
Explanation

To resolve on-premises hostnames, a Cloud DNS outbound forwarding zone should be created for corp.altostrat.com that points to the on-premises DNS server (192.168.20.88). When a VM queries Cloud DNS, Cloud DNS forwards the request from a special source IP range, 35.199.192.0/19. The on-premises firewall must be configured to allow inbound DNS traffic (UDP/TCP 53) from this specific range. For the on-premises DNS server to send a reply back, the on-premises network must have a route to 35.199.192.0/19. This is achieved by creating a custom route advertisement for 35.199.192.0/19 on the Cloud Router.

Why Incorrect

A: The on-premises firewall rule is incorrect. It must allow traffic from the Cloud DNS forwarding range (35.199.192.0/19), not the VM's subnet range. C: Modifying /etc/resolv.conf on each VM is not a scalable or recommended practice and bypasses the manageable Cloud DNS infrastructure. D: A private zone is used for hosting DNS records within Google Cloud, not for forwarding requests to an on-premises server. A forwarding zone is the correct type.

References

1. Google Cloud Documentation, "Using Cloud DNS forwarding zones". It states, "Create a forwarding zone to send requests for a specific zone to a set of DNS servers that you designate."

2. Google Cloud Documentation, "Cloud DNS forwarding targets and routing methods", Section: "Forwarding to on-premises networks". It specifies, "Cloud DNS sends packets from the 35.199.192.0/19 IP address range... you must create a custom route advertisement for 35.199.192.0/19 on the BGP session."

3. Google Cloud Documentation, "Configuring firewall rules for DNS forwarding". This page details the requirement to create on-premises firewall rules to allow traffic from 35.199.192.0/19.

Scroll to Top