How Do You Resolve an On-Premises SQL Server Name from a VPC?
Short answer
C Create a Route 53 Resolver outbound endpoint and associate a forwarding rule for example.com with the VPC so EC2 queries reach the on-premises DNS server.
Question
Which solution will fix this problem?
Key Takeaways
The exam tests whether you know that VPC-initiated queries to on-premises DNS go through an outbound Resolver endpoint with a forwarding rule, while the common trap is confusing inbound endpoints or system rules with conditional forwarding.
Hybrid DNS resolution from a VPC to an on-premises Microsoft SQL Server requires a Route 53 Resolver outbound endpoint and a forwarding rule for example.com. This page explains why the outbound endpoint, not an inbound endpoint or system rule, is the correct fix and how the rule must be associated.
Common mistake: Many candidates choose an inbound endpoint because it sounds like the VPC needs to receive DNS, but inbound endpoints serve on-premises clients querying VPC names; the VPC's own query to mssql.example.com must leave through an outbound endpoint.
Expert Analysis
Why the Answer Is Correct
The EC2 instance uses the default DHCP option set, so its DNS queries go to the Amazon Route 53 Resolver in the VPC. Because mssql.example.com is hosted on-premises, Resolver has no authoritative record for it and must conditionally forward the example.com namespace to the on-premises DNS server. An outbound Resolver endpoint provides the ENIs in the VPC subnets that send those queries out, and the forwarding rule supplies the target IP addresses and is associated with the VPC so it applies to this instance. Option C combines exactly those two required elements.
Why the Other Options Are Wrong
Options A and B use an inbound Resolver endpoint, which is designed for the reverse direction: on-premises clients querying names hosted in the VPC or private hosted zones. Options B and D rely on a system rule, but system rules are created and managed by AWS for private hosted zones and cannot be repurposed to forward example.com to an on-premises Microsoft SQL Server. Option D has the correct outbound endpoint but pairs it with the wrong rule type, so the conditional forwarding for example.com still would not be configured.
Community Comment Notes
The single learner comment, posted by Bad_Mat, identifies C as the correct answer and describes creating an outbound Resolver endpoint plus a forwarding rule for example.com associated with the VPC. That matches the AWS hybrid-DNS design: outbound endpoint for VPC-originated queries, forwarding rule for the on-premises domain. No comment argues for an inbound endpoint or system rule, so the community record does not create a competing rationale.
Official Reference
- https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-forwarding-outbound-queries.html
- https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html
These links open the official vendor documentation in a new tab.
Exam Strategy
Map the direction of the DNS query first: VPC to on-premises is outbound; on-premises to VPC is inbound. Then match the rule type—forwarding rules are for conditional forwarding of a domain such as example.com, while system rules are managed by AWS for private hosted zones.
Frequently Asked Questions
Why is an inbound Resolver endpoint wrong for mssql.example.com?
Can a system rule forward example.com to on-premises DNS?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
Bad_Mat 👍 1 Answered CThe correct answer is C. Create an Amazon Route 53 Resolver outbound endpoint. Add a forwarding rule for the domain example.com. Associate the forwarding rule with the VPC.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SOA-C03 Questions
Access 100 questions with complete answers and detailed explanations.
View Full SOA-C03 Practice Test →