Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 304 discussion

A solutions architect is determining the DNS strategy for an existing VPC. The VPC is provisioned to use the 10.24.34.0/24 CIDR block. The VPC also uses Amazon Route 53 Resolver for DNS. New requirements mandate that DNS queries must use private hosted zones. Additionally instances that have public IP addresses must receive corresponding public hostnames

Which solution will meet these requirements to ensure that the domain names are correctly resolved within the VPC?

  • A. Create a private hosted zone. Activate the enableDnsSupport attribute and the enableDnsHostnames attribute for the VPC. Update the VPC DHCP options set to include domain-name-servers=10.24.34.2.
  • B. Create a private hosted zone Associate the private hosted zone with the VPC. Activate the enableDnsSupport attribute and the enableDnsHostnames attribute for the VPC. Create a new VPC DHCP options set, and configure domain-name-servers=AmazonProvidedDNS. Associate the new DHCP options set with the VPC.
  • C. Deactivate the enableDnsSupport attribute for the VPActivate the enableDnsHostnames attribute for the VPCreate a new VPC DHCP options set, and configure doman-name-servers=10.24.34.2. Associate the new DHCP options set with the VPC.
  • D. Create a private hosted zone. Associate the private hosted zone with the VPC. Activate the enableDnsSupport attribute for the VPC. Deactivate the enableDnsHostnames attribute for the VPC. Update the VPC DHCP options set to include domain-name-servers=AmazonProvidedDNS.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
s61
Highly Voted 1 year ago
Selected Answer: B
Both settings need to be enabled to allow assigning of public DNS names and use of Amazon DNS, see https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html#AmazonDNS
upvoted 5 times
...
JMAN1
Highly Voted 10 months, 2 weeks ago
Selected Answer: B
A is wrong because the question says it use AWS DNS rather than 10.24.34.2 custom DNS server. C is wrong because same reason with A. D is wrong because we need to actvate DnsSupport and DnsHostnames. Please correct me if I am wrong.
upvoted 5 times
...
AzureDP900
Most Recent 1 week ago
Option B is correct To meet the requirements, you need to: Use private hosted zones for DNS queries. Assign public hostnames to instances with public IP addresses. Creating a private hosted zone (Option B) meets these requirements by providing a private DNS resolution service within the VPC. Associating the private hosted zone with the VPC ensures that DNS queries are resolved using this zone. Activating enableDnsSupport and enableDnsHostnames attributes for the VPC allows instances to use the private hosted zone for DNS lookups and assigns public hostnames to instances with public IP addresses, respectively. Creating a new VPC DHCP options set with domain-name-servers=AmazonProvidedDNS ensures that instances receive the correct DNS server information.
upvoted 1 times
...
career360guru
1 year ago
Selected Answer: B
Enable both the dns options.
upvoted 4 times
...
nublit
1 year ago
Selected Answer: B
B is the best answer
upvoted 2 times
...
bustedd
1 year ago
B enables both settings
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...