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

A company hosts an application on Amazon EC2 instances behind an Application Load Balancer (ALB). The company recently experienced a network security breach. A network engineer must collect and analyze logs that include the client IP address, target IP address, target port, and user agent of each user that accesses the application.
What is the MOST operationally efficient solution that meets these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D, as it allows for efficient log analysis directly from Amazon S3 using Amazon Athena, which is serverless and requires no infrastructure management. Option A involves manual steps that are less efficient, option B relies on Kinesis Data Streams and Kinesis Data Analytics, which adds complexity, and option C introduces even more components with OpenSearch, making it less operationally efficient.