AWS Certified Advanced Networking - Specialty Exam: Answer to DNS Hostname and DNS Resolution Question

DNS Hostname and DNS Resolution in Amazon VPC

Prev Question Next Question

Question

Which of the following attributes allow for instances launched in a VPC via the console to receive a DNS hostname and ensure that DNS resolution is possible via Amazon DNS.

Choose 2 answers from the options given below.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - A and C.

Your VPC has attributes that determine whether your instance receives public DNS hostnames, and whether DNS resolution through the Amazon DNS server is supported.

1

enable DNS hostnames - Indicates whether the instances launched in the VPC get public DNS hostnames.

2

enable DNS resolution - Indicates whether the DNS resolution is supported for the VPC.For more information on VPC DNS, one can visit the below URL:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html

The correct answers are A. enable DNS resolution and C. enable DNS hostnames.

When launching an instance in a VPC via the console, there are two attributes that need to be configured to ensure that the instance can receive a DNS hostname and that DNS resolution is possible via Amazon DNS.

A. Enable DNS resolution: This option allows Amazon-provided DNS server to resolve public DNS hostnames to IP addresses for your VPC. You can enable this option by navigating to the VPC Dashboard, selecting the VPC, and then choosing the "Actions" button and selecting "Edit DNS Resolution". Then, choose the option "Yes" and save the changes.

C. Enable DNS hostnames: This option allows instances launched in your VPC to receive a DNS hostname. You can enable this option by navigating to the VPC Dashboard, selecting the VPC, and then choosing the "Actions" button and selecting "Edit DNS Hostnames". Then, choose the option "Yes" and save the changes.

B. Set DNS hostnames to true and D. Set DNS resolution to true are not valid options. The correct attribute names are "enable DNS resolution" and "enable DNS hostnames" and the values should be set to "Yes" to enable them.