AWS Certified Security – Specialty — Question 400

A company hosts business-critical applications on Amazon EC2 instances in a VPC. The VPC uses default DHCP options sets. A security engineer needs to log all DNS queries that internal resources make in the VPC. The security engineer also must create a list of the most common DNS queries over time.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Amazon Route 53 Resolver query logging is the native AWS service designed to capture DNS queries originating from resources within a VPC. By streaming these logs to Amazon CloudWatch Logs, you can use Amazon CloudWatch Contributor Insights to analyze the log data and easily identify the most common DNS queries over time. Other solutions either introduce unnecessary operational overhead, like installing agents or BIND servers, or cannot capture the actual DNS query domain names, as is the case with VPC flow logs.