exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 58 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 58
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company has deployed a custom DNS server in AWS. The Security Engineer wants to ensure that Amazon EC2 instances cannot use the Amazon-provided
DNS.
How can the Security Engineer block access to the Amazon-provided DNS in the VPC?

  • A. Deny access to the Amazon DNS IP within all security groups.
  • B. Add a rule to all network access control lists that deny access to the Amazon DNS IP.
  • C. Add a route to all route tables that black holes traffic to the Amazon DNS IP.
  • D. Disable DNS resolution within the VPC configuration.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
rootkim
Highly Voted 3 years, 6 months ago
D is the correct answer. Additionally, a custom DNS server must be specified through the dhcp option-set. A incorrect answer. Security groups cannot specify deny rules B incorrect answer. If VPC DNSSupport is enabled, the Amazon-provided DNS IP is configured in that subnet. Communication is not out of the subnet and cannot be rejected by NACL. C incorrect answer. Routing and traffic blocking have nothing to do with it.
upvoted 20 times
...
sanjaym
Highly Voted 3 years, 6 months ago
Ans: D 100%
upvoted 5 times
...
Sickcnt
Most Recent 1 year, 10 months ago
Selected Answer: D
Cloud Network Engineer here working with AWS DNS daily: If you disable "enableDnsSupport" for VPC DNS That means EC2 instances won't resolve their DNS with Amazon provided Internal DNS servers But you can go into the EC2 and for eg. on Linux you can customly edit /etc/resolv.conf And put your own specificly created DNS servers
upvoted 2 times
...
dcyberguy
1 year, 10 months ago
Selected Answer: D
Set the "enableDnsHostnames" and "enableDnsSupport" attributes in the VPC to false.
upvoted 1 times
...
KarthikeyanTK
1 year, 10 months ago
Selected Answer: B
Disabling DNS resolution would also block access to the Amazon-provided DNS server. However, it would also block access to all other resources in the VPC, including the custom DNS server. This would be a very disruptive measure, and it would not be specific to blocking access to the Amazon-provided DNS server.
upvoted 1 times
Sickcnt
1 year, 10 months ago
Cloud Network Engineer here working with AWS DNS daily: If you disable "enableDnsSupport" for VPC DNS That means EC2 instances won't resolve their DNS with Amazon provided Internal DNS servers But you can go into the EC2 and for eg. on Linux you can customly edit /etc/resolv.conf And put your own specificly created DNS servers
upvoted 2 times
...
...
OCHT
1 year, 11 months ago
Selected Answer: C
Option C is correct because it effectively prevents any instance in the VPC from using the Amazon-provided DNS by routing all traffic destined for the Amazon DNS IP to a "blackhole." This ensures that EC2 instances can only use the custom DNS server as specified.
upvoted 2 times
...
boooliyooo
2 years, 5 months ago
Selected Answer: D
I just think of having to blacklist the whole dynamic IP range makes me sick. So D.
upvoted 1 times
...
janvandermerwer
2 years, 5 months ago
Selected Answer: D
D is the most correct answer. Other options won't really do the job.
upvoted 1 times
...
sapien45
2 years, 9 months ago
Selected Answer: D
Keep this option disabled if you're using a custom DNS server in the DHCP Options set, and you're not using a private hosted zone. https://aws.amazon.com/premiumsupport/knowledge-center/vpc-enable-private-hosted-zone/
upvoted 4 times
...
ankitja999
2 years, 11 months ago
Selected Answer: D
D is correct
upvoted 2 times
...
teo2157
3 years ago
Selected Answer: D
D is right based in the explanations provided here
upvoted 2 times
...
TigerInTheCloud
3 years ago
Selected Answer: C
A, SG does not deny B, NACL cannot block traffic within the subnet C. The right answer D. EC2 still can send DNS query to +2 IP to get DNS service
upvoted 1 times
...
Radhaghosh
3 years, 3 months ago
D. Disable DNS resolution within the VPC configuration.
upvoted 1 times
...
NANDY666
3 years, 6 months ago
D is Correct
upvoted 4 times
...
Stpn2me
3 years, 6 months ago
Yes, D is correct. Why cant I get a question this easy on the exam?
upvoted 4 times
...
devjava
3 years, 6 months ago
Ans > D
upvoted 2 times
...
AfricanCloudGuru
3 years, 6 months ago
Ans (D) https://aws.amazon.com/premiumsupport/knowledge-center/vpc-enable-private-hosted-zone/ https://docs.aws.amazon.com/vpc/latest/userguide/vpc-dns.html#vpc-dns-support
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago