Google Cloud Professional Cloud Network Engineer — Question 231

You are configuring the final elements of a migration effort where resources have been moved from on-premises to Google Cloud. While reviewing the deployed architecture, you noticed that DNS resolution is failing when queries are being sent to the on-premises environment. You login to a Compute Engine instance, try to resolve an on-premises hostname, and the query fails. DNS queries are not arriving at the on-premises DNS server. You need to use managed services to reconfigure Cloud DNS to resolve the DNS error. What should you do?

Answer options

Correct answer: C

Explanation

Option C is the correct answer because it ensures that Compute Engine instances use the correct DNS resolver and properly forwards DNS queries to the on-premises DNS server, facilitating the resolution of on-premises hostnames. Option A incorrectly suggests configuring the OS to send queries directly, which may not leverage Cloud DNS capabilities. Option B focuses on network connectivity but fails to address DNS configuration specifically. Option D checks for routing but does not ensure that DNS queries are correctly forwarded to the on-premises server.