Detection

A security team suspects EC2 instances are resolving command-and-control domains through the Amazon-provided VPC DNS resolver. Which log source records the queried domain names and originating instance context?

Show the answer

Correct answerA. Amazon Route 53 Resolver query logs

AWhy this is right: Resolver query logs capture queried names and source information for VPC resolver queries.

BWhy not this: Flow logs do not record DNS query names and exclude traffic to the Amazon-provided DNS server.

CWhy not this: CloudTrail management events record API operations rather than instance DNS queries.

DWhy not this: Public hosted zone logs cover authoritative queries for those zones rather than VPC resolver activity.

Route 53 Resolver query logs capture queries handled by the VPC resolver, including queried names and source context. Public hosted zone query logs cover queries to public authoritative zones, not general DNS resolution from VPC instances.