AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 147

A company hosts a web application that runs on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The company uses an Amazon CloudFront distribution with the ALB as an origin.

The application recently experienced an attack. In response, the company associated an AWS WAF web ACL with the CloudFront distribution. The company needs to use Amazon Athena to analyze application attacks that AWS WAF detects.

Which solution will meet this requirement?

Answer options

Correct answer: C

Explanation

The correct answer, C, is appropriate because AWS WAF can send its logs directly to a Kinesis Data Firehose, which can then deliver the logs to an S3 bucket for analysis with Amazon Athena. Options A and D do not specifically capture WAF logs, while option B pertains to CloudTrail logs, which are not relevant to WAF attack analysis.