exam questions

Exam ANS-C00 All Questions

View all questions & answers for the ANS-C00 exam

Exam ANS-C00 topic 1 question 216 discussion

Exam question from Amazon's ANS-C00
Question #: 216
Topic #: 1
[All ANS-C00 Questions]

What is the DNS server address for a VPC (10.111.0.0/16) with a subnet of 10.111.4.0/24?

  • A. 10.111.0.2
  • B. 10.111.4.2
  • C. 10.111.1.2
  • D. 10.111.4.1
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The DNS server is the base VPC CIDR + 2.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
awspro2021
Highly Voted 3 years, 8 months ago
A. 10.111.0.2
upvoted 8 times
...
kret
Most Recent 2 years, 12 months ago
Selected Answer: A
The Amazon DNS server does not reside within a specific subnet or Availability Zone in a VPC. It's located at the address 169.254.169.253 (and the reserved IP address at the base of the VPC IPv4 network range, plus two) and fd00:ec2::253. For example, the Amazon DNS Server on a 10.0.0.0/16 network is located at 10.0.0.2. For VPCs with multiple IPv4 CIDR blocks, the DNS server IP address is located in the primary CIDR block. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html#AmazonDNS
upvoted 2 times
...
ExtHo
3 years, 4 months ago
Question is badly written actual question is : What is the DNS server address for a VPC (10.111.0.0/16) with a subnet of 10.111.4.0/24? A is correct
upvoted 2 times
...
AzureDP900
3 years, 4 months ago
B is right
upvoted 1 times
...
ChauPhan
3 years, 7 months ago
A. 10.111.0.2
upvoted 4 times
...
Ishu_awsguy
3 years, 8 months ago
The answer is B
upvoted 1 times
...
jpvdham
3 years, 8 months ago
I correct myself, it is Answer A.
upvoted 4 times
zenfox
3 years, 7 months ago
The reason is because the question about VPC DNS and NOT subnet DNS
upvoted 1 times
zenfox
3 years, 7 months ago
Thinking again. You assign a block to VPC. however, if you do subnetting, then each subnet reserved .2 for DNS. The question is one subnet out of CIDR. Therefore, It can't be A
upvoted 1 times
...
...
...
jpvdham
3 years, 8 months ago
Answer B: The first four IP addresses and the last IP address in each subnet CIDR block are not available for you to use, and cannot be assigned to an instance. For example, in a subnet with CIDR block 10.0.0.0/24, the following five IP addresses are reserved: 10.0.0.0: Network address. 10.0.0.1: Reserved by AWS for the VPC router. 10.0.0.2: Reserved by AWS. The IP address of the DNS server is the base of the VPC network range plus two. For VPCs with multiple CIDR blocks, the IP address of the DNS server is located in the primary CIDR. We also reserve the base of each subnet range plus two for all CIDR blocks in the VPC. For more information, see Amazon DNS server. 10.0.0.3: Reserved by AWS for future use. 10.0.0.255: Network broadcast address. We do not support broadcast in a VPC, therefore we reserve this address.
upvoted 3 times
ChauPhan
3 years, 7 months ago
The VPC IP range is 10.111.0.0/16, so the DNS server has to be 10.111.0.2
upvoted 3 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 ...