An investigator needs to join Application Load Balancer access logs with CloudTrail logs already stored in Amazon S3. Which approach supports SQL correlation without loading the logs into a separate search cluster?
Show the answer
Correct answerB. Define tables for both log formats and query them with Amazon Athena.
AWhy not this: Archiving logs in separate log groups does not perform the requested SQL correlation of existing S3 data.
BWhy this is right: Athena can query and join S3 datasets using tables that describe their respective log formats.
CWhy not this: Detective is not a general-purpose SQL engine for joining these raw S3 log datasets.
DWhy not this: Security Hub CSPM aggregates findings rather than executing SQL joins over raw S3 access and activity logs.
Amazon Athena can query S3 log data through table definitions and join the resulting records with SQL. Amazon Detective supports investigations using its supported data sources, but it is not a general SQL query engine for arbitrary S3 log files.