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

A company hosts an application on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are part of an Amazon EC2 Auto Scaling group.

To comply with new security standards, the company must capture all application access data, including server response codes, request paths, latency, and client IP addresses. The company also needs to query the captured data for performance analysis.

Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Enabling access logs on the ALB captures all necessary application access data, including server response codes, request paths, latency, and client IPs, and storing them in an S3 bucket allows for querying with Amazon Athena. The other options either do not capture all required data or involve unnecessary complexity, such as third-party tools or traffic mirroring that do not specifically address the logging of access data from the ALB.