AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 134
A company uses Amazon Route 53 to host a public hosted zone for example.com. A network engineer recently reduced the TTL on several records to 60 seconds. The network engineer wants to assess whether the change has increased the number of queries to Route 53 beyond the expected levels that the company identified before the change. The network engineer must obtain the number of queries that have been made to the example.com public hosted zone.
Which solution will provide this information?
Answer options
- A. Create a new trail in AWS CloudTrail to include Route 53 data events. Send logs to Amazon CloudWatch Logs. Set up a CloudWatch metric filter to count the number of queries and create graphs.
- B. Use Amazon CloudWatch to access the AWS/Route 53 namespace and to check the DNSQueries metric for the public hosted zone.
- C. Use Amazon CloudWatch to access the AWS/Route 53 Resolver namespace and to check the InboundQueryVolume metric for a specific endpoint.
- D. Configure logging to Amazon CloudWatch for the public hosted zone. Set up a CloudWatch metric filter to count the number of queries and create graphs.
Correct answer: B
Explanation
The correct answer is B because the DNSQueries metric in the AWS/Route 53 namespace directly provides the number of DNS queries made to the public hosted zone. Option A is incorrect as it focuses on CloudTrail, which is not intended for DNS queries. Option C is wrong since it pertains to Route 53 Resolver metrics, not the hosted zone. Option D, while somewhat related, does not specifically utilize the DNSQueries metric which is essential for this assessment.